/Linux-v5.4/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() 414 (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 | 80 __u16 l3num; in cttimeout_new_timeout() local 94 l3num = ntohs(nla_get_be16(cda[CTA_TIMEOUT_L3PROTO])); in cttimeout_new_timeout() 113 if (matching->timeout.l3num != l3num || in cttimeout_new_timeout() 146 timeout->timeout.l3num = l3num; in cttimeout_new_timeout() 181 htons(timeout->timeout.l3num)) || in ctnl_timeout_fill_info() 380 u32 seq, u32 type, int event, u16 l3num, in cttimeout_default_fill_info() argument 400 if (nla_put_be16(skb, CTA_TIMEOUT_L3PROTO, htons(l3num)) || in cttimeout_default_fill_info() 433 __u16 l3num; in cttimeout_default_get() local 439 l3num = ntohs(nla_get_be16(cda[CTA_TIMEOUT_L3PROTO])); in cttimeout_default_get() 497 l3num, l4proto, timeouts); in cttimeout_default_get()
|
D | nft_ct.c | 867 int l3num = ctx->family; in nft_ct_timeout_obj_init() local 876 l3num = ntohs(nla_get_be16(tb[NFTA_CT_TIMEOUT_L3PROTO])); in nft_ct_timeout_obj_init() 900 timeout->l3num = l3num; in nft_ct_timeout_obj_init() 936 nla_put_be16(skb, NFTA_CT_TIMEOUT_L3PROTO, htons(timeout->l3num))) in nft_ct_timeout_obj_dump() 1158 u16 l3num; member 1177 priv->l3num = ctx->family; in nft_ct_expect_obj_init() 1179 priv->l3num = ntohs(nla_get_be16(tb[NFTA_CT_EXPECT_L3PROTO])); in nft_ct_expect_obj_init() 1200 if (nla_put_be16(skb, NFTA_CT_EXPECT_L3PROTO, htons(priv->l3num)) || in nft_ct_expect_obj_dump() 1219 u16 l3num = priv->l3num; in nft_ct_expect_obj_eval() local 1241 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() 439 if ((tuple.src.l3num != cur->tuple.src.l3num || in nfnl_cthelper_new() 469 htons(helper->tuple.src.l3num))) in nfnl_cthelper_dump_tuple() 655 (tuple.src.l3num != cur->tuple.src.l3num || in nfnl_cthelper_get() 721 (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() 442 cmd.l3num = nf_ct_l3num(ct); in help() 488 if ((cmd.l3num == nf_ct_l3num(ct)) && in help() 495 if (cmd.l3num == PF_INET) { in help() 516 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_core.c | 243 u_int16_t l3num, in nf_ct_get_tuple() argument 254 tuple->src.l3num = l3num; in nf_ct_get_tuple() 255 switch (l3num) { in nf_ct_get_tuple() 272 switch (l3num) { in nf_ct_get_tuple() 395 u_int16_t l3num, in nf_ct_get_tuplepr() argument 401 protoff = get_l4proto(skb, nhoff, l3num, &protonum); in nf_ct_get_tuplepr() 405 return nf_ct_get_tuple(skb, nhoff, protoff, l3num, protonum, net, tuple); in nf_ct_get_tuplepr() 415 inverse->src.l3num = orig->src.l3num; in nf_ct_invert_tuple() 417 switch (orig->src.l3num) { in nf_ct_invert_tuple() 1891 u16 l3num; in nf_conntrack_update() local [all …]
|
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_snmp.c | 55 .tuple.src.l3num = NFPROTO_IPV4,
|
D | nf_conntrack_proto_gre.c | 74 return km->tuple.src.l3num == t->src.l3num && in gre_key_cmpfn()
|
D | nf_conntrack_expect.c | 88 (((tuple->dst.protonum ^ tuple->src.l3num) << 16) | in nf_ct_expect_dst_hash() 313 exp->tuple.src.l3num = family; in nf_ct_expect_init() 621 expect->tuple.src.l3num, in exp_seq_show()
|
D | nf_tables_offload.c | 72 flow->proto = ctx->dep.l3num; in nft_flow_rule_create() 114 memcpy(&ctx->dep.l3num, data, sizeof(__u16)); in nft_offload_update_dependency()
|
D | nf_flow_table_core.c | 38 switch (ctt->src.l3num) { in flow_offload_fill_dir() 51 ft->l3proto = ctt->src.l3num; in flow_offload_fill_dir()
|
D | nf_conntrack_netlink.c | 111 switch (tuple->src.l3num) { in ctnetlink_dump_tuples_ip() 1035 switch (tuple->src.l3num) { in ctnetlink_parse_tuple_ip() 1129 u_int8_t l3num, struct nf_conntrack_zone *zone) in ctnetlink_parse_tuple() argument 1144 tuple->src.l3num = l3num; in ctnetlink_parse_tuple() 2762 nat_tuple.src.l3num = nf_ct_l3num(master); in ctnetlink_exp_dump_expect() 2812 nfmsg->nfgen_family = exp->tuple.src.l3num; in ctnetlink_exp_fill_info() 2863 nfmsg->nfgen_family = exp->tuple.src.l3num; in ctnetlink_expect_event() 2904 if (l3proto && exp->tuple.src.l3num != l3proto) in ctnetlink_exp_dump_table() 2955 if (l3proto && exp->tuple.src.l3num != l3proto) in ctnetlink_exp_ct_dump_table()
|
D | nf_conntrack_irc.c | 206 tuple->src.l3num, in help()
|
/Linux-v5.4/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 | 119 return ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.src.l3num; in nf_ct_l3num() 183 u_int16_t l3num, struct net *net,
|
D | nf_tables_offload.h | 25 __be16 l3num; member
|
/Linux-v5.4/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.4/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,
|