---
name: "tapset::netdev"
section: "3stap"
platform: "linux"
package: "systemtap-doc"
version: "1.7-1+deb7u1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/tapset::netdev"
---

# tapset::netdev(3stap)

systemtap network device probe points

## NAME

tapset::netdev - 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.

## SEE ALSO

[*stap*(1)](/stap/1.md), [*stapprobes*(3stap)](/stapprobes/3stap.md)
