[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, 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.

Related Information

The net_xmit kernel service.

The ipreport command.

The iptrace daemon.

Network Kernel Services in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]