/Linux-v6.6/net/netfilter/ |
D | nf_conntrack_helper.c | 47 return (((tuple->src.l3num << 8) | tuple->dst.protonum) ^ in helper_hash() 52 __nf_conntrack_helper_find(const char *name, u16 l3num, u8 protonum) in __nf_conntrack_helper_find() argument 66 if (h->tuple.dst.protonum == protonum) in __nf_conntrack_helper_find() 75 nf_conntrack_helper_try_module_get(const char *name, u16 l3num, u8 protonum) in nf_conntrack_helper_try_module_get() argument 81 h = __nf_conntrack_helper_find(name, l3num, protonum); in nf_conntrack_helper_try_module_get() 87 h = __nf_conntrack_helper_find(name, l3num, protonum); in nf_conntrack_helper_try_module_get() 129 nf_nat_helper_try_module_get(const char *name, u16 l3num, u8 protonum) in nf_nat_helper_try_module_get() argument 137 h = __nf_conntrack_helper_find(name, l3num, protonum); in nf_nat_helper_try_module_get() 375 cur->tuple.dst.protonum == me->tuple.dst.protonum) { in nf_conntrack_helper_register() 433 u16 l3num, u16 protonum, const char *name, in nf_ct_helper_init() argument [all …]
|
D | nf_nat_core.c | 69 if (t->dst.protonum == IPPROTO_TCP || in nf_nat_ipv4_decode_session() 70 t->dst.protonum == IPPROTO_UDP || in nf_nat_ipv4_decode_session() 71 t->dst.protonum == IPPROTO_UDPLITE || in nf_nat_ipv4_decode_session() 72 t->dst.protonum == IPPROTO_DCCP || in nf_nat_ipv4_decode_session() 73 t->dst.protonum == IPPROTO_SCTP) in nf_nat_ipv4_decode_session() 81 if (t->dst.protonum == IPPROTO_TCP || in nf_nat_ipv4_decode_session() 82 t->dst.protonum == IPPROTO_UDP || in nf_nat_ipv4_decode_session() 83 t->dst.protonum == IPPROTO_UDPLITE || in nf_nat_ipv4_decode_session() 84 t->dst.protonum == IPPROTO_DCCP || in nf_nat_ipv4_decode_session() 85 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() 282 tuple.dst.protonum = sk->sk_protocol; in getorigdst() 286 if (tuple.dst.protonum != IPPROTO_TCP && in getorigdst() 287 tuple.dst.protonum != IPPROTO_SCTP) in getorigdst() 340 tuple.dst.protonum = sk->sk_protocol; in ipv6_getorigdst() 345 if (tuple.dst.protonum != IPPROTO_TCP && in ipv6_getorigdst() 346 tuple.dst.protonum != IPPROTO_SCTP) in ipv6_getorigdst()
|
D | nf_conntrack_core.c | 271 u_int8_t protonum, in nf_ct_get_tuple() argument 310 tuple->dst.protonum = protonum; in nf_ct_get_tuple() 313 switch (protonum) { in nf_ct_get_tuple() 345 u_int8_t *protonum) in ipv4_get_l4proto() argument 362 *protonum = iph->protocol; in ipv4_get_l4proto() 375 u8 *protonum) in ipv6_get_l4proto() argument 397 *protonum = nexthdr; in ipv6_get_l4proto() 423 u8 protonum; in nf_ct_get_tuplepr() local 426 protoff = get_l4proto(skb, nhoff, l3num, &protonum); in nf_ct_get_tuplepr() 430 return nf_ct_get_tuple(skb, nhoff, protoff, l3num, protonum, net, tuple); 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 | 62 u32 tuple_len, u8 protonum, u8 dir, in bpf_nf_ct_tuple_parse() argument 72 if (unlikely(protonum != IPPROTO_TCP && protonum != IPPROTO_UDP)) in bpf_nf_ct_tuple_parse() 95 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() 1093 filter_tuple->dst.protonum != ct_tuple->dst.protonum) in ctnetlink_filter_match_tuple() 1096 switch (ct_tuple->dst.protonum) { in ctnetlink_filter_match_tuple() 1364 tuple->dst.protonum = nla_get_u8(tb[CTA_PROTO_NUM]); in ctnetlink_parse_tuple_proto() 1367 l4proto = nf_ct_l4proto_find(tuple->dst.protonum); in ctnetlink_parse_tuple_proto() 2428 if (otuple.dst.protonum != rtuple.dst.protonum) in ctnetlink_new_conntrack() 2950 m.dst.protonum = tuple->dst.protonum; in ctnetlink_exp_dump_mask() 2959 l4proto = nf_ct_l4proto_find(tuple->dst.protonum); in ctnetlink_exp_dump_mask() 3035 nat_tuple.dst.protonum = nf_ct_protonum(master); in ctnetlink_exp_dump_expect()
|
D | nf_conntrack_ovs.c | 60 if (helper->tuple.dst.protonum != proto) in nf_ct_helper()
|
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,
|
/Linux-v6.6/include/net/netfilter/ |
D | nf_conntrack_tuple.h | 68 u_int8_t protonum; member 89 t, t->dst.protonum, in nf_ct_dump_tuple_ip() 99 t, t->dst.protonum, in nf_ct_dump_tuple_ipv6() 140 t1->dst.protonum == t2->dst.protonum); in __nf_ct_tuple_dst_equal() 175 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, 181 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
|
/Linux-v6.6/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-v6.6/Documentation/userspace-api/netlink/ |
D | netlink-raw.rst | 22 protonum subsection 25 The ``protonum`` property is used to specify the protocol number to use when 34 protonum: 0 # part of the NETLINK_ROUTE protocol
|
/Linux-v6.6/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-v6.6/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,
|