| /linux/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 = im->match->family; in em_ipt_match() local 219 if (nfproto == NFPROTO_UNSPEC) in em_ipt_match() [all …]
|
| H A D | act_ct.c | 1551 nla_put_u8(skb, TCA_CT_HELPER_FAMILY, helper->nfproto) || in tcf_ct_dump_helper()
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_proto.c | 427 u8 nfproto = (unsigned long)_nfproto; in nf_ct_tcp_fixup() local 429 if (nf_ct_l3num(ct) != nfproto) in nf_ct_tcp_fixup() 443 static int nf_ct_netns_do_get(struct net *net, u8 nfproto) in nf_ct_netns_do_get() argument 451 switch (nfproto) { in nf_ct_netns_do_get() 524 .data = (void *)(unsigned long)nfproto, 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() 587 int nf_ct_netns_get(struct net *net, u8 nfproto) in nf_ct_netns_get() argument 591 switch (nfproto) { in nf_ct_netns_get() 607 err = nf_ct_netns_do_get(net, nfproto); in nf_ct_netns_get() [all …]
|
| H A D | nf_conntrack_helper.c | 69 if (h->nfproto != NFPROTO_UNSPEC && h->nfproto != l3num) in __nf_conntrack_helper_find() 392 (cur->nfproto == NFPROTO_UNSPEC || in __nf_conntrack_helper_register() 393 cur->nfproto == me->nfproto) && in __nf_conntrack_helper_register() 492 helper->nfproto = l3num; in nf_ct_helper_init()
|
| H A D | nf_conntrack_ovs.c | 34 if (helper->nfproto != NFPROTO_UNSPEC && in nf_ct_helper() 35 helper->nfproto != proto) in nf_ct_helper()
|
| H A D | x_tables.c | 231 xt_request_find_match(uint8_t nfproto, const char *name, uint8_t revision) in xt_request_find_match() argument 238 match = xt_find_match(nfproto, name, revision); in xt_request_find_match() 240 request_module("%st_%s", xt_prefix[nfproto], name); in xt_request_find_match() 241 match = xt_find_match(nfproto, name, revision); in xt_request_find_match() 420 textify_hooks(char *buf, size_t size, unsigned int mask, uint8_t nfproto) in textify_hooks() argument 435 names = (nfproto == NFPROTO_ARP) ? arp_names : inetbr_names; in textify_hooks() 436 max = (nfproto == NFPROTO_ARP) ? ARRAY_SIZE(arp_names) : in textify_hooks() 1793 uint8_t nfproto = (unsigned long)pde_data(file_inode(seq->file)); in xt_mttg_seq_next() local 1811 mutex_lock(&xt[nfproto].mutex); in xt_mttg_seq_next() 1813 &xt[nfproto].target : &xt[nfproto].match; in xt_mttg_seq_next() [all …]
|
| H A D | nfnetlink_cthelper.c | 259 helper->nfproto = tuple->src.l3num; in nfnl_cthelper_create() 457 if ((tuple.src.l3num != cur->nfproto || in nfnl_cthelper_new() 487 htons(helper->nfproto))) in nfnl_cthelper_dump_tuple() 669 (tuple.src.l3num != cur->nfproto || in nfnl_cthelper_get() 729 (tuple.src.l3num != cur->nfproto || in nfnl_cthelper_del()
|
| H A D | nf_nat_proto.c | 478 u8 nfproto, u8 proto, void *data, __sum16 *check, in nf_nat_csum_recalc() argument 481 switch (nfproto) { in nf_nat_csum_recalc()
|
| /linux/tools/testing/selftests/net/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_fib.sh | 395 meta nfproto ipv4 jump { 405 meta nfproto ipv6 jump {
|
| H A D | nft_flowtable.sh | 183 meta nfproto ipv4 meta l4proto icmp accept 184 meta nfproto ipv6 meta l4proto icmpv6 accept
|
| /linux/include/net/netfilter/ |
| H A D | nf_nat.h | 83 u8 nfproto, u8 proto, void *data, __sum16 *check,
|
| H A D | nf_conntrack_helper.h | 46 u8 nfproto; /* NFPROTO_*, can be NFPROTO_UNSPEC */ member
|
| /linux/kernel/ |
| H A D | audit.c | 2515 const struct sk_buff *skb, u8 nfproto) in audit_log_nf_skb() argument 2518 if (nfproto == NFPROTO_BRIDGE) { in audit_log_nf_skb() 2521 nfproto = NFPROTO_IPV4; in audit_log_nf_skb() 2524 nfproto = NFPROTO_IPV6; in audit_log_nf_skb() 2531 switch (nfproto) { in audit_log_nf_skb()
|
| /linux/net/bpf/ |
| H A D | test_run.c | 1764 static __be16 nfproto_eth(int nfproto) in nfproto_eth() argument 1766 switch (nfproto) { in nfproto_eth()
|