/linux-6.1.9/net/netfilter/ |
D | nf_conntrack_helper.c | 45 return (((tuple->src.l3num << 8) | tuple->dst.protonum) ^ in helper_hash() 50 __nf_conntrack_helper_find(const char *name, u16 l3num, u8 protonum) in __nf_conntrack_helper_find() argument 64 if (h->tuple.dst.protonum == protonum) in __nf_conntrack_helper_find() 73 nf_conntrack_helper_try_module_get(const char *name, u16 l3num, u8 protonum) in nf_conntrack_helper_try_module_get() argument 79 h = __nf_conntrack_helper_find(name, l3num, protonum); in nf_conntrack_helper_try_module_get() 85 h = __nf_conntrack_helper_find(name, l3num, protonum); in nf_conntrack_helper_try_module_get() 127 nf_nat_helper_try_module_get(const char *name, u16 l3num, u8 protonum) in nf_nat_helper_try_module_get() argument 135 h = __nf_conntrack_helper_find(name, l3num, protonum); in nf_nat_helper_try_module_get() 370 cur->tuple.dst.protonum == me->tuple.dst.protonum) { in nf_conntrack_helper_register() 428 u16 l3num, u16 protonum, const char *name, in nf_ct_helper_init() argument [all …]
|
D | nf_nat_core.c | 66 if (t->dst.protonum == IPPROTO_TCP || in nf_nat_ipv4_decode_session() 67 t->dst.protonum == IPPROTO_UDP || in nf_nat_ipv4_decode_session() 68 t->dst.protonum == IPPROTO_UDPLITE || in nf_nat_ipv4_decode_session() 69 t->dst.protonum == IPPROTO_DCCP || in nf_nat_ipv4_decode_session() 70 t->dst.protonum == IPPROTO_SCTP) in nf_nat_ipv4_decode_session() 78 if (t->dst.protonum == IPPROTO_TCP || in nf_nat_ipv4_decode_session() 79 t->dst.protonum == IPPROTO_UDP || in nf_nat_ipv4_decode_session() 80 t->dst.protonum == IPPROTO_UDPLITE || in nf_nat_ipv4_decode_session() 81 t->dst.protonum == IPPROTO_DCCP || in nf_nat_ipv4_decode_session() 82 t->dst.protonum == IPPROTO_SCTP) in nf_nat_ipv4_decode_session() [all …]
|
D | nf_conntrack_proto.c | 51 u8 protonum, in nf_l4proto_log_invalid() argument 58 if (net->ct.sysctl_log_invalid != protonum && in nf_l4proto_log_invalid() 67 NULL, "nf_ct_proto_%d: %pV ", protonum, &vaf); in nf_l4proto_log_invalid() 266 tuple.dst.protonum = sk->sk_protocol; in getorigdst() 270 if (tuple.dst.protonum != IPPROTO_TCP && in getorigdst() 271 tuple.dst.protonum != IPPROTO_SCTP) { in getorigdst() 334 tuple.dst.protonum = sk->sk_protocol; in ipv6_getorigdst() 339 if (tuple.dst.protonum != IPPROTO_TCP && in ipv6_getorigdst() 340 tuple.dst.protonum != IPPROTO_SCTP) in ipv6_getorigdst()
|
D | nf_conntrack_core.c | 233 combined.proto = tuple->dst.protonum; in hash_conntrack_raw() 281 u_int8_t protonum, in nf_ct_get_tuple() argument 320 tuple->dst.protonum = protonum; in nf_ct_get_tuple() 323 switch (protonum) { in nf_ct_get_tuple() 355 u_int8_t *protonum) in ipv4_get_l4proto() argument 372 *protonum = iph->protocol; in ipv4_get_l4proto() 385 u8 *protonum) in ipv6_get_l4proto() argument 407 *protonum = nexthdr; in ipv6_get_l4proto() 433 u8 protonum; in nf_ct_get_tuplepr() local 436 protoff = get_l4proto(skb, nhoff, l3num, &protonum); in nf_ct_get_tuplepr() [all …]
|
D | nfnetlink_cthelper.c | 90 tuple->dst.protonum = nla_get_u8(tb[NFCTH_TUPLE_L4PROTONUM]); in nfnl_cthelper_parse_tuple() 447 tuple.dst.protonum != cur->tuple.dst.protonum)) in nfnl_cthelper_new() 479 if (nla_put_u8(skb, NFCTH_TUPLE_L4PROTONUM, helper->tuple.dst.protonum)) in nfnl_cthelper_dump_tuple() 656 tuple.dst.protonum != cur->tuple.dst.protonum)) in nfnl_cthelper_get() 716 tuple.dst.protonum != cur->tuple.dst.protonum)) in nfnl_cthelper_del()
|
D | nf_conntrack_bpf.c | 61 u32 tuple_len, u8 protonum, u8 dir, in bpf_nf_ct_tuple_parse() argument 71 if (unlikely(protonum != IPPROTO_TCP && protonum != IPPROTO_UDP)) in bpf_nf_ct_tuple_parse() 94 tuple->dst.protonum = protonum; in bpf_nf_ct_tuple_parse()
|
D | nf_conntrack_expect.c | 89 u8 protonum; in nf_ct_expect_dst_hash() member 101 combined.protonum = tuple->dst.protonum; in nf_ct_expect_dst_hash() 330 exp->tuple.dst.protonum = proto; in nf_ct_expect_init() 642 expect->tuple.dst.protonum); in exp_seq_show() 644 nf_ct_l4proto_find(expect->tuple.dst.protonum)); in exp_seq_show()
|
D | nf_conntrack_amanda.c | 185 .tuple.dst.protonum = IPPROTO_UDP, 195 .tuple.dst.protonum = IPPROTO_UDP,
|
D | nf_conntrack_netbios_ns.c | 51 .tuple.dst.protonum = IPPROTO_UDP,
|
D | nf_nat_proto.c | 322 switch (tuple->dst.protonum) { in l4proto_manip_pkt() 616 target.dst.protonum = IPPROTO_ICMP; in nf_nat_icmp_reply_translation() 742 (ct->tuplehash[dir].tuple.dst.protonum != IPPROTO_ICMP && in nf_nat_ipv4_out() 779 ct->tuplehash[dir].tuple.dst.protonum != IPPROTO_ICMP && in nf_nat_ipv4_local_fn() 895 target.dst.protonum = IPPROTO_ICMPV6; in nf_nat_icmpv6_reply_translation() 979 (ct->tuplehash[dir].tuple.dst.protonum != IPPROTO_ICMPV6 && in nf_nat_ipv6_out() 1017 ct->tuplehash[dir].tuple.dst.protonum != IPPROTO_ICMPV6 && in nf_nat_ipv6_local_fn()
|
D | nf_conntrack_snmp.c | 57 .tuple.dst.protonum = IPPROTO_UDP,
|
D | nf_conntrack_proto_gre.c | 64 km->tuple.dst.protonum == t->dst.protonum && in gre_key_cmpfn()
|
D | nf_conntrack_pptp.c | 171 t.dst.protonum = IPPROTO_GRE; in pptp_destroy_siblings() 179 t.dst.protonum = IPPROTO_GRE; in pptp_destroy_siblings() 594 .tuple.dst.protonum = IPPROTO_TCP,
|
D | nf_conntrack_netlink.c | 77 if (nla_put_u8(skb, CTA_PROTO_NUM, tuple->dst.protonum)) in ctnetlink_dump_tuples_proto() 146 l4proto = nf_ct_l4proto_find(tuple->dst.protonum); in ctnetlink_dump_tuples() 1088 filter_tuple->dst.protonum != ct_tuple->dst.protonum) in ctnetlink_filter_match_tuple() 1091 switch (ct_tuple->dst.protonum) { in ctnetlink_filter_match_tuple() 1363 tuple->dst.protonum = nla_get_u8(tb[CTA_PROTO_NUM]); in ctnetlink_parse_tuple_proto() 1366 l4proto = nf_ct_l4proto_find(tuple->dst.protonum); in ctnetlink_parse_tuple_proto() 2432 if (otuple.dst.protonum != rtuple.dst.protonum) in ctnetlink_new_conntrack() 2954 m.dst.protonum = tuple->dst.protonum; in ctnetlink_exp_dump_mask() 2963 l4proto = nf_ct_l4proto_find(tuple->dst.protonum); in ctnetlink_exp_dump_mask() 3037 nat_tuple.dst.protonum = nf_ct_protonum(master); in ctnetlink_exp_dump_expect()
|
D | nf_conntrack_h323_main.c | 583 .tuple.dst.protonum = IPPROTO_UDP, 1148 .tuple.dst.protonum = IPPROTO_TCP, 1157 .tuple.dst.protonum = IPPROTO_TCP, 1195 tuple.dst.protonum = IPPROTO_TCP; in find_expect() 1719 .tuple.dst.protonum = IPPROTO_UDP, 1728 .tuple.dst.protonum = IPPROTO_UDP,
|
D | nf_flow_table_offload.c | 447 u8 protonum = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.l4proto; in flow_offload_l4proto() local 450 switch (protonum) { in flow_offload_l4proto() 528 u8 protonum = flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.l4proto; in flow_offload_ipv4_checksum() local 534 switch (protonum) { in flow_offload_ipv4_checksum()
|
/linux-6.1.9/include/net/netfilter/ |
D | nf_conntrack_tuple.h | 68 u_int8_t protonum; member 86 t, t->dst.protonum, in nf_ct_dump_tuple_ip() 96 t, t->dst.protonum, in nf_ct_dump_tuple_ipv6() 137 t1->dst.protonum == t2->dst.protonum); in __nf_ct_tuple_dst_equal() 172 t1->dst.protonum != t2->dst.protonum) in nf_ct_tuple_src_mask_cmp()
|
D | nf_conntrack_helper.h | 87 u16 l3num, u8 protonum); 91 u8 protonum); 95 u16 l3num, u16 protonum, const char *name, 178 u8 protonum);
|
D | nf_conntrack_l4proto.h | 170 u8 protonum, 176 u8 protonum, in nf_l4proto_log_invalid() argument
|
D | nf_tables_offload.h | 31 u8 protonum; member
|
D | nf_conntrack.h | 142 return ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum; in nf_ct_protonum()
|
/linux-6.1.9/net/netfilter/ipvs/ |
D | ip_vs_nfct.c | 59 (T)->dst.protonum 110 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack() 111 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack() 115 if (new_tuple.dst.protonum != IPPROTO_ICMP && in ip_vs_update_conntrack() 116 new_tuple.dst.protonum != IPPROTO_ICMPV6) in ip_vs_update_conntrack() 158 ip_vs_conn_fill_param(net_ipvs(net), exp->tuple.src.l3num, orig->dst.protonum, in ip_vs_nfct_expect_callback() 252 .dst = { .protonum = cp->protocol, .dir = IP_CT_DIR_ORIGINAL } }; in ip_vs_conn_drop_conntrack()
|
/linux-6.1.9/tools/testing/selftests/netfilter/ |
D | nft_zones_many.sh | 121 ip netns exec "$ns" conntrack -I -s 1.1.1.1 -d 2.2.2.2 --protonum 6 \ 124 ip netns exec "$ns" conntrack -I -s 1.1.1.1 -d 2.2.2.2 --protonum 6 \
|
/linux-6.1.9/net/ipv4/netfilter/ |
D | nf_nat_pptp.c | 71 t.dst.protonum = IPPROTO_GRE; in pptp_nat_expected() 80 t.dst.protonum = IPPROTO_GRE; in pptp_nat_expected()
|
D | nf_nat_snmp_basic_main.c | 212 .tuple.dst.protonum = IPPROTO_UDP,
|