/Linux-v5.15/net/netfilter/ |
D | nf_conntrack_helper.c | 50 return (((tuple->src.l3num << 8) | tuple->dst.protonum) ^ in helper_hash() 73 __nf_conntrack_helper_find(const char *name, u16 l3num, u8 protonum) in __nf_conntrack_helper_find() argument 83 if (h->tuple.src.l3num != NFPROTO_UNSPEC && in __nf_conntrack_helper_find() 84 h->tuple.src.l3num != l3num) in __nf_conntrack_helper_find() 96 nf_conntrack_helper_try_module_get(const char *name, u16 l3num, u8 protonum) in nf_conntrack_helper_try_module_get() argument 102 h = __nf_conntrack_helper_find(name, l3num, protonum); in nf_conntrack_helper_try_module_get() 108 h = __nf_conntrack_helper_find(name, l3num, protonum); in nf_conntrack_helper_try_module_get() 150 nf_nat_helper_try_module_get(const char *name, u16 l3num, u8 protonum) in nf_nat_helper_try_module_get() argument 158 h = __nf_conntrack_helper_find(name, l3num, protonum); in nf_nat_helper_try_module_get() 415 (cur->tuple.src.l3num == NFPROTO_UNSPEC || in nf_conntrack_helper_register() [all …]
|
D | nf_conntrack_timeout.c | 59 u8 l3num, u8 l4num, const char *timeout_name) in nf_ct_set_timeout() argument 83 if (timeout->l3num != l3num) { in nf_ct_set_timeout() 87 timeout_name, 3, timeout->l3num); in nf_ct_set_timeout()
|
D | nfnetlink_cttimeout.c | 91 __u16 l3num; in cttimeout_new_timeout() local 105 l3num = ntohs(nla_get_be16(cda[CTA_TIMEOUT_L3PROTO])); in cttimeout_new_timeout() 124 if (matching->timeout.l3num != l3num || in cttimeout_new_timeout() 158 timeout->timeout.l3num = l3num; in cttimeout_new_timeout() 188 htons(timeout->timeout.l3num)) || in ctnl_timeout_fill_info() 382 u32 seq, u32 type, int event, u16 l3num, in cttimeout_default_fill_info() argument 397 if (nla_put_be16(skb, CTA_TIMEOUT_L3PROTO, htons(l3num)) || in cttimeout_default_fill_info() 427 __u16 l3num; in cttimeout_default_get() local 434 l3num = ntohs(nla_get_be16(cda[CTA_TIMEOUT_L3PROTO])); in cttimeout_default_get() 490 l3num, l4proto, timeouts); in cttimeout_default_get()
|
D | nft_ct.c | 871 int l3num = ctx->family; in nft_ct_timeout_obj_init() local 880 l3num = ntohs(nla_get_be16(tb[NFTA_CT_TIMEOUT_L3PROTO])); in nft_ct_timeout_obj_init() 904 timeout->l3num = l3num; in nft_ct_timeout_obj_init() 940 nla_put_be16(skb, NFTA_CT_TIMEOUT_L3PROTO, htons(timeout->l3num))) in nft_ct_timeout_obj_dump() 1162 u16 l3num; member 1181 priv->l3num = ctx->family; in nft_ct_expect_obj_init() 1183 priv->l3num = ntohs(nla_get_be16(tb[NFTA_CT_EXPECT_L3PROTO])); in nft_ct_expect_obj_init() 1204 if (nla_put_be16(skb, NFTA_CT_EXPECT_L3PROTO, htons(priv->l3num)) || in nft_ct_expect_obj_dump() 1223 u16 l3num = priv->l3num; in nft_ct_expect_obj_eval() local 1245 if (l3num == NFPROTO_INET) in nft_ct_expect_obj_eval() [all …]
|
D | nfnetlink_cthelper.c | 89 tuple->src.l3num = ntohs(nla_get_be16(tb[NFCTH_TUPLE_L3PROTONUM])); in nfnl_cthelper_parse_tuple() 442 if ((tuple.src.l3num != cur->tuple.src.l3num || in nfnl_cthelper_new() 472 htons(helper->tuple.src.l3num))) in nfnl_cthelper_dump_tuple() 651 (tuple.src.l3num != cur->tuple.src.l3num || in nfnl_cthelper_get() 711 (tuple.src.l3num != cur->tuple.src.l3num || in nfnl_cthelper_del()
|
D | nf_conntrack_ftp.c | 243 if ((cmd->l3num == PF_INET && data[1] != '1') || in try_eprt() 244 (cmd->l3num == PF_INET6 && data[1] != '2')) { in try_eprt() 445 cmd.l3num = nf_ct_l3num(ct); in help() 491 if ((cmd.l3num == nf_ct_l3num(ct)) && in help() 498 if (cmd.l3num == PF_INET) { in help() 519 nf_ct_expect_init(exp, NF_CT_EXPECT_CLASS_DEFAULT, cmd.l3num, in help()
|
D | xt_HMARK.c | 49 hmark_addr_mask(int l3num, const __be32 *addr32, const __be32 *mask) in hmark_addr_mask() argument 51 switch (l3num) { in hmark_addr_mask() 92 t->src = hmark_addr_mask(otuple->src.l3num, otuple->src.u3.ip6, in hmark_ct_set_htuple() 94 t->dst = hmark_addr_mask(otuple->src.l3num, rtuple->src.u3.ip6, in hmark_ct_set_htuple()
|
D | nf_conntrack_expect.c | 88 u8 l3num; in nf_ct_expect_dst_hash() member 100 combined.l3num = tuple->src.l3num; in nf_ct_expect_dst_hash() 329 exp->tuple.src.l3num = family; in nf_ct_expect_init() 641 expect->tuple.src.l3num, in exp_seq_show()
|
D | nf_conntrack_amanda.c | 183 .tuple.src.l3num = AF_INET, 193 .tuple.src.l3num = AF_INET6,
|
D | nf_conntrack_netbios_ns.c | 48 .tuple.src.l3num = NFPROTO_IPV4,
|
D | nf_conntrack_core.c | 264 u_int16_t l3num, in nf_ct_get_tuple() argument 275 tuple->src.l3num = l3num; in nf_ct_get_tuple() 276 switch (l3num) { in nf_ct_get_tuple() 293 switch (l3num) { in nf_ct_get_tuple() 416 u_int16_t l3num, in nf_ct_get_tuplepr() argument 422 protoff = get_l4proto(skb, nhoff, l3num, &protonum); in nf_ct_get_tuplepr() 426 return nf_ct_get_tuple(skb, nhoff, protoff, l3num, protonum, net, tuple); in nf_ct_get_tuplepr() 436 inverse->src.l3num = orig->src.l3num; in nf_ct_invert_tuple() 438 switch (orig->src.l3num) { in nf_ct_invert_tuple() 2092 u16 l3num; in __nf_conntrack_update() local [all …]
|
D | nf_conntrack_snmp.c | 55 .tuple.src.l3num = NFPROTO_IPV4,
|
D | nf_conntrack_proto_gre.c | 61 return km->tuple.src.l3num == t->src.l3num && in gre_key_cmpfn()
|
D | nf_conntrack_netlink.c | 113 switch (tuple->src.l3num) { in ctnetlink_dump_tuples_ip() 909 u32 type, u_int8_t l3num, 1317 switch (tuple->src.l3num) { in ctnetlink_parse_tuple_ip() 1426 u_int8_t l3num, struct nf_conntrack_zone *zone, in ctnetlink_parse_tuple_filter() argument 1439 if (l3num != NFPROTO_IPV4 && l3num != NFPROTO_IPV6) in ctnetlink_parse_tuple_filter() 1441 tuple->src.l3num = l3num; in ctnetlink_parse_tuple_filter() 1487 u_int8_t l3num, struct nf_conntrack_zone *zone) in ctnetlink_parse_tuple() argument 1489 return ctnetlink_parse_tuple_filter(cda, tuple, type, l3num, zone, in ctnetlink_parse_tuple() 2970 m.src.l3num = tuple->src.l3num; in ctnetlink_exp_dump_mask() 3052 nat_tuple.src.l3num = nf_ct_l3num(master); in ctnetlink_exp_dump_expect() [all …]
|
D | nf_conntrack_irc.c | 209 tuple->src.l3num, in help()
|
D | nf_conntrack_proto.c | 252 tuple.src.l3num = PF_INET; in getorigdst() 307 struct nf_conntrack_tuple tuple = { .src.l3num = NFPROTO_IPV6 }; in ipv6_getorigdst()
|
D | nf_flow_table_core.c | 29 switch (ctt->src.l3num) { in flow_offload_fill_dir() 40 ft->l3proto = ctt->src.l3num; in flow_offload_fill_dir()
|
/Linux-v5.15/include/net/netfilter/ |
D | nf_conntrack_tuple.h | 33 u_int16_t l3num; member 104 switch (t->src.l3num) { in nf_ct_dump_tuple() 129 t1->src.l3num == t2->src.l3num); in __nf_ct_tuple_src_equal() 171 if (t1->src.l3num != t2->src.l3num || in nf_ct_tuple_src_mask_cmp()
|
D | nf_conntrack_helper.h | 87 u16 l3num, u8 protonum); 90 u16 l3num, 95 u16 l3num, u16 protonum, const char *name, 177 int nf_nat_helper_try_module_get(const char *name, u16 l3num,
|
D | nf_conntrack_timeout.h | 15 __u16 l3num; member 95 int nf_ct_set_timeout(struct net *net, struct nf_conn *ct, u8 l3num, u8 l4num, 110 u8 l3num, u8 l4num, in nf_ct_set_timeout() argument
|
D | nf_conntrack.h | 133 return ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.l3num; in nf_ct_l3num() 197 u_int16_t l3num, struct net *net,
|
D | nf_tables_offload.h | 30 __be16 l3num; member
|
/Linux-v5.15/net/netfilter/ipvs/ |
D | ip_vs_nfct.c | 55 #define ARG_TUPLE(T) IP_VS_DBG_ADDR((T)->src.l3num, &(T)->src.u3), \ 57 IP_VS_DBG_ADDR((T)->src.l3num, &(T)->dst.u3), \ 158 ip_vs_conn_fill_param(net_ipvs(net), exp->tuple.src.l3num, orig->dst.protonum, in ip_vs_nfct_expect_callback() 255 tuple.src.l3num = cp->af; in ip_vs_conn_drop_conntrack()
|
/Linux-v5.15/net/ipv4/netfilter/ |
D | nf_nat_pptp.c | 66 t.src.l3num = AF_INET; in pptp_nat_expected() 75 t.src.l3num = AF_INET; in pptp_nat_expected()
|
D | nf_nat_snmp_basic_main.c | 210 .tuple.src.l3num = AF_INET,
|