Lines Matching defs:vip
31 __type(key, struct vip);
87 struct vip vip = {};
99 vip.protocol = iph->protocol;
100 vip.family = AF_INET;
101 vip.daddr.v4 = iph->daddr;
102 vip.dport = dport;
105 tnl = bpf_map_lookup_elem(&vip2tnl, &vip);
110 /* The vip key is found. Add an IP header and send it out */
147 count_tx(vip.protocol);
161 struct vip vip = {};
171 vip.protocol = ip6h->nexthdr;
172 vip.family = AF_INET6;
173 memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr));
174 vip.dport = dport;
177 tnl = bpf_map_lookup_elem(&vip2tnl, &vip);
182 /* The vip key is found. Add an IP header and send it out */
210 count_tx(vip.protocol);