Searched refs:bpf_tunnel_key (Results 1 – 6 of 6) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_tunnel_kern.c | 61 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 D | test_l4lb_noinline.c | 327 struct bpf_tunnel_key tkey = {}; in process_packet()
|
| H A D | test_l4lb.c | 328 struct bpf_tunnel_key tkey = {}; in process_packet()
|
| H A D | test_l4lb_noinline_dynptr.c | 332 struct bpf_tunnel_key tkey = {}; in process_packet()
|
| /linux/net/core/ |
| H A D | filter.c | 4740 BPF_CALL_4(bpf_skb_get_tunnel_key, struct sk_buff *, skb, struct bpf_tunnel_key *, to, in BPF_CALL_4() argument 4744 u8 compat[sizeof(struct bpf_tunnel_key)]; in BPF_CALL_4() 4757 if (unlikely(size != sizeof(struct bpf_tunnel_key))) { in BPF_CALL_4() 4760 case offsetof(struct bpf_tunnel_key, local_ipv6[0]): in BPF_CALL_4() 4761 case offsetof(struct bpf_tunnel_key, tunnel_label): in BPF_CALL_4() 4762 case offsetof(struct bpf_tunnel_key, tunnel_ext): in BPF_CALL_4() 4764 case offsetof(struct bpf_tunnel_key, remote_ipv6[1]): in BPF_CALL_4() 4771 to = (struct bpf_tunnel_key *)compat; in BPF_CALL_4() 4800 if (unlikely(size != sizeof(struct bpf_tunnel_key))) in BPF_CALL_4() 4856 const struct bpf_tunnel_key *, from, u32, size, u64, flags) in BPF_CALL_4() argument [all …]
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 2292 * 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; 6381 struct bpf_tunnel_key { 6346 struct bpf_tunnel_key { global() struct 6347 tunnel_idbpf_tunnel_key global() argument 6348 __anon43a12fb44f0abpf_tunnel_key global() argument 6352 tunnel_tosbpf_tunnel_key global() argument 6353 tunnel_ttlbpf_tunnel_key global() argument 6354 __anon43a12fb4500abpf_tunnel_key global() argument 6358 tunnel_labelbpf_tunnel_key global() argument 6359 __anon43a12fb4510abpf_tunnel_key global() argument
|