Lines Matching full:vip
37 __type(key, struct vip);
89 struct vip vip = {}; in handle_ipv4() local
110 vip.protocol = iph->protocol; in handle_ipv4()
111 vip.family = AF_INET; in handle_ipv4()
112 vip.daddr.v4 = iph->daddr; in handle_ipv4()
113 vip.dport = dport; in handle_ipv4()
116 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv4()
154 count_tx(vip.protocol); in handle_ipv4()
170 struct vip vip = {}; in handle_ipv6() local
189 vip.protocol = ip6h->nexthdr; in handle_ipv6()
190 vip.family = AF_INET6; in handle_ipv6()
191 memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr)); in handle_ipv6()
192 vip.dport = dport; in handle_ipv6()
195 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv6()
225 count_tx(vip.protocol); in handle_ipv6()