Lines Matching refs:tpstats
17 struct tp_stats *tpstats = optval; in get_tpacket_stats() local
19 long rc = getsockopt(-1, SOL_PACKET, PACKET_STATISTICS, tpstats, len); in get_tpacket_stats()
33 printf(", %p", tpstats); in get_tpacket_stats()
34 } else if (optlen < sizeof(tpstats->tp_packets)) { in get_tpacket_stats()
36 print_quoted_hex(tpstats, optlen); in get_tpacket_stats()
39 PRINT_FIELD_U(", {", *tpstats, tp_packets); in get_tpacket_stats()
43 if (optlen < sizeof(tpstats->tp_drops)) { in get_tpacket_stats()
45 print_quoted_hex(tpstats, optlen); in get_tpacket_stats()
47 PRINT_FIELD_U(", ", *tpstats, tp_drops); in get_tpacket_stats()
53 if (optlen < sizeof(tpstats->tp_freeze_q_cnt)) { in get_tpacket_stats()
55 print_quoted_hex(tpstats, optlen); in get_tpacket_stats()
57 PRINT_FIELD_U(", ", *tpstats, tp_freeze_q_cnt); in get_tpacket_stats()