Home
last modified time | relevance | path

Searched refs:bpf_tunnel_key (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_tunnel_kern.c50 struct bpf_tunnel_key key; in _gre_set_tunnel()
72 struct bpf_tunnel_key key; in _gre_get_tunnel()
88 struct bpf_tunnel_key key; in _ip6gretap_set_tunnel()
113 struct bpf_tunnel_key key; in _ip6gretap_get_tunnel()
132 struct bpf_tunnel_key key; in _erspan_set_tunnel()
176 struct bpf_tunnel_key key; in _erspan_get_tunnel()
216 struct bpf_tunnel_key key; in _ip4ip6erspan_set_tunnel()
261 struct bpf_tunnel_key key; in _ip4ip6erspan_get_tunnel()
303 struct bpf_tunnel_key key; in _vxlan_set_tunnel()
333 struct bpf_tunnel_key key; in _vxlan_get_tunnel()
[all …]
Dtest_l4lb.c330 struct bpf_tunnel_key tkey = {}; in process_packet()
Dtest_l4lb_noinline.c327 struct bpf_tunnel_key tkey = {}; in process_packet()
/Linux-v5.10/samples/bpf/
Dtc_l2_redirect_kern.c61 struct bpf_tunnel_key tkey = {}; in _l2_to_iptun_ingress_forward()
112 struct bpf_tunnel_key tkey = {}; in _l2_to_iptun_ingress_redirect()
153 struct bpf_tunnel_key tkey = {}; in _l2_to_ip6tun_ingress_redirect()
208 struct bpf_tunnel_key tkey = {}; in _drop_non_tun_vip()
/Linux-v5.10/net/core/
Dfilter.c4210 BPF_CALL_4(bpf_skb_get_tunnel_key, struct sk_buff *, skb, struct bpf_tunnel_key *, to, in BPF_CALL_4() argument
4214 u8 compat[sizeof(struct bpf_tunnel_key)]; in BPF_CALL_4()
4226 if (unlikely(size != sizeof(struct bpf_tunnel_key))) { in BPF_CALL_4()
4229 case offsetof(struct bpf_tunnel_key, tunnel_label): in BPF_CALL_4()
4230 case offsetof(struct bpf_tunnel_key, tunnel_ext): in BPF_CALL_4()
4232 case offsetof(struct bpf_tunnel_key, remote_ipv6[1]): in BPF_CALL_4()
4239 to = (struct bpf_tunnel_key *)compat; in BPF_CALL_4()
4261 if (unlikely(size != sizeof(struct bpf_tunnel_key))) in BPF_CALL_4()
4317 const struct bpf_tunnel_key *, from, u32, size, u64, flags) in BPF_CALL_4() argument
4320 u8 compat[sizeof(struct bpf_tunnel_key)]; in BPF_CALL_4()
[all …]
/Linux-v5.10/tools/include/uapi/linux/
Dbpf.h4122 struct bpf_tunnel_key { struct
/Linux-v5.10/include/uapi/linux/
Dbpf.h4122 struct bpf_tunnel_key { struct