Home | History | Annotate | Download | only in bpf

Lines Matching defs:vip

34 	.key_size = sizeof(struct vip),
90 struct vip vip = {};
102 vip.protocol = iph->protocol;
103 vip.family = AF_INET;
104 vip.daddr.v4 = iph->daddr;
105 vip.dport = dport;
108 tnl = bpf_map_lookup_elem(&vip2tnl, &vip);
148 count_tx(vip.protocol);
162 struct vip vip = {};
172 vip.protocol = ip6h->nexthdr;
173 vip.family = AF_INET6;
174 memcpy(vip.daddr.v6, ip6h->daddr.s6_addr32, sizeof(vip.daddr));
175 vip.dport = dport;
178 tnl = bpf_map_lookup_elem(&vip2tnl, &vip);
208 count_tx(vip.protocol);