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.
Recorded Data
Event:
socreate (value, value, value, value)
sobind (value, value)
solisten (value, value)
sofree (value)
soclose (value)
return from soclose (value)
soabort (value)
soaccept (value, value, value, value)
return from soaccept (value)
soconnect (value, value)
soconnect2 (value, value)
soconnect2_out
sodisconnect (value)
return from sodisconnect (value)
sosend (value, value, value, value, value)
return from sosend (value)
soreceive (value, value, value, value, value)
return from soreceive (value, value)
soshutdown (value)
sorflush (value, value, value, value)
sosetopt (value)
return from sosetopt (value, value, value, value)
sogetopt (value, value, value, value)
return from sogetopt
sohasoutofband (value)
return from sohasoutofband
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.
Recorded Data
Event:
m_get (value, value)
return from m_get (value)
m_getclr (value, value)
return form m_getclr (value)
m_free (value)
return from m_free (value)
m_copy (value, value, value)
return from m_copy (value)
m_copydata (value, value, value, value)
return from m_copydata
m_pullup_1
m_pullup_2
mlowintr
return from mlowintr
m_low: schedule mlowintr
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.
Recorded Data
Event:
en_statintr (entry) ifp=ifp sbp_option=sbp_option
en_statintr (rtn)
en_netintr (entry) ifp=ifp status=status
en_netintr (rtn)
en_attach (entry) unit=unit
en_attach (rtn)
en_detach (entry) ifp=ifp
en_detach (rtn)
en_init (entry)
en_init (rtn)
en_ioctl (entry) ifp=ifp cmd=cmd data=data data
en_ioctl (rtn) error=error
en_output (entry) ifp=ifp m=m family=family dst_ipaddr=dst_ipaddr
en_output (rtn) error=error
en_reset (entry)
en_reset (rtn)
en_recv (entry) m=m ifp=ifp
en_recv (rtn)
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.
Recorded Data
Event:
ie5_statintr (entry) ifp=ifp sbp_option=sbp_option
ie5_statintr (rtn)
ie5_netintr (entry) ifp=ifp status=status
ie5_netintr (rtn)
ie5_attach (entry) unit=unit
ie5_attach (rtn)
ie5_detach (entry) ifp=ifp
ie5_detach (rtn)
ie5_init (entry)
ie5_init (rtn)
ie5_ioctl (entry) ifp=ifp cmd=cmd data=data data
ie5_ioctl (rtn) error=error
ie5_output (entry) ifp=ifp m=m family=family dst_ipaddr=dst_ipaddr
ie5_output (rtn) error=error
ie5_reset (entry)
ie5_reset (rtn)
ie5_recv (entry) m=m ifp=ifp
ie5_recv (rtn)
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.
Recorded Data
Event:
ie3_statintr (entry) ifp=ifp sbp_option=sbp_option
ie3_statintr (rtn)
ie3_netintr (entry) ifp=ifp status=status
ie3_netintr (rtn)
ie3_attach (entry) unit=unit
ie3_attach (rtn)
ie3_detach (entry) ifp=ifp
ie3_detach (rtn)
ie3_init (entry)
ie3_init (rtn)
ie3_ioctl (entry) ifp=ifp cmd=cmd data=data data
ie3_ioctl (rtn) error=error
ie3_output (entry) ifp=ifp m=m family=family dst_ipaddr=dst_ipaddr
ie3_output (rtn) error=error
ie3_reset (entry)
ie3_reset (rtn)
ie3_recv (entry) m=m ifp=ifp
ie3_recv (rtn)
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.
Recorded Data
Event:
xt_statintr (entry) ifp=ifp sbp_option=sbp_option
xt_statintr (rtn)
xt_netintr (entry) ifp=ifp status=status
xt_netintr (rtn)
xt_attach (entry) unit=unit
xt_attach (rtn)
xt_detach (entry) ifp=ifp
xt_detach (rtn)
xt_init (entry)
xt_init (rtn)
xt_ioctl (entry) ifp=ifp cmd=cmd data=data data
xt_ioctl (rtn) error=error
xt_output (entry) ifp=ifp m=m family=family dst_ipaddr=dst_ipaddr
xt_output (rtn) error=error
xt_reset (entry)
xt_reset (rtn)
xt_recv (entry) m=m ifp=ifp
xt_recv (rtn)
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.
Recorded Data
Event:
slattach (entry) unit=unit
slattach (rtn)
sl_detach (entry) ifp=ifp
sl_detach (rtn)
slinit (entry)
slinit (rtn)
slioctl (entry) ifp=ifp cmd=cmd data=data
slioctl (rtn) error=error
sloutput (entry) ifp=ifp m=m family=family dst_ipaddr=dst_ipaddr
sloutput (rtn) error=error
slreset (entry)
slreset (rtn)
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.
Recorded Data
Events:
TA_INPUT tp=tp ostate=ostate flags=flags
TA_OUTPUT tp=tp ostate=ostate flags=flags
TA_USER req=req
TA_RESPOND tp=tp ostate=ostate flags=flags
TA_DROP tp=tp ostate=ostate flags=flags
seq=seq ack=ack len=len
rcvnxt=rcvnxt rcvwnd=rcvwnd snduna=snduna
sndmax=sndmax
sndw11=sndw11 sndw12=sndw12 sndwnd=sndwnd