Skip to main content
Version: 7.25

protocol


tool/sniffer/protocol​

Type: Directory

Packets and bytes of the last capture per MAC protocol, IP protocol and port, with each row's share of all captured bytes. A packet counts in every row it belongs to: for a TCP packet, the ip row, the ip/tcp row and a row for each of its ports. See Packet sniffer.

Read-only ArgumentTypeDescription
protocolenum ()MAC (L2) protocol, for example ip, arp, ipv6 or 802.2.
ip-protocolenum (ip) { ip:0 }IP protocol, for example icmp, tcp or udp. Empty on the row that counts a whole MAC protocol.
portenum ()Port, with its service name where known, for example 80 (http). Empty on the rows that count a whole protocol.
packetsnumNumber of captured packets in this row.
bytesnumNumber of captured bytes in this row.
sharenumShare of this row's bytes in all captured bytes, in percent.