Home
last modified time | relevance | path

Searched refs:data_stats (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_xdp_noinline.c657 struct lb_stats *data_stats; in process_packet() local
705 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()
Dtest_l4lb.c329 struct vip_stats *data_stats; in process_packet() local
441 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()
Dtest_l4lb_noinline.c328 struct vip_stats *data_stats; in process_packet() local
440 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()
Dtest_l4lb_noinline_dynptr.c333 struct vip_stats *data_stats; in process_packet() local
447 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()