Searched refs:encap_headers_t (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_cls_redirect_dynptr.c | 273 static ret_t accept_locally(struct __sk_buff *skb, encap_headers_t *encap) in accept_locally() 294 encap_headers_t *encap, struct in_addr *next_hop, in forward_with_gre() 421 encap_headers_t *encap, struct in_addr *next_hop, in forward_to_next_hop() 477 static ret_t get_next_hop(struct bpf_dynptr *dynptr, __u64 *offset, encap_headers_t *encap, in get_next_hop() 837 __u8 encap_buffer[sizeof(encap_headers_t)] = {}; in cls_redirect() 860 encap_headers_t *encap; in cls_redirect()
|
| H A D | test_cls_redirect.c | 379 static INLINING ret_t accept_locally(struct __sk_buff *skb, encap_headers_t *encap) in get_global_metrics() 400 static INLINING ret_t forward_with_gre(struct __sk_buff *skb, encap_headers_t *encap, in accept_locally() 527 static INLINING ret_t forward_to_next_hop(struct __sk_buff *skb, encap_headers_t *encap, in forward_with_gre() 584 static INLINING ret_t get_next_hop(buf_t *pkt, encap_headers_t *encap, 949 encap_headers_t *encap; in cls_redirect()
|
| H A D | test_cls_redirect.h | 63 } __attribute__((packed)) encap_headers_t; typedef
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | cls_redirect.c | 175 static void encap_init(encap_headers_t *encap, uint8_t hop_count, uint8_t proto) in test_str() 179 *encap = (encap_headers_t){ in test_str() 211 encap_headers_t encap;
|