Module constants

Module constants 

Source

Constants§

AF_ALG
AF_APPLETALK
AF_ASH
AF_ATMPVC
AF_ATMSVC
AF_AX25
AF_BLUETOOTH
AF_BRIDGE
AF_CAIF
AF_CAN
AF_DECNET
AF_ECONET
AF_IEEE802154
AF_INET
AF_INET6
AF_IPX
AF_IRDA
AF_ISDN
AF_IUCV
AF_KEY
AF_LLC
AF_NETBEUI
AF_NETLINK
AF_NETROM
AF_PACKET
AF_PHONET
AF_PPPOX
AF_RDS
AF_ROSE
AF_RXRPC
AF_SECURITY
AF_SNA
AF_TIPC
AF_UNIX
AF_UNSPEC
AF_WANPIPE
AF_X25
INET_DIAG_BBRINFO
INET_DIAG_CLASS_ID
INET_DIAG_CONG
INET_DIAG_DCTCPINFO
INET_DIAG_INFO
INET_DIAG_LOCALS
INET_DIAG_MARK
INET_DIAG_MD5SIG
INET_DIAG_MEMINFO
INET_DIAG_NONE
INET_DIAG_PAD
INET_DIAG_PEERS
INET_DIAG_PROTOCOL
INET_DIAG_SHUTDOWN
INET_DIAG_SKMEMINFO
INET_DIAG_SKV6ONLY
INET_DIAG_TCLASS
INET_DIAG_TOS
INET_DIAG_VEGASINFO
IPPROTO_AH
authentication header
IPPROTO_BEETPH
IP option pseudo header for BEET
IPPROTO_COMP
Compression Header Protocol
IPPROTO_DCCP
Datagram Congestion Control Protocol
IPPROTO_DSTOPTS
IPv6 destination options
IPPROTO_EGP
Exterior Gateway Protocol
IPPROTO_ENCAP
Encapsulation Header
IPPROTO_ESP
encapsulating security payload
IPPROTO_FRAGMENT
IPv6 fragmentation header
IPPROTO_GRE
General Routing Encapsulation
IPPROTO_HOPOPTS
IPv6 Hop-by-Hop options
IPPROTO_ICMP
Internet Control Message Protocol
IPPROTO_ICMPV6
ICMPv6
IPPROTO_IDP
XNS IDP protocol
IPPROTO_IGMP
Internet Group Management Protocol
IPPROTO_IP
Dummy protocol for TCP
IPPROTO_IPIP
IPIP tunnels (older KA9Q tunnels use 94)
IPPROTO_IPV6
IPv6 header
IPPROTO_MH
IPv6 mobility header
IPPROTO_MPLS
MPLS in IP
IPPROTO_MTP
Multicast Transport Protocol
IPPROTO_NONE
IPv6 no next header
IPPROTO_PIM
Protocol Independent Multicast
IPPROTO_PUP
PUP protocol
IPPROTO_RAW
Raw IP packets
IPPROTO_ROUTING
IPv6 routing header
IPPROTO_RSVP
Reservation Protocol
IPPROTO_SCTP
Stream Control Transmission Protocol
IPPROTO_TCP
Transmission Control Protocol
IPPROTO_TP
SO Transport Protocol Class 4
IPPROTO_UDP
User Datagram Protocol
IPPROTO_UDPLITE
UDP-Lite protocol
SHUT_RD
Shutdown state of a socket. A socket shut down with SHUT_RD can no longer receive data. See also man 2 shutdown.
SHUT_RDWR
Shutdown state of a socket. A socket shut down with SHUT_RDWR can no longer receive nor send data. See also man 2 shutdown.
SHUT_WR
Shutdown state of a socket. A socket shut down with SHUT_WR can no longer send data. See also man 2 shutdown.
SOCK_DESTROY
SOCK_DGRAM
Supports datagrams (connectionless, unreliable messages of a fixed maximum length).
SOCK_DIAG_BY_FAMILY
SOCK_PACKET
Obsolete and should not be used in new programs; see packet(7).
SOCK_RAW
Provides raw network protocol access.
SOCK_RDM
Provides a reliable datagram layer that does not guarantee ordering.
SOCK_SEQPACKET
Provides a sequenced, reliable, two-way connection-based data transmission path for datagrams of fixed maximum length; a consumer is required to read an entire packet with each input system call.
SOCK_STREAM
Provides sequenced, reliable, two-way, connection-based byte streams. An out-of-band data transmission mechanism may be supported.
TCPF_CA_CWR
TCPF_CA_DISORDER
TCPF_CA_LOSS
TCPF_CA_OPEN
TCPF_CA_RECOVERY
TCPI_OPT_ECN
ECN was negociated at TCP session init
TCPI_OPT_ECN_SEEN
We received at least one packet with ECT
TCPI_OPT_SACK
TCPI_OPT_SYN_DATA
SYN-ACK acked data in SYN sent or rcvd
TCPI_OPT_TIMESTAMPS
TCPI_OPT_WSCALE
TCP_CA_CWR
The sender enters Congestion Window Reduction (CWR) state when it has received ACKs with ECN-ECE marks, or has experienced congestion or packet discard on the sender host (e.g. qdisc).
TCP_CA_DISORDER
The sender enters disordered state when it has received DUPACKs or SACKs in the last round of packets sent. This could be due to packet loss or reordering but needs further information to confirm packets have been lost.
TCP_CA_LOSS
The sender is in loss recovery triggered by retransmission timeout.
TCP_CA_OPEN
Nothing bad has been observed recently. No apparent reordering, packet loss, or ECN marks.
TCP_CA_RECOVERY
The sender is in fast recovery and retransmitting lost packets, typically triggered by ACK events.
TCP_CLOSE
(both server and client) represents no connection state at all.
TCP_CLOSE_WAIT
(both server and client) represents waiting for a connection termination request from the local user.
TCP_CLOSING
(both server and client) represents waiting for a connection termination request acknowledgment from the remote TCP.
TCP_ESTABLISHED
(both server and client) represents an open connection, data received can be delivered to the user. The normal state for the data transfer phase of the connection.
TCP_FIN_WAIT1
(both server and client) represents waiting for a connection termination request from the remote TCP, or an acknowledgment of the connection termination request previously sent.
TCP_FIN_WAIT2
(both server and client) represents waiting for a connection termination request from the remote TCP.
TCP_LAST_ACK
(both server and client) represents waiting for an acknowledgment of the connection termination request previously sent to the remote TCP (which includes an acknowledgment of its connection termination request).
TCP_LISTEN
(server) represents waiting for a connection request from any remote TCP and port.
TCP_SYN_RECV
(server) represents waiting for a confirming connection request acknowledgment after having both received and sent a connection request.
TCP_SYN_SENT
(client) represents waiting for a matching connection request after having sent a connection request.
TCP_TIME_WAIT
(either server or client) represents waiting for enough time to pass to be sure the remote TCP received the acknowledgment of its connection termination request.
UDIAG_SHOW_ICONS
The attribute reported in answer to this request is UNIX_DIAG_ICONS, which information about pending connections. Specifically, it contains the inode numbers of the sockets that have passed the connect(2) call, but hasn’t been processed with accept(2) yet. This attribute is reported for listening sockets only.
UDIAG_SHOW_MEMINFO
The attribute reported in answer to this request is UNIX_DIAG_MEMINFO which shows memory information about the socket
UDIAG_SHOW_NAME
The attribute reported in answer to this request is UNIX_DIAG_NAME. The payload associated with this attribute is the pathname to which the socket was bound (a se quence of bytes up to UNIX_PATH_MAX length).
UDIAG_SHOW_PEER
The attribute reported in answer to this request is UNIX_DIAG_PEER, which carries the peer’s inode number. This attribute is reported for connected sockets only.
UDIAG_SHOW_RQLEN
The attribute reported in answer to this request is UNIX_DIAG_RQLEN, which reports:
UDIAG_SHOW_VFS
The attribute reported in answer to this request is UNIX_DIAG_VFS, which returns VFS information associated to the inode.
UNIX_DIAG_ICONS
UNIX_DIAG_MEMINFO
UNIX_DIAG_NAME
UNIX_DIAG_PEER
UNIX_DIAG_RQLEN
UNIX_DIAG_SHUTDOWN
UNIX_DIAG_VFS