Searched refs:packets (Results 1 – 8 of 8) sorted by relevance
/samples/bpf/ |
D | sockex2_user.c | 13 __u64 packets; member 51 value.bytes, value.packets); in main()
|
D | xdp_monitor_user.c | 236 __u64 packets = 0; in calc_pps() local 240 packets = r->processed - p->processed; in calc_pps() 241 pps = packets / period; in calc_pps() 248 __u64 packets = 0; in calc_pps_u64() local 252 packets = r->processed - p->processed; in calc_pps_u64() 253 pps = packets / period; in calc_pps_u64() 260 __u64 packets = 0; in calc_drop() local 264 packets = r->dropped - p->dropped; in calc_drop() 265 pps = packets / period; in calc_drop() 272 __u64 packets = 0; in calc_info() local [all …]
|
D | cookie_uid_helper_example.c | 60 uint64_t packets; member 121 -32 + (__s16)offsetof(struct stats, packets), 1), in prog_load() 151 offsetof(struct stats, packets)), in prog_load() 203 curEntry.packets, curEntry.bytes); in print_table() 261 dataEntry.packets, dataEntry.bytes); in udp_client()
|
D | sockex3_user.c | 27 __u64 packets; member 79 value.bytes, value.packets); in main()
|
D | xdp_redirect_cpu_user.c | 271 __u64 packets = 0; in calc_pps() local 275 packets = r->processed - p->processed; in calc_pps() 276 pps = packets / period_; in calc_pps() 283 __u64 packets = 0; in calc_drop_pps() local 287 packets = r->dropped - p->dropped; in calc_drop_pps() 288 pps = packets / period_; in calc_drop_pps() 296 __u64 packets = 0; in calc_errs_pps() local 300 packets = r->issue - p->issue; in calc_errs_pps() 301 pps = packets / period_; in calc_errs_pps()
|
D | xdp_rxq_info_user.c | 311 __u64 packets = 0; in calc_pps() local 315 packets = r->processed - p->processed; in calc_pps() 316 pps = packets / period_; in calc_pps() 324 __u64 packets = 0; in calc_errs_pps() local 328 packets = r->issue - p->issue; in calc_errs_pps() 329 pps = packets / period_; in calc_errs_pps()
|
D | sockex2_kern.c | 188 long packets; member 212 __sync_fetch_and_add(&value->packets, 1); in bpf_prog2()
|
D | sockex3_kern.c | 111 __u64 packets; member 129 __sync_fetch_and_add(&value->packets, 1); in update_stats()
|