Searched refs:nfproto (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nf_conntrack_proto.c | 431 u8 nfproto = (unsigned long)_nfproto; in nf_ct_tcp_fixup() local 433 if (nf_ct_l3num(ct) != nfproto) in nf_ct_tcp_fixup() 447 static int nf_ct_netns_do_get(struct net *net, u8 nfproto) in nf_ct_netns_do_get() argument 455 switch (nfproto) { in nf_ct_netns_do_get() 527 (void *)(unsigned long)nfproto, 0, 0); in nf_ct_netns_do_get() 532 static void nf_ct_netns_do_put(struct net *net, u8 nfproto) in nf_ct_netns_do_put() argument 537 switch (nfproto) { in nf_ct_netns_do_put() 583 int nf_ct_netns_get(struct net *net, u8 nfproto) in nf_ct_netns_get() argument 587 switch (nfproto) { in nf_ct_netns_get() 603 err = nf_ct_netns_do_get(net, nfproto); in nf_ct_netns_get() [all …]
|
D | nft_fwd_netdev.c | 88 u8 nfproto; member 103 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() 193 nla_put_be32(skb, NFTA_FWD_NFPROTO, htonl(priv->nfproto))) in nft_fwd_neigh_dump()
|
D | x_tables.c | 208 xt_request_find_match(uint8_t nfproto, const char *name, uint8_t revision) in xt_request_find_match() argument 215 match = xt_find_match(nfproto, name, revision); in xt_request_find_match() 217 request_module("%st_%s", xt_prefix[nfproto], name); in xt_request_find_match() 218 match = xt_find_match(nfproto, name, revision); in xt_request_find_match() 397 textify_hooks(char *buf, size_t size, unsigned int mask, uint8_t nfproto) in textify_hooks() argument 412 names = (nfproto == NFPROTO_ARP) ? arp_names : inetbr_names; in textify_hooks() 413 max = (nfproto == NFPROTO_ARP) ? ARRAY_SIZE(arp_names) : in textify_hooks() 1544 uint8_t nfproto = (unsigned long)PDE_DATA(file_inode(seq->file)); in xt_mttg_seq_next() local 1562 mutex_lock(&xt[nfproto].mutex); in xt_mttg_seq_next() 1564 &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()
|
/kernel/linux/linux-5.10/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 | 188 meta nfproto ipv4 meta l4proto icmp accept 189 meta nfproto ipv6 meta l4proto icmpv6 accept
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
D | nf_conntrack.h | 170 int nf_ct_netns_get(struct net *net, u8 nfproto); 171 void nf_ct_netns_put(struct net *net, u8 nfproto);
|
D | nf_nat.h | 83 u8 nfproto, u8 proto, void *data, __sum16 *check,
|