/kernel/linux/linux-5.10/net/sched/ |
H A 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 in em_ipt_match() local [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A 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 in em_ipt_match() local [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A 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() 610 nf_ct_netns_put(struct net *net, uint8_t nfproto) nf_ct_netns_put() argument [all...] |
H A D | nft_fwd_netdev.c | 88 u8 nfproto; member 103 switch (priv->nfproto) { in nft_fwd_neigh_eval() 165 priv->nfproto = ntohl(nla_get_be32(tb[NFTA_FWD_NFPROTO])); in nft_fwd_neigh_init() 167 switch (priv->nfproto) { in nft_fwd_neigh_init() 193 nla_put_be32(skb, NFTA_FWD_NFPROTO, htonl(priv->nfproto))) in nft_fwd_neigh_dump()
|
H A 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] in xt_mttg_seq_next() 1593 uint8_t nfproto = (unsigned long)PDE_DATA(file_inode(seq->file)); xt_mttg_seq_stop() local [all...] |
H A D | nf_nat_proto.c | 540 u8 nfproto, u8 proto, void *data, __sum16 *check, in nf_nat_csum_recalc() 543 switch (nfproto) { in nf_nat_csum_recalc() 539 nf_nat_csum_recalc(struct sk_buff *skb, u8 nfproto, u8 proto, void *data, __sum16 *check, int datalen, int oldlen) nf_nat_csum_recalc() argument
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_proto.c | 422 u8 nfproto = (unsigned long)_nfproto; in nf_ct_tcp_fixup() local 424 if (nf_ct_l3num(ct) != nfproto) in nf_ct_tcp_fixup() 438 static int nf_ct_netns_do_get(struct net *net, u8 nfproto) in nf_ct_netns_do_get() argument 446 switch (nfproto) { in nf_ct_netns_do_get() 519 .data = (void *)(unsigned long)nfproto, in nf_ct_netns_do_get() 527 static void nf_ct_netns_do_put(struct net *net, u8 nfproto) in nf_ct_netns_do_put() argument 532 switch (nfproto) { in nf_ct_netns_do_put() 582 int nf_ct_netns_get(struct net *net, u8 nfproto) in nf_ct_netns_get() argument 586 switch (nfproto) { in nf_ct_netns_get() 602 err = nf_ct_netns_do_get(net, nfproto); in nf_ct_netns_get() 609 nf_ct_netns_put(struct net *net, uint8_t nfproto) nf_ct_netns_put() argument [all...] |
H A D | nft_fwd_netdev.c | 91 u8 nfproto; member 106 switch (priv->nfproto) { in nft_fwd_neigh_eval() 168 priv->nfproto = ntohl(nla_get_be32(tb[NFTA_FWD_NFPROTO])); in nft_fwd_neigh_init() 170 switch (priv->nfproto) { in nft_fwd_neigh_init() 197 nla_put_be32(skb, NFTA_FWD_NFPROTO, htonl(priv->nfproto))) in nft_fwd_neigh_dump()
|
H A 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] in xt_mttg_seq_next() 1636 uint8_t nfproto = (unsigned long)pde_data(file_inode(seq->file)); xt_mttg_seq_stop() local [all...] |
H A D | nf_nat_proto.c | 540 u8 nfproto, u8 proto, void *data, __sum16 *check, in nf_nat_csum_recalc() 543 switch (nfproto) { in nf_nat_csum_recalc() 539 nf_nat_csum_recalc(struct sk_buff *skb, u8 nfproto, u8 proto, void *data, __sum16 *check, int datalen, int oldlen) nf_nat_csum_recalc() argument
|
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/ |
H A D | nft_meta.sh | 58 meta nfproto ipv4 counter name "infproto4count" 72 meta nfproto ipv4 counter name "onfproto4count"
|
H A D | nft_flowtable.sh | 188 meta nfproto ipv4 meta l4proto icmp accept 189 meta nfproto ipv6 meta l4proto icmpv6 accept
|
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
H A D | nft_meta.sh | 58 meta nfproto ipv4 counter name "infproto4count" 72 meta nfproto ipv4 counter name "onfproto4count"
|
H A D | nft_flowtable.sh | 180 meta nfproto ipv4 meta l4proto icmp accept 181 meta nfproto ipv6 meta l4proto icmpv6 accept
|
/kernel/linux/linux-5.10/include/net/netfilter/ |
H A 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);
|
H A D | nf_nat.h | 83 u8 nfproto, u8 proto, void *data, __sum16 *check,
|
/kernel/linux/linux-6.6/include/net/netfilter/ |
H A D | nf_conntrack.h | 194 int nf_ct_netns_get(struct net *net, u8 nfproto); 195 void nf_ct_netns_put(struct net *net, u8 nfproto);
|
H A D | nf_nat.h | 83 u8 nfproto, u8 proto, void *data, __sum16 *check,
|
/kernel/linux/linux-6.6/net/bpf/ |
H A D | test_run.c | 1555 static __be16 nfproto_eth(int nfproto) in nfproto_eth() argument 1557 switch (nfproto) { in nfproto_eth()
|