Home
last modified time | relevance | path

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

/openbmc/linux/net/sched/
H A 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()
133 u8 nfproto; in em_ipt_change() local
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()
220 nfproto = NFPROTO_IPV4; in em_ipt_match()
225 if (nfproto == NFPROTO_UNSPEC) in em_ipt_match()
[all …]
/openbmc/linux/net/netfilter/
H A 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()
446 switch (nfproto) { in nf_ct_netns_do_get()
519 .data = (void *)(unsigned long)nfproto, in nf_ct_netns_do_get()
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 void nf_ct_netns_put(struct net *net, uint8_t nfproto) in nf_ct_netns_put() argument
611 switch (nfproto) { in nf_ct_netns_put()
[all …]
H A 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()
H A 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()
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()
1636 uint8_t nfproto = (unsigned long)pde_data(file_inode(seq->file)); in xt_mttg_seq_stop() local
[all …]
H A 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()
/openbmc/linux/tools/testing/selftests/netfilter/
H A Dnft_meta.sh58 meta nfproto ipv4 counter name "infproto4count"
72 meta nfproto ipv4 counter name "onfproto4count"
H A Dnft_flowtable.sh180 meta nfproto ipv4 meta l4proto icmp accept
181 meta nfproto ipv6 meta l4proto icmpv6 accept
/openbmc/linux/include/net/netfilter/
H A Dnf_conntrack.h194 int nf_ct_netns_get(struct net *net, u8 nfproto);
195 void nf_ct_netns_put(struct net *net, u8 nfproto);
H A Dnf_nat.h83 u8 nfproto, u8 proto, void *data, __sum16 *check,
/openbmc/linux/net/bpf/
H A Dtest_run.c1561 static __be16 nfproto_eth(int nfproto) in nfproto_eth() argument
1563 switch (nfproto) { in nfproto_eth()