Home
last modified time | relevance | path

Searched refs:nft_pktinfo (Results 1 – 25 of 58) sorted by relevance

123

/linux/include/net/netfilter/
H A Dnf_tables_core.h131 struct nft_pktinfo;
133 struct nft_regs *regs, const struct nft_pktinfo *pkt);
135 struct nft_regs *regs, const struct nft_pktinfo *pkt);
137 struct nft_regs *regs, const struct nft_pktinfo *pkt);
139 struct nft_regs *regs, const struct nft_pktinfo *pkt);
141 struct nft_regs *regs, const struct nft_pktinfo *pkt);
143 struct nft_regs *regs, const struct nft_pktinfo *pkt);
145 struct nft_regs *regs, const struct nft_pktinfo *pkt);
147 struct nft_regs *regs, const struct nft_pktinfo *pkt);
149 struct nft_regs *regs, const struct nft_pktinfo *pkt);
[all …]
H A Dnft_fib.h22 static inline bool nft_fib_can_skip(const struct nft_pktinfo *pkt) in nft_fib_can_skip()
43 static inline int nft_fib_l3mdev_master_ifindex_rcu(const struct nft_pktinfo *pkt,
57 const struct nft_pktinfo *pkt);
59 const struct nft_pktinfo *pkt);
62 const struct nft_pktinfo *pkt);
64 const struct nft_pktinfo *pkt);
H A Dnf_tables_ipv4.h8 static inline void nft_set_pktinfo_ipv4(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv4()
19 static inline int __nft_set_pktinfo_ipv4_validate(struct nft_pktinfo *pkt) in __nft_set_pktinfo_ipv4_validate()
51 static inline void nft_set_pktinfo_ipv4_validate(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv4_validate()
57 static inline int nft_set_pktinfo_ipv4_ingress(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv4_ingress()
H A Dnf_tables_ipv6.h9 static inline void nft_set_pktinfo_ipv6(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv6()
27 static inline int __nft_set_pktinfo_ipv6_validate(struct nft_pktinfo *pkt) in __nft_set_pktinfo_ipv6_validate()
65 static inline void nft_set_pktinfo_ipv6_validate(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv6_validate()
71 static inline int nft_set_pktinfo_ipv6_ingress(struct nft_pktinfo *pkt) in nft_set_pktinfo_ipv6_ingress()
H A Dnft_meta.h34 const struct nft_pktinfo *pkt);
38 const struct nft_pktinfo *pkt);
51 struct nft_regs *regs, const struct nft_pktinfo *pkt,
H A Dnf_dup_netdev.h7 void nf_dup_netdev_egress(const struct nft_pktinfo *pkt, int oif);
8 void nf_fwd_netdev_egress(const struct nft_pktinfo *pkt, int oif);
H A Dnf_tables.h30 struct nft_pktinfo { struct
40 static inline struct sock *nft_sk(const struct nft_pktinfo *pkt) in nft_sk() argument
45 static inline unsigned int nft_thoff(const struct nft_pktinfo *pkt) in nft_thoff()
50 static inline struct net *nft_net(const struct nft_pktinfo *pkt) in nft_net()
55 static inline unsigned int nft_hook(const struct nft_pktinfo *pkt) in nft_hook()
60 static inline u8 nft_pf(const struct nft_pktinfo *pkt) in nft_pf()
65 static inline const struct net_device *nft_in(const struct nft_pktinfo *pkt) in nft_in()
70 static inline const struct net_device *nft_out(const struct nft_pktinfo *pkt) in nft_out()
75 static inline void nft_set_pktinfo(struct nft_pktinfo *pkt, in nft_set_pktinfo()
83 static inline void nft_set_pktinfo_unspec(struct nft_pktinfo *pkt) in nft_set_pktinfo_unspec()
[all …]
/linux/net/netfilter/
H A Dnf_tables_core.c41 static noinline void __nft_trace_packet(const struct nft_pktinfo *pkt, in __nft_trace_packet()
55 static inline void nft_trace_packet(const struct nft_pktinfo *pkt, in nft_trace_packet()
67 static inline void nft_trace_copy_nftrace(const struct nft_pktinfo *pkt, in nft_trace_copy_nftrace()
108 static noinline void __nft_trace_verdict(const struct nft_pktinfo *pkt, in __nft_trace_verdict()
135 static inline void nft_trace_verdict(const struct nft_pktinfo *pkt, in nft_trace_verdict()
146 const struct nft_pktinfo *pkt) in nft_payload_fast_eval()
179 const struct nft_pktinfo *pkt) in nft_update_chain_stats()
205 struct nft_pktinfo *pkt) in expr_call_ops_eval()
250 nft_do_chain(struct nft_pktinfo *pkt, void *priv) in nft_do_chain()
H A Dnft_inner.c59 const struct nft_pktinfo *pkt, in nft_inner_parse_l2l3()
181 const struct nft_pktinfo *pkt, in nft_inner_parse_tunhdr()
217 struct nft_pktinfo *pkt, in nft_inner_parse()
241 static bool nft_inner_restore_tun_ctx(const struct nft_pktinfo *pkt, in nft_inner_restore_tun_ctx()
261 static void nft_inner_save_tun_ctx(const struct nft_pktinfo *pkt, in nft_inner_save_tun_ctx()
276 const struct nft_pktinfo *pkt, in nft_inner_parse_needed()
292 const struct nft_pktinfo *pkt) in nft_inner_eval()
301 nft_inner_parse(priv, (struct nft_pktinfo *)pkt, &tun_ctx) < 0) in nft_inner_eval()
H A Dnft_chain_filter.c18 struct nft_pktinfo pkt; in nft_do_chain_ipv4()
62 struct nft_pktinfo pkt; in nft_do_chain_arp()
102 struct nft_pktinfo pkt; in nft_do_chain_ipv6()
146 struct nft_pktinfo pkt; in nft_do_chain_inet()
168 struct nft_pktinfo pkt; in nft_do_chain_inet_ingress()
235 struct nft_pktinfo pkt; in nft_do_chain_bridge()
290 struct nft_pktinfo pkt; in nft_do_chain_netdev()
H A Dnft_meta.c80 nft_meta_get_eval_pkttype_lo(const struct nft_pktinfo *pkt, in nft_meta_get_eval_pkttype_lo()
132 const struct nft_pktinfo *pkt) in nft_meta_get_eval_skugid()
166 nft_meta_get_eval_cgroup(u32 *dest, const struct nft_pktinfo *pkt) in nft_meta_get_eval_cgroup()
180 const struct nft_pktinfo *pkt) in nft_meta_get_eval_kind()
231 const struct nft_pktinfo *pkt) in nft_meta_get_eval_ifname()
287 static noinline u32 nft_meta_get_eval_sdif(const struct nft_pktinfo *pkt) in nft_meta_get_eval_sdif()
300 nft_meta_get_eval_sdifname(u32 *dest, const struct nft_pktinfo *pkt) in nft_meta_get_eval_sdifname()
311 const struct nft_pktinfo *pkt) in nft_meta_get_eval()
420 const struct nft_pktinfo *pkt) in nft_meta_set_eval()
862 const struct nft_pktinfo *pkt, in nft_meta_inner_eval()
[all …]
H A Dnft_chain_route.c21 struct nft_pktinfo pkt; in nf_route_table_hook4()
70 struct nft_pktinfo pkt; in nf_route_table_hook6()
119 struct nft_pktinfo pkt; in nf_route_table_inet()
H A Dnft_socket.c20 static void nft_socket_wildcard(const struct nft_pktinfo *pkt, in nft_socket_wildcard()
41 nft_sock_get_eval_cgroupv2(u32 *dest, struct sock *sk, const struct nft_pktinfo *pkt, u32 level) in nft_sock_get_eval_cgroupv2()
81 static struct sock *nft_socket_do_lookup(const struct nft_pktinfo *pkt) in nft_socket_do_lookup()
109 const struct nft_pktinfo *pkt) in nft_socket_eval()
H A Dnf_dup_netdev.c57 void nf_fwd_netdev_egress(const struct nft_pktinfo *pkt, int oif) in nf_dup_netdev_egress()
71 void nf_dup_netdev_egress(const struct nft_pktinfo *pkt, int oif)
H A Dnft_synproxy.c46 const struct nft_pktinfo *pkt, in nft_synproxy_eval_v4()
77 const struct nft_pktinfo *pkt, in nft_synproxy_eval_v6()
108 const struct nft_pktinfo *pkt) in nft_synproxy_do_eval()
243 const struct nft_pktinfo *pkt) in nft_synproxy_eval()
330 const struct nft_pktinfo *pkt) in nft_synproxy_obj_eval()
H A Dnft_exthdr.c48 const struct nft_pktinfo *pkt) in nft_exthdr_ipv6_eval()
141 const struct nft_pktinfo *pkt) in nft_exthdr_ipv4_eval()
169 nft_tcp_header_pointer(const struct nft_pktinfo *pkt, in nft_tcp_header_pointer()
190 const struct nft_pktinfo *pkt) in nft_exthdr_tcp_eval()
234 const struct nft_pktinfo *pkt) in nft_exthdr_tcp_set_eval()
314 const struct nft_pktinfo *pkt) in nft_exthdr_tcp_strip_eval()
371 const struct nft_pktinfo *pkt) in nft_exthdr_sctp_eval()
413 const struct nft_pktinfo *pkt) in nft_exthdr_dccp_eval()
H A Dnft_connlimit.c24 const struct nft_pktinfo *pkt, in nft_connlimit_do_eval()
118 const struct nft_pktinfo *pkt) in nft_connlimit_obj_eval()
186 const struct nft_pktinfo *pkt) in nft_connlimit_eval()
H A Dnft_quota.c41 const struct nft_pktinfo *pkt)
57 const struct nft_pktinfo *pkt) in nft_quota_obj_eval()
210 const struct nft_pktinfo *pkt)
H A Dnft_counter.c37 const struct nft_pktinfo *pkt) in nft_counter_do_eval()
56 const struct nft_pktinfo *pkt) in nft_counter_obj_eval()
206 const struct nft_pktinfo *pkt) in nft_counter_eval()
H A Dnft_rt.c21 static u16 get_tcpmss(const struct nft_pktinfo *pkt, const struct dst_entry *skbdst) in get_tcpmss()
55 const struct nft_pktinfo *pkt) in nft_rt_get_eval()
H A Dnft_tproxy.c23 const struct nft_pktinfo *pkt) in nft_tproxy_eval_v4()
86 const struct nft_pktinfo *pkt) in nft_tproxy_eval_v6()
159 const struct nft_pktinfo *pkt) in nft_tproxy_eval()
H A Dnf_tables_trace.c141 const struct nft_pktinfo *pkt) in nf_trace_fill_pkt_info()
236 void nft_trace_notify(const struct nft_pktinfo *pkt, in nft_trace_notify()
361 void nft_trace_init(struct nft_traceinfo *info, const struct nft_pktinfo *pkt, in nft_trace_init()
H A Dnft_limit.c179 const struct nft_pktinfo *pkt) in nft_limit_pkts_eval()
251 const struct nft_pktinfo *pkt) in nft_limit_bytes_eval()
332 const struct nft_pktinfo *pkt) in nft_limit_obj_pkts_eval()
384 const struct nft_pktinfo *pkt) in nft_limit_obj_bytes_eval()
H A Dnft_nat.c64 const struct nft_pktinfo *pkt, in nft_nat_setup_netmap()
105 const struct nft_pktinfo *pkt) in nft_nat_eval()
337 const struct nft_pktinfo *pkt) in nft_nat_inet_eval()
/linux/net/ipv6/netfilter/
H A Dnft_fib_ipv6.c23 const struct nft_pktinfo *pkt, in nft_fib6_flowi_init()
59 const struct nft_pktinfo *pkt, in __nft_fib6_eval_type()
127 const struct nft_pktinfo *pkt) in nft_fib6_eval_type()
156 const struct nft_pktinfo *pkt) in nft_fib6_eval()

123