220
Field Description
• hiwat—Maximum space.
• lowat—Minimum space.
• state—Buffer state:
{ CANTSENDMORE—Unable to send data to the peer.
{ CANTRCVMORE—Unable to receive data from the peer.
{ RCVATMARK—Receiving tag.
{ N/A—None of the above states.
Sending
buffer(cc/hiwat/lowat/state)
Displays send buffer information in the following order:
• cc—Used space.
• hiwat—Maximum space.
• lowat—Minimum space.
• state—Buffer state:
{ CANTSENDMORE—Unable to send data to the peer.
{ CANTRCVMORE—Unable to receive data from the peer.
{ RCVATMARK—Receiving tag.
{ N/A—None of the above states.
Type
Socket type:
• 1—SOCK_STREAM. This socket uses TCP to provide reliable
transmission of byte streams.
• 2—SOCK_DGRAM. This socket uses UDP to provide datagram
transmission.
• 3—SOCK_RAW. This socket allows an application to change the next
upper-layer protocol header.
• N/A—None of the above types.
Protocol Number of the protocol using the socket. 6 represents TCP.
Connection info
Connection information, including source IPv6 address and port number,
and destination IPv6 address and port number.
Inpcb flags
Flags in the Internet PCB:
• INP_RECVOPTS—Receives IPv6 options.
• INP_RECVRETOPTS—Receives replied IPv6 options.
• INP_RECVDSTADDR—Receives destination IPv6 address.
• INP_HDRINCL—Provides the entire IPv6 header.
• INP_REUSEADDR—Reuses the IPv6 address.
• INP_REUSEPORT—Reuses the port number.
• INP_ANONPORT—Port number not specified.
• INP_PROTOCOL_PACKET—Identifies a protocol packet.
• INP_RCVVLANID—Receives the VLAN ID of the packet. Only UDP
and RawIP support this flag.
• IN6P_IPV6_V6ONLY—Only supports IPv6 protocol stack.
• IN6P_PKTINFO—Receives the source IPv6 address and input
interface of the packet.
• IN6P_HOPLIMIT—Receives the hop limit.
• IN6P_HOPOPTS—Receives the hop-by-hop options extension
header.
• IN6P_DSTOPTS—Receives the destination options extension header.
• IN6P_RTHDR—Receives the routing extension header.
• IN6P_RTHDRDSTOPTS—Receives the destination options extension
header preceding the routing extension header.
• IN6P_TCLASS—Receives the traffic class of the packet.
• IN6P_AUTOFLOWLABEL—Attaches a flow label automatically.
• IN6P_RFC2292—Uses the API specified in RFC 2292.