Searched refs:nfproto (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/net/sched/ |
D | em_ipt.c | 24 u8 nfproto; member 101 u8 nfproto, mrev = 0; in get_xt_match() local 122 nfproto = nla_get_u8(tb[TCA_EM_IPT_NFPROTO]); in get_xt_match() 123 return xt_request_find_match(nfproto, m->match_name, mrev); in get_xt_match() 133 u8 nfproto; in em_ipt_change() local 144 nfproto = nla_get_u8(tb[TCA_EM_IPT_NFPROTO]); in em_ipt_change() 145 switch (nfproto) { in em_ipt_change() 168 im->nfproto = nfproto; in em_ipt_change() 211 u8 nfproto = im->match->family; in em_ipt_match() local 219 if (nfproto == NFPROTO_UNSPEC) in em_ipt_match() [all …]
|
/Linux-v6.1/net/netfilter/ |
D | nf_conntrack_proto.c | 447 u8 nfproto = (unsigned long)_nfproto; in nf_ct_tcp_fixup() local 449 if (nf_ct_l3num(ct) != nfproto) in nf_ct_tcp_fixup() 463 static int nf_ct_netns_do_get(struct net *net, u8 nfproto) in nf_ct_netns_do_get() argument 471 switch (nfproto) { in nf_ct_netns_do_get() 544 .data = (void *)(unsigned long)nfproto, in nf_ct_netns_do_get() 552 static void nf_ct_netns_do_put(struct net *net, u8 nfproto) in nf_ct_netns_do_put() argument 557 switch (nfproto) { in nf_ct_netns_do_put() 607 int nf_ct_netns_get(struct net *net, u8 nfproto) in nf_ct_netns_get() argument 611 switch (nfproto) { in nf_ct_netns_get() 627 err = nf_ct_netns_do_get(net, nfproto); in nf_ct_netns_get() [all …]
|
D | nft_fwd_netdev.c | 90 u8 nfproto; member 105 switch (priv->nfproto) { in nft_fwd_neigh_eval() 167 priv->nfproto = ntohl(nla_get_be32(tb[NFTA_FWD_NFPROTO])); in nft_fwd_neigh_init() 169 switch (priv->nfproto) { in nft_fwd_neigh_init() 195 nla_put_be32(skb, NFTA_FWD_NFPROTO, htonl(priv->nfproto))) in nft_fwd_neigh_dump()
|
D | x_tables.c | 228 xt_request_find_match(uint8_t nfproto, const char *name, uint8_t revision) in xt_request_find_match() argument 235 match = xt_find_match(nfproto, name, revision); in xt_request_find_match() 237 request_module("%st_%s", xt_prefix[nfproto], name); in xt_request_find_match() 238 match = xt_find_match(nfproto, name, revision); in xt_request_find_match() 417 textify_hooks(char *buf, size_t size, unsigned int mask, uint8_t nfproto) in textify_hooks() argument 432 names = (nfproto == NFPROTO_ARP) ? arp_names : inetbr_names; in textify_hooks() 433 max = (nfproto == NFPROTO_ARP) ? ARRAY_SIZE(arp_names) : in textify_hooks() 1587 uint8_t nfproto = (unsigned long)pde_data(file_inode(seq->file)); in xt_mttg_seq_next() local 1605 mutex_lock(&xt[nfproto].mutex); in xt_mttg_seq_next() 1607 &xt[nfproto].target : &xt[nfproto].match; in xt_mttg_seq_next() [all …]
|
D | nf_nat_proto.c | 540 u8 nfproto, u8 proto, void *data, __sum16 *check, in nf_nat_csum_recalc() argument 543 switch (nfproto) { in nf_nat_csum_recalc()
|
/Linux-v6.1/tools/testing/selftests/netfilter/ |
D | nft_meta.sh | 58 meta nfproto ipv4 counter name "infproto4count" 72 meta nfproto ipv4 counter name "onfproto4count"
|
D | nft_flowtable.sh | 180 meta nfproto ipv4 meta l4proto icmp accept 181 meta nfproto ipv6 meta l4proto icmpv6 accept
|
/Linux-v6.1/include/net/netfilter/ |
D | nf_conntrack.h | 190 int nf_ct_netns_get(struct net *net, u8 nfproto); 191 void nf_ct_netns_put(struct net *net, u8 nfproto);
|
D | nf_nat.h | 83 u8 nfproto, u8 proto, void *data, __sum16 *check,
|