Lines Matching refs:tkey
31 struct bpf_tunnel_key tkey = {}; in handle_ingress() local
32 bpf_skb_get_tunnel_key(skb, &tkey, in handle_ingress()
35 int *ifindex = vni2if.lookup(&tkey.tunnel_id); in handle_ingress()
40 &(struct host){tkey.tunnel_id, tkey.remote_ipv4, 0, 0}); in handle_ingress()
44 bpf_trace_printk("ingress invalid tunnel_id=%d\n", tkey.tunnel_id); in handle_ingress()
62 struct bpf_tunnel_key tkey = {}; in handle_egress() local
65 tkey.tunnel_id = dst_host->tunnel_id; in handle_egress()
66 tkey.remote_ipv4 = dst_host->remote_ipv4; in handle_egress()
67 bpf_skb_set_tunnel_key(skb, &tkey, in handle_egress()
71 struct bpf_tunnel_key tkey = {}; in handle_egress() local
76 tkey.tunnel_id = dst_host->tunnel_id; in handle_egress()
77 tkey.remote_ipv4 = dst_host->remote_ipv4; in handle_egress()
78 bpf_skb_set_tunnel_key(skb, &tkey, in handle_egress()