Lines Matching full:vip
30 __type(key, struct vip);
85 struct vip vip = {}; in handle_ipv4() local
97 vip.protocol = iph->protocol; in handle_ipv4()
98 vip.family = AF_INET; in handle_ipv4()
99 vip.daddr.v4 = iph->daddr; in handle_ipv4()
100 vip.dport = dport; in handle_ipv4()
103 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv4()
143 count_tx(vip.protocol); in handle_ipv4()
157 struct vip vip = {}; in handle_ipv6() local
167 vip.protocol = ip6h->nexthdr; in handle_ipv6()
168 vip.family = AF_INET6; in handle_ipv6()
169 memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr)); in handle_ipv6()
170 vip.dport = dport; in handle_ipv6()
173 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv6()
203 count_tx(vip.protocol); in handle_ipv6()