Home
last modified time | relevance | path

Searched refs:packets (Results 1 – 8 of 8) sorted by relevance

/samples/bpf/
Dsockex2_user.c13 __u64 packets; member
51 value.bytes, value.packets); in main()
Dxdp_monitor_user.c236 __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 …]
Dcookie_uid_helper_example.c60 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()
Dsockex3_user.c27 __u64 packets; member
79 value.bytes, value.packets); in main()
Dxdp_redirect_cpu_user.c271 __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()
Dxdp_rxq_info_user.c311 __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()
Dsockex2_kern.c188 long packets; member
212 __sync_fetch_and_add(&value->packets, 1); in bpf_prog2()
Dsockex3_kern.c111 __u64 packets; member
129 __sync_fetch_and_add(&value->packets, 1); in update_stats()