Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tunnel_kern.c61 struct bpf_tunnel_key key; in gre_set_tunnel()
83 struct bpf_tunnel_key key; in gre_set_tunnel_no_key()
104 struct bpf_tunnel_key key; in gre_get_tunnel()
119 struct bpf_tunnel_key key; in ip6gretap_set_tunnel()
143 struct bpf_tunnel_key key; in ip6gretap_get_tunnel()
162 struct bpf_tunnel_key key; in erspan_set_tunnel()
205 struct bpf_tunnel_key key; in erspan_get_tunnel()
241 struct bpf_tunnel_key key; in ip4ip6erspan_set_tunnel()
285 struct bpf_tunnel_key key; in ip4ip6erspan_get_tunnel()
322 struct bpf_tunnel_key key; in vxlan_set_tunnel_dst()
[all …]
H A Dtest_l4lb_noinline.c327 struct bpf_tunnel_key tkey = {}; in process_packet()
H A Dtest_l4lb.c328 struct bpf_tunnel_key tkey = {}; in process_packet()
H A Dtest_l4lb_noinline_dynptr.c332 struct bpf_tunnel_key tkey = {}; in process_packet()
/linux/samples/bpf/
H A Dtc_l2_redirect_kern.c109 struct bpf_tunnel_key tkey = {}; in _l2_to_iptun_ingress_redirect()
148 struct bpf_tunnel_key tkey = {}; in _l2_to_ip6tun_ingress_redirect()
/linux/net/core/
H A Dfilter.c4730 BPF_CALL_4(bpf_skb_get_tunnel_key, struct sk_buff *, skb, struct bpf_tunnel_key *, to, in BPF_CALL_4() argument
4734 u8 compat[sizeof(struct bpf_tunnel_key)]; in BPF_CALL_4()
4747 if (unlikely(size != sizeof(struct bpf_tunnel_key))) { in BPF_CALL_4()
4750 case offsetof(struct bpf_tunnel_key, local_ipv6[0]): in BPF_CALL_4()
4751 case offsetof(struct bpf_tunnel_key, tunnel_label): in BPF_CALL_4()
4752 case offsetof(struct bpf_tunnel_key, tunnel_ext): in BPF_CALL_4()
4754 case offsetof(struct bpf_tunnel_key, remote_ipv6[1]): in BPF_CALL_4()
4761 to = (struct bpf_tunnel_key *)compat; in BPF_CALL_4()
4790 if (unlikely(size != sizeof(struct bpf_tunnel_key))) in BPF_CALL_4()
4846 const struct bpf_tunnel_key *, from, u32, size, u64, flags) in BPF_CALL_4() argument
[all …]
/linux/include/uapi/linux/
H A Dbpf.h2292 * long bpf_skb_get_tunnel_key(struct sk_buff *skb, struct bpf_tunnel_key *key, u32 size, u64 flags)
2295 * empty **struct bpf_tunnel_key** of **size**, that will be
2301 * The **struct bpf_tunnel_key** is an object that generalizes the
2321 * struct bpf_tunnel_key key = {};
2343 * long bpf_skb_set_tunnel_key(struct sk_buff *skb, struct bpf_tunnel_key *key, u32 size, u64 flags)
2373 * struct bpf_tunnel_key key;
6379 struct bpf_tunnel_key {
6351 struct bpf_tunnel_key { global() struct
6352 tunnel_idbpf_tunnel_key global() argument
6353 __anon1e8efe9c4f0abpf_tunnel_key global() argument
6357 tunnel_tosbpf_tunnel_key global() argument
6358 tunnel_ttlbpf_tunnel_key global() argument
6359 __anon1e8efe9c500abpf_tunnel_key global() argument
6363 tunnel_labelbpf_tunnel_key global() argument
6364 __anon1e8efe9c510abpf_tunnel_key global() argument
/linux/tools/include/uapi/linux/
H A Dbpf.h2292 * long bpf_skb_get_tunnel_key(struct sk_buff *skb, struct bpf_tunnel_key *key, u32 size, u64 flags)
2295 * empty **struct bpf_tunnel_key** of **size**, that will be
2301 * The **struct bpf_tunnel_key** is an object that generalizes the
2321 * struct bpf_tunnel_key key = {};
2343 * long bpf_skb_set_tunnel_key(struct sk_buff *skb, struct bpf_tunnel_key *key, u32 size, u64 flags)
2373 * struct bpf_tunnel_key key;
6379 struct bpf_tunnel_key {
6351 struct bpf_tunnel_key { global() struct
6352 tunnel_idbpf_tunnel_key global() argument
6353 __anonc2086e7c4f0abpf_tunnel_key global() argument
6357 tunnel_tosbpf_tunnel_key global() argument
6358 tunnel_ttlbpf_tunnel_key global() argument
6359 __anonc2086e7c500abpf_tunnel_key global() argument
6363 tunnel_labelbpf_tunnel_key global() argument
6364 __anonc2086e7c510abpf_tunnel_key global() argument