[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

net_xmit_trace Kernel Service

Purpose

Traces transmit packets.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
int net_xmit_trace ( ifp, mbuf )
struct ifnet *ifp; 
struct mbuf *mbuf;

Parameters

ifp Designates the address of the ifnet structure for this interface.
mbuf Designates the address of the mbuf structure to be traced.

Description

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.

Execution Environment

The net_xmit_trace kernel service can be called from either the process or interrupt environment.

Return Values

The net_xmit_trace kernel service has no return values.

Implementation Specifics

The net_xmit_trace kernel service is part of Base Operating System (BOS) Runtime.

Related Information

The net_xmit kernel service.

The ipreport command.

The iptrace daemon.

Network Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]