netstat -D

The -D option allows you to see packets coming into and going out of each layer in the communications subsystem along with packets dropped at each layer.

# netstat -D

Source                         Ipkts                Opkts     Idrops     Odrops
-------------------------------------------------------------------------------
ent_dev1                       32556                  727          0          0
ent_dev2                           0                    1          0          0
ent_dev3                           0                    1          0          0
fcnet_dev0                        24                   22          0          0
fcnet_dev1                         0                    0          0          0
ent_dev0                          14                   15          0          0
                ---------------------------------------------------------------
Devices Total                  32594                  766          0          0
-------------------------------------------------------------------------------
ent_dd1                        32556                  727          0          0
ent_dd2                            0                    2          0          1
ent_dd3                            0                    2          0          1
fcnet_dd0                         24                   22          0          0
fcnet_dd1                          0                    0          0          0
ent_dd0                           14                   15          0          0
                ---------------------------------------------------------------
Drivers Total                  32594                  768          0          2
-------------------------------------------------------------------------------
fcs_dmx0                           0                  N/A          0        N/A
fcs_dmx1                           0                  N/A          0        N/A
ent_dmx1                       31421                  N/A       1149        N/A
ent_dmx2                           0                  N/A          0        N/A
ent_dmx3                           0                  N/A          0        N/A
fcnet_dmx0                         0                  N/A          0        N/A
fcnet_dmx1                         0                  N/A          0        N/A
ent_dmx0                          14                  N/A          0        N/A
                ---------------------------------------------------------------
Demuxer Total                  31435                  N/A       1149        N/A
-------------------------------------------------------------------------------
IP                             46815                34058         64          8
IPv6                               0                    0          0          0
TCP                              862                  710          9          0
UDP                            12412                   13      12396          0
                ---------------------------------------------------------------
Protocols Total                60089                34781      12469          8
-------------------------------------------------------------------------------
en_if1                         31421                  732          0          0
fc_if0                            24                   22          0          0
en_if0                            14                   20          0          6
lo_if0                         33341                33345          4          0
                ---------------------------------------------------------------
Net IF Total                   64800                34119          4          6
-------------------------------------------------------------------------------
(Note:  N/A -> Not Applicable)

The Devices layer shows number of packets coming into the adapter, going out of the adapter, and number of packets dropped on input and output. There are various causes of adapter errors, and the netstat -v command can be examined for more details.

The Drivers layer shows packet counts handled by the device driver for each adapter. Output of the netstat -v command is useful here to determine which errors are counted.

The Demuxer values show packet counts at the demux layer, and Idrops here usually indicate that filtering has caused packets to be rejected (for example, Netware or DecNet packets being rejected because these are not handled by the system under examination).

Details for the Protocols layer can be seen in the output of the netstat -s command.
Note: In the statistics output, a N/A displayed in a field value indicates the count is not applicable. For the NFS/RPC statistics, the number of incoming packets that pass through RPC are the same packets which pass through NFS, so these numbers are not summed in the NFS/RPC Total field, hence the N/A. NFS has no outgoing packet or outgoing packet drop counters specific to NFS and RPC. Therefore, individual counts have a field value of N/A, and the cumulative count is stored in the NFS/RPC Total field.