encap_headers_t
static void encap_init(encap_headers_t *encap, uint8_t hop_count, uint8_t proto)
*encap = (encap_headers_t){
encap_headers_t encap;
static INLINING ret_t accept_locally(struct __sk_buff *skb, encap_headers_t *encap)
static INLINING ret_t forward_with_gre(struct __sk_buff *skb, encap_headers_t *encap,
static INLINING ret_t forward_to_next_hop(struct __sk_buff *skb, encap_headers_t *encap,
static INLINING ret_t get_next_hop(buf_t *pkt, encap_headers_t *encap,
encap_headers_t *encap;
static ret_t accept_locally(struct __sk_buff *skb, encap_headers_t *encap)
encap_headers_t *encap, struct in_addr *next_hop,
encap_headers_t *encap, struct in_addr *next_hop,
static ret_t get_next_hop(struct bpf_dynptr *dynptr, __u64 *offset, encap_headers_t *encap,
__u8 encap_buffer[sizeof(encap_headers_t)] = {};
encap_headers_t *encap;