Home
last modified time | relevance | path

Searched refs:nfproto (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/net/sched/
Dem_ipt.c24 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-6.6.21/net/netfilter/
Dnf_conntrack_proto.c422 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()
[all …]
Dnft_fwd_netdev.c91 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()
Dx_tables.c228 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 …]
Dnf_nat_proto.c540 u8 nfproto, u8 proto, void *data, __sum16 *check, in nf_nat_csum_recalc() argument
543 switch (nfproto) { in nf_nat_csum_recalc()
/linux-6.6.21/tools/testing/selftests/netfilter/
Dnft_meta.sh58 meta nfproto ipv4 counter name "infproto4count"
72 meta nfproto ipv4 counter name "onfproto4count"
Dnft_flowtable.sh180 meta nfproto ipv4 meta l4proto icmp accept
181 meta nfproto ipv6 meta l4proto icmpv6 accept
/linux-6.6.21/include/net/netfilter/
Dnf_conntrack.h194 int nf_ct_netns_get(struct net *net, u8 nfproto);
195 void nf_ct_netns_put(struct net *net, u8 nfproto);
Dnf_nat.h83 u8 nfproto, u8 proto, void *data, __sum16 *check,
/linux-6.6.21/net/bpf/
Dtest_run.c1555 static __be16 nfproto_eth(int nfproto) in nfproto_eth() argument
1557 switch (nfproto) { in nfproto_eth()