Searched refs:data_stats (Results 1 – 4 of 4) sorted by relevance
657 struct lb_stats *data_stats; in process_packet() local705 data_stats = bpf_map_lookup_elem(&stats, &stats_key); in process_packet()706 if (!data_stats) in process_packet()708 data_stats->v1 += 1; in process_packet()729 data_stats->v2 += 1; in process_packet()743 data_stats = bpf_map_lookup_elem(&stats, &vip_num); in process_packet()744 if (!data_stats) in process_packet()746 data_stats->v1 += 1; in process_packet()747 data_stats->v2 += pkt_bytes; in process_packet()
329 struct vip_stats *data_stats; in process_packet() local441 data_stats = bpf_map_lookup_elem(&stats, &vip_num); in process_packet()442 if (!data_stats) in process_packet()444 data_stats->pkts++; in process_packet()445 data_stats->bytes += pkt_bytes; in process_packet()
328 struct vip_stats *data_stats; in process_packet() local440 data_stats = bpf_map_lookup_elem(&stats, &vip_num); in process_packet()441 if (!data_stats) in process_packet()443 data_stats->pkts++; in process_packet()444 data_stats->bytes += pkt_bytes; in process_packet()
333 struct vip_stats *data_stats; in process_packet() local447 data_stats = bpf_map_lookup_elem(&stats, &vip_num); in process_packet()448 if (!data_stats) in process_packet()450 data_stats->pkts++; in process_packet()451 data_stats->bytes += pkt_bytes; in process_packet()