tapset::netdev(3) systemtap network device probe points

DESCRIPTION

This family of probe points is used to probe the activities of network device. It contains the following probe points:

netdev.receive
Fires when data arrives on network device

Arguments:

dev_name
  The name of the device. e.g: eth0, ath1

length
  The length of the receiving buffer

protocol
  The possible values of protocol could be:
     0800    IP
     8100    802.1Q VLAN
     0001    802.3
     0002    AX.25
     0004    802.2
     8035    RARP
     0005    SNAP
     0805    X.25
     0806    ARP
     8137    IPX
     0009    Localtalk
     86DD    IPv6

truesize
  The size of the received data

netdev.transmit
Fires when the network device wants to transmit a buffer

Arguments:

dev_name
  The name of the device. e.g: eth0, ath1

length
  The length of the transmit buffer

protocol
  The protocol of this packet.

truesize
  The size of the data to be transmitted.