Searched refs:tpstats (Results 1 – 3 of 3) sorted by relevance
/external/strace/tests-mx32/ |
D | net-tpacket_stats.c | 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() [all …]
|
/external/strace/tests/ |
D | net-tpacket_stats.c | 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() [all …]
|
/external/strace/tests-m32/ |
D | net-tpacket_stats.c | 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() [all …]
|