Lines Matching full:vip
34 __type(key, struct vip);
89 struct vip vip = {}; in handle_ipv4() local
101 vip.protocol = iph->protocol; in handle_ipv4()
102 vip.family = AF_INET; in handle_ipv4()
103 vip.daddr.v4 = iph->daddr; in handle_ipv4()
104 vip.dport = dport; in handle_ipv4()
107 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv4()
147 count_tx(vip.protocol); in handle_ipv4()
161 struct vip vip = {}; in handle_ipv6() local
171 vip.protocol = ip6h->nexthdr; in handle_ipv6()
172 vip.family = AF_INET6; in handle_ipv6()
173 memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr)); in handle_ipv6()
174 vip.dport = dport; in handle_ipv6()
177 tnl = bpf_map_lookup_elem(&vip2tnl, &vip); in handle_ipv6()
207 count_tx(vip.protocol); in handle_ipv6()