[ Previous | Next | Table of Contents | Index | Library Home |
Legal |
Search ]
General Programming Concepts: Writing and Debugging Programs
The following trace hook IDs are
stored in the /usr/include/sys/trchkid.h file.
This event is recorded by a Data
Link Control (/dev/dlcether, /dev/dlcsdlc, or
/dev/dlctoken) when an attachment to a remote station is
started.
Recorded Data
LAN protocol physical
LAN
attachment name station
name
station address
LAN protocol
| Type of LAN protocol:
|
EthernetI
EEE_802.3
SDLC
Token_Ring
physical LAN
| Type of physical LAN:
|
EIA_RS232D
EIA_RS336
X_21
PC_Network_Broadband
Standard_Baseband_Ethernet
Smart_MODEM_Autodial
IEEE_802.3_Baseband_Ethernet
IEEE_802.4_Token_Bus
IEEE_802.5_Token_Ring
attachment name
| Name of attachment
|
station name
| Remote station name
- station address
- Remote station address.
|
This event is recorded by a Data
Link Control (/dev/dlcether, /dev/dlcsdlc, or
/dev/dlctoken) when an attachment to a remote station is
halted.
Recorded Data
LAN protocol physical
LAN
attachment name station
name
station address
LAN protocol
| Type of LAN protocol:
|
Ethernet
IEEE_802.3
SDLC
Token_Ring
physical LAN
| Type of Physical LAN:
|
EIA_RS232D
EIA_RS336
X_21
PC_Network_Broadband
Standard_Baseband_Ethernet
Smart_MODEM_Autodial
IEEE_802.3_Baseband_Ethernet
IEEE_802.4_Token_Bus
IEEE_802.5_Token_Ring
attachment name
| Name of attachment
|
station name
| Remote station name
- station address
- Remote station address.
|
This event is recorded by a Data
Link Control (/dev/dlcether, /dev/dlcsdlc, or
/dev/dlctoken) when an internal time expires.
Recorded Data
LAN protocol timer
type
LAN protocol
| Type of LAN protocol:
|
Ethernet
|
|
IEEE_802.3
|
|
SDLC
|
|
Token_Ring
|
|
timer type
| Type_of_Timer:
|
Slow_Station_Poll
|
|
Idle_Station_Poll
|
|
Link_Station_Aborted
|
|
Link_Station_Receive_Inactivity
|
|
Command_Fail_Safe
|
|
Command_Repoll
|
- I_Frame_Acknowledgement.
-
|
This event is recorded by a Data
Link Control (/dev/dlcether, /dev/dlcsdlc, or
/dev/dlctoken) when a packet is sent.
Recorded Data
LAN protocol header
data
LAN protocol
| Type of LAN protocol:
|
Ethernet
|
|
IEEE_802.3
|
|
SDLC
|
|
Token_Ring
|
- header data
- LAN header data.
|
This event is recorded by a Data
Link Control (/dev/dlcether, /dev/dlcsdlc, or
/dev/dlctoken) when a packet is received.
Recorded Data
LAN protocol header
data
LAN protocol
| Type of LAN protocol
|
header data
| LAN header data.
|
This event is recorded by a Data
Link Control (/dev/dlcether, /dev/dlcsdlc, or
/dev/dlctoken) at key points in the Data Link Control program to
record performance data. This trace hook will normally be used by the
LAN Administrator during DLC debug.
Recorded Data
event LAN protocol
Begin_Wait_Call
End_Wait_Call
Begin_Get_Rcv_Buffer
End_Get_Rcv_Buffer
Begin_HASH_Function
End_HASH_Function
Begin_Get_Transmit_Buffer
End_Get_Transmit_Buffer
Begin_Receive-Network_Data
Send_I_Frame_To_Device_Handler
Put_Write_Data_in_Xmit_Queue
Put_Write_XID_in_Xmit_Queue
T1_Timeout
T2_Timeout
T3_Timeout
Send_Start_to_Device_Handler
Receive_Discovery_Find_Command
Receive_Resolve_Find_Command
Open_Physical_Link
Device_Started
Send_Non_I_Frame_Data
Send_Datagram_Data
Send_Network_Data
T3_Abort_Timeout
LAN protocol
| Type of LAN protocol:
|
Ethernet
IEEE_802.3
SDLC
Token_Ring
This event is recorded by a Data
Link Control (/dev/dlcether, /dev/dlcsdlc, or
/dev/dlctoken) at key points in the Data Link Control program to
record input commands, commands sent to the device handler, packets sent and
packets received. This trace hook will normally be used by the LAN
administrator during DLC debug.
Recorded Data
LAN Protocol LAN activity
debug data
LAN protocol
| Type of LAN protocol:
|
Ethernet
IEEE_802.3
SDLC
Token_Ring
LAN activity
| Type of LAN activity:
|
Write_Command
Receive_Non_I_Data
Receive_I_Frame_Data
Input_Send_Command
Send_Command
Timer
Receive_Network_Data
This hook ID records TCP/IP
network error events. TCP/IP network error events are recorded by the
network interface layer, most of which are return status codes from network
adapter device drivers.
Recorded Data
Event:
NETERR CIO_OK
ifp=ifp
NETERR CIO_BAD_MICROCODE
ifp=ifp
NETERR CIO_BUF_OVFLW
ifp=ifp
NETERR CIO_HARD_FAIL
ifp=ifp
NETERR CIO_LOST_DATA
ifp=ifp
NETERR CIO_NOMBUF
ifp=ifp
NETERR CIO_NOT_STARTED
ifp=ifp
NETERR CIO_TIMEOUT
ifp=ifp
NETERR CIO_NET_RCVRY_ENTER
ifp=ifp
NETERR CIO_NET_RCVRY_EXIT
ifp=ifp
NETERR CIO_NET_RCVRY_MODE
ifp=ifp
NETERR CIO_INV_CMD
ifp=ifp
NETERR CIO_BAD_RANGE
ifp=ifp
NETERR CIO_NETID_INV
ifp=ifp
NETERR CIO_NETID_DUP
ifp=ifp
NETERR CIO_NETID_FULL
ifp=ifp
NETERR X25_BAD_CALL_ID
ifp=ifp
NETERR X25_CLEAR
ifp=ifp
NETERR X25_INV_CTR
ifp=ifp
NETERR X25_NAME_USED
ifp=ifp
NETERR X25_NOT_PVC
ifp=ifp
NETERR X25_NO_ACK
ifp=ifp
NETERR X25_NO_ACK_REQ
ifp=ifp
NETERR X25_NO_LINK
ifp=ifp
NETERR X25_NO_NAME
ifp=ifp
NETERR X25_PROTOCOL
ifp=ifp
NETERR X25_PVC_USED
ifp=ifp
NETERR X25_RESET
ifp=ifp
NETERR X25_TABLE
ifp=ifp
NETERR X25_TOO_MANY_VCS
ifp=ifp
NETERR X25_AUTH_LISTEN
ifp=ifp
NETERR X25_BAD_PKT_TYPE
ifp=ifp
NETERR X25_BAD_SESSION_TYPE
ifp=ifp
NETERR invalid xmit complete
intr ifp=ifp
NETERR if detach( ) fail
ifp=ifp
NETERR find_input_type( )
fail ifp=ifp
NETERR no mbufs
ifp=ifp
NETERR if not running
ifp=ifp
NETERR clear indication
ifp=ifp
NETERR unknown packet type
ifp=ifp
NETERR NET_XMIT_FAIL
ifp=ifp
NETERR NET_DETACH_FAIL
ifp=ifp
NETERR ARP, wrong header
ifp=ifp
NETERR ARP, unknown protocol
ifp=ifp
NETERR ARP, ip broadcast
address ifp=ifp
NETERR ARP, duplicate
address ifp=ifp
NETERR ARP, arp table full
ifp=ifp
ifp=ifp
| Address of network interface if structure.
|
This hook ID records socket-type
system call events. The socket layer records these events on entry and
exit to socket-type subroutines.
Event:
SOCKET socket
(domain, type,
protocol)
SOCKET bind
(s, name,
namelen)
SOCKET listen
(s, backlog)
SOCKET accept
(s, addr,
addrlen)
SOCKET connect
(s, name,
namelen)
SOCKET socketpair
(d, type,
protocol, sv)
SOCKET sendto
(s, msg,
len, flags,
to, tolen)
SOCKET send
(s, msg,
len, flags)
SOCKET sendmsg
(s, msg,
flags)
SOCKET recvfrom
(s, buf,
len, flags,
from, fromlen)
SOCKET recv
(s, buf,
len, flags)
SOCKET recvmsg
(s, msg,
flags)
SOCKET shutdown
(s, how)
SOCKET setsocketopt
(s, level,
optname, optval,
optlen)
SOCKET getsocketopt
(s, level,
optname, optval,
optlen)
SOCKET getsockname
(s, name,
namelen)
SOCKET getpeername
(s, name,
namelen)
SOCKET gethostid
SOCKET sethostid
(hostid)
SOCKET gethostname
(name, namelen)
SOCKET sethostname
(name, namelen)
SOCKET getdomainname
(name, namelen)
SOCKET setdomainname
(name, namelen)
domain
| Specifies an address format (Internet or the operating system
domain).
|
type
| Specifies semantics of communication (for example, stream or
datagram).
|
protocol
| Specifies a particular protocol to be used with the socket.
|
s
| Socket file descriptor.
|
name
| Name that the socket will be bound to.
|
namelen
| Length of the name.
|
backlog
| Defines the maximum length for the queue of pending connections.
|
addr
| Specifies the address of the connecting entry.
|
addrlen
| Contains the amount of space pointed to by the addr
parameter.
|
d
| Specifies the domain.
|
sv
| References new sockets.
|
msg
| Points to the message that will be sent.
|
len
| Specifies the length of the message.
|
flags
| Specifies the options to be used in sending the message.
|
to
| Specifies the address of the target.
|
tolen
| Specifies the size of the target.
|
buf
| Specifies the address where data is entered.
|
from
| Specifies the source address.
|
fromlen
| Initialized to the size of the buffer associated with the from
parameter.
|
how
| Determines the action of the shutdown is determined by the how
parameter.
|
level
| Specifies the level of the protocol (for example, socket or tcp).
|
optname
| Passed uninterpreted to the appropriate protocol.
|
optval
| Used to access option values.
|
optlen
| Used to access option values.
- hostid
- Integer identifying the host.
|
[ Previous | Next | Table of Contents | Index |
Library Home |
Legal |
Search ]