Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/
Dnft_fwd_netdev.c74 u8 nfproto; member
89 switch (priv->nfproto) { in nft_fwd_neigh_eval()
152 priv->nfproto = ntohl(nla_get_be32(tb[NFTA_FWD_NFPROTO])); in nft_fwd_neigh_init()
154 switch (priv->nfproto) { in nft_fwd_neigh_init()
180 nla_put_be32(skb, NFTA_FWD_NFPROTO, htonl(priv->nfproto))) in nft_fwd_neigh_dump()
Dnf_conntrack_proto.c781 u8 nfproto = (unsigned long)_nfproto; in nf_ct_tcp_fixup() local
783 if (nf_ct_l3num(ct) != nfproto) in nf_ct_tcp_fixup()
795 static int nf_ct_netns_do_get(struct net *net, u8 nfproto) in nf_ct_netns_do_get() argument
803 switch (nfproto) { in nf_ct_netns_do_get()
849 (void *)(unsigned long)nfproto, 0, 0); in nf_ct_netns_do_get()
854 static void nf_ct_netns_do_put(struct net *net, u8 nfproto) in nf_ct_netns_do_put() argument
859 switch (nfproto) { in nf_ct_netns_do_put()
877 int nf_ct_netns_get(struct net *net, u8 nfproto) in nf_ct_netns_get() argument
881 if (nfproto == NFPROTO_INET) { in nf_ct_netns_get()
889 err = nf_ct_netns_do_get(net, nfproto); in nf_ct_netns_get()
[all …]
Dx_tables.c212 xt_request_find_match(uint8_t nfproto, const char *name, uint8_t revision) in xt_request_find_match() argument
219 match = xt_find_match(nfproto, name, revision); in xt_request_find_match()
221 request_module("%st_%s", xt_prefix[nfproto], name); in xt_request_find_match()
222 match = xt_find_match(nfproto, name, revision); in xt_request_find_match()
400 textify_hooks(char *buf, size_t size, unsigned int mask, uint8_t nfproto) in textify_hooks() argument
415 names = (nfproto == NFPROTO_ARP) ? arp_names : inetbr_names; in textify_hooks()
416 max = (nfproto == NFPROTO_ARP) ? ARRAY_SIZE(arp_names) : in textify_hooks()
1556 uint8_t nfproto = (unsigned long)PDE_DATA(file_inode(seq->file)); in xt_mttg_seq_next() local
1571 mutex_lock(&xt[nfproto].mutex); in xt_mttg_seq_next()
1573 &xt[nfproto].target : &xt[nfproto].match; in xt_mttg_seq_next()
[all …]
/Linux-v4.19/net/sched/
Dem_ipt.c90 u8 nfproto, mrev = 0; in get_xt_match() local
111 nfproto = nla_get_u8(tb[TCA_EM_IPT_NFPROTO]); in get_xt_match()
112 return xt_request_find_match(nfproto, m->match_name, mrev); in get_xt_match()
/Linux-v4.19/include/net/netfilter/
Dnf_conntrack.h170 int nf_ct_netns_get(struct net *net, u8 nfproto);
171 void nf_ct_netns_put(struct net *net, u8 nfproto);