Searched refs:vip (Results 1 – 3 of 3) sorted by relevance
31 __type(key, struct vip);87 struct vip vip = {}; in handle_ipv4() local99 vip.protocol = iph->protocol; in handle_ipv4()100 vip.family = AF_INET; in handle_ipv4()101 vip.daddr.v4 = iph->daddr; in handle_ipv4()102 vip.dport = dport; in handle_ipv4()105 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() local171 vip.protocol = ip6h->nexthdr; in handle_ipv6()[all …]
166 struct vip vip = {}; in main() local172 vip.protocol = IPPROTO_TCP; in main()189 vip.family = parse_ipstr(optarg, vip.daddr.v6); in main()190 if (vip.family == AF_UNSPEC) in main()198 vip.protocol = atoi(optarg); in main()283 vip.dport = htons(min_port++); in main()284 if (bpf_map_update_elem(vip2tnl_map_fd, &vip, &tnl, in main()
11 struct vip { struct