#include <sys/types.h> #include <sys/errno.h>
int net_xmit_trace ( ifp, mbuf ) struct ifnet *ifp; struct mbuf *mbuf;
ifp | Designates the address of the ifnet structure for this interface. |
mbuf | Designates the address of the mbuf structure to be traced. |
The net_xmit_trace kernel service traces the data pointed to by the mbuf parameter. This kernel service was added for those network interfaces that choose not to use the net_xmit kernel service to transmit packets. An application program (the iptrace command) reads the trace data and writes it to a file for the ipreport command to interpret.
The net_xmit_trace kernel service can be called from either the process or interrupt environment.
The net_xmit_trace kernel service has no return values.
The net_xmit_trace kernel service is part of Base Operating System (BOS) Runtime.
The net_xmit kernel service.
The ipreport command.
The iptrace daemon.
Network Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.