R211x-HP Flexfabric 11900 Layer 3 - IP Services Command Reference
151
Field Description
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.
Connection info Source IP address and destination IP address.
Inpcb flags
Flags in the Internet PCB:
• INP_RECVOPTS—Receives IP options.
• INP_RECVRETOPTS—Receives replied IP options.
• INP_RECVDSTADDR—Receives destination IP address.
• INP_HDRINCL—Provides the entire IP header.
• INP_REUSEADDR—Reuses the IP address.
• INP_REUSEPORT—Reuses the port number.
• INP_ANONPORT—Port number not specified.
• INP_RECVIF—Records the input interface of the packet.
• INP_RECVTTL—Receives TTL of the packet. Only UDP and RawIP
support this flag.
• INP_DONTFRAG—Sets the Don't Fragment flag.
• INP_ROUTER_ALERT—Receives packets with the router alert option.
Only RawIP support this flag.
• INP_PROTOCOL_PACKET—Identifies a protocol packet.
• INP_RCVVLANID—Receives the VLAN ID of the packet. Only UDP
and RawIP support this flag.
• INP_RCVMACADDR—Receives the MAC address of the frame.
• INP_SNDBYLSPV—Sends through MPLS.
• INP_RECVTOS—Receives TOS of the packet. Only UDP and RawIP
support this flag.
• N/A—None of the above flags.
Inpcb vflag
IP version flags in the Internet PCB:
• INP_IPV4—IPv4 protocol.
• INP_TIMEWAIT—In TIMEWAIT state.
• INP_ONESBCAST—Sends broadcast packets.
• INP_DROPPED—Protocol dropped flag.
• INP_SOCKREF—Strong socket reference.
• INP_DONTBLOCK—Do not block synchronization of the Internet
PCB.
• N/A—None of the above flags.
TTL TTL value in the Internet PCB.










