Home
last modified time | relevance | path

Searched refs:encap_headers_t (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect.h63 } __attribute__((packed)) encap_headers_t; typedef
H A Dtest_cls_redirect_dynptr.c271 static ret_t accept_locally(struct __sk_buff *skb, encap_headers_t *encap) in accept_locally()
292 encap_headers_t *encap, struct in_addr *next_hop, in forward_with_gre()
419 encap_headers_t *encap, struct in_addr *next_hop, in forward_to_next_hop()
475 static ret_t get_next_hop(struct bpf_dynptr *dynptr, __u64 *offset, encap_headers_t *encap, in get_next_hop()
835 __u8 encap_buffer[sizeof(encap_headers_t)] = {}; in cls_redirect()
858 encap_headers_t *encap; in cls_redirect()
H A Dtest_cls_redirect.c378 static INLINING ret_t accept_locally(struct __sk_buff *skb, encap_headers_t *encap) in accept_locally()
399 static INLINING ret_t forward_with_gre(struct __sk_buff *skb, encap_headers_t *encap, in forward_with_gre()
526 static INLINING ret_t forward_to_next_hop(struct __sk_buff *skb, encap_headers_t *encap, in forward_to_next_hop()
583 static INLINING ret_t get_next_hop(buf_t *pkt, encap_headers_t *encap, in get_next_hop()
948 encap_headers_t *encap; in cls_redirect()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dcls_redirect.c250 static void encap_init(encap_headers_t *encap, uint8_t hop_count, uint8_t proto) in encap_init()
254 *encap = (encap_headers_t){ in encap_init()
280 encap_headers_t encap; in build_input()