The following trace hook IDs are stored in the /usr/include/sys/trchkid.h file.
This hook ID records TCP/IP socket layer events. TCP/IP socket layer events are recorded by socket-layer code, most of which records parameters passed to functions and return values from functions.
socreate (value, value, value, value)
soaccept (value, value, value, value)
return from sodisconnect (value)
sosend (value, value, value, value, value)
soreceive (value, value, value, value, value)
return from soreceive (value, value)
sorflush (value, value, value, value)
return from sosetopt (value, value, value, value)
sogetopt (value, value, value, value)
This hook word is used by the MBUF services routines to record mbuf activity. The mbuf routines are called by many system components. These routines record parameters passed to functions and the return values.
m_copydata (value, value, value, value)
This hook ID is used by the Ethernet network interface to record interface events. The Ethernet network interface records packet transmit-and-receive operations and unusual interface conditions.
en_statintr (entry) ifp=ifp sbp_option=sbp_option
en_netintr (entry) ifp=ifp status=status
en_ioctl (entry) ifp=ifp cmd=cmd data=data data
en_output (entry) ifp=ifp m=m family=family dst_ipaddr=dst_ipaddr
This hook ID is used by the token-ring network interface to record interface events. The token-ring network interface records packet transmit-and-receive operations and unusual interface conditions.
ie5_statintr (entry) ifp=ifp sbp_option=sbp_option
ie5_netintr (entry) ifp=ifp status=status
ie5_ioctl (entry) ifp=ifp cmd=cmd data=data data
ie5_output (entry) ifp=ifp m=m family=family dst_ipaddr=dst_ipaddr
ifp=ifp | Address of network interface if structure | ||
sbp_option=sbp_option | Status block option value | ||
status=status | Status value | ||
unit=unit | Network interface unit number | ||
cmd=cmd | Value of ioctl command parameter | ||
data=data | Value of ioctl data parameter | ||
m=m | Address of mbuf | ||
family=family | Address family value | ||
dst_ipaddr=dst_ipaddr | Destination IP address value
|
This hook ID is used by the 802.3 network interface to record interface events. The 802.3 network interface records packet transmit-and-receive operations and unusual interface conditions.
ie3_statintr (entry) ifp=ifp sbp_option=sbp_option
ie3_netintr (entry) ifp=ifp status=status
ie3_ioctl (entry) ifp=ifp cmd=cmd data=data data
ie3_output (entry) ifp=ifp m=m family=family dst_ipaddr=dst_ipaddr
ifp=ifp | Address of network interface if structure | ||
sbp_option=sbp_option | Status block option value | ||
status=status | Status value | ||
unit=unit | Network interface unit number | ||
cmd=cmd | Value of ioctl command parameter | ||
data=data | Value of ioctl data parameter | ||
m=m | Address of mbuf | ||
family=family | Address family value | ||
dst_ipaddr=dst_ipaddr | Destination IP address value
|
This hook ID is used by the X.25 network interface to record interface events. The X.25 network interface records packet transmit-and-receive operations and unusual interface conditions.
xt_statintr (entry) ifp=ifp sbp_option=sbp_option
xt_netintr (entry) ifp=ifp status=status
xt_ioctl (entry) ifp=ifp cmd=cmd data=data data
xt_output (entry) ifp=ifp m=m family=family dst_ipaddr=dst_ipaddr
ifp=ifp | Address of network interface if structure | ||
sbp_option=sbp_option | Status block option value | ||
status=status | Status value | ||
unit=unit | Network interface unit number | ||
cmd=cmd | Value of ioctl command parameter | ||
data=data | Value of ioctl data parameter | ||
m=m | Address of mbuf | ||
family=family | Address family value | ||
dst_ipaddr=dst_ipaddr | Destination IP address value
|
This hook ID is used by the SLIP network interface to record interface events. The SLIP network interface records packet transmit and receive operations and unusual interface conditions.
slioctl (entry) ifp=ifp cmd=cmd data=data
sloutput (entry) ifp=ifp m=m family=family dst_ipaddr=dst_ipaddr
unit=unit | Network interface unit number | ||||
ifp=ifp | Address of network interface if structure | ||||
cmd=cmd | Value of ioctl command parameter | ||||
data=data | Value of ioctl data parameter | ||||
m=m | Address of mbuf | ||||
family=family | Address family value
|
This event ID is used to trace TCP events. The TCP protocol records outgoing and incoming packet events when the socket used has had the SO_DEBUG option turned on for the socket.
TA_INPUT tp=tp ostate=ostate flags=flags
TA_OUTPUT tp=tp ostate=ostate flags=flags
TA_RESPOND tp=tp ostate=ostate flags=flags
TA_DROP tp=tp ostate=ostate flags=flags
rcvnxt=rcvnxt rcvwnd=rcvwnd snduna=snduna
sndw11=sndw11 sndw12=sndw12 sndwnd=sndwnd
tp=tp | Address control block structure | ||
ostate=ostate | State of tcp connection | ||
flags=flags | Flags value for incoming/outgoing packet | ||
req=req | Type of user request | ||
seq=seq | Sequence number value | ||
ack=ack | ack value | ||
len=len | Length of data | ||
rcvnxt=rcvnxt | Receive next value | ||
rcvwnd=rcvwnd | Receive window value | ||
snduna=snduna | Send unnumbered acknowledgement value | ||
sndmax=sndmax | Send maximum value | ||
sndw11=sndw11 | Send w11 value | ||
sndw12=sndw12 | Send w12 value
|