Module: Socket::Constants
| Relationships & Source Files | |
| Defined in: | ext/socket/constdefs.c |
Overview
Constants provides socket-related constants. All possible socket constants are listed in the documentation but they may not all be present on your platform.
If the underlying platform doesn’t define a constant the corresponding Ruby constant is not defined.
Constant Summary
-
AF_ALG =
# File 'ext/socket/constdefs.c', line 3145
Interface to kernel crypto API
INTEGER2NUM(AF_ALG)
-
AF_APPLETALK =
# File 'ext/socket/constdefs.c', line 2617
AppleTalk protocol
INTEGER2NUM(AF_APPLETALK)
-
AF_ATM =
# File 'ext/socket/constdefs.c', line 2953
Asynchronous Transfer Mode
INTEGER2NUM(AF_ATM)
-
AF_AX25 =
# File 'ext/socket/constdefs.c', line 2593
AX.25protocolINTEGER2NUM(AF_AX25)
-
AF_BLUETOOTH =
# File 'ext/socket/constdefs.c', line 3133
Bluetooth low-level socket protocol
INTEGER2NUM(AF_BLUETOOTH)
-
AF_CAN =
# File 'ext/socket/constdefs.c', line 3109
Controller Area Network automotive bus protocol
INTEGER2NUM(AF_CAN)
-
AF_CCITT =
# File 'ext/socket/constdefs.c', line 2737
CCITT (now ITU-T) protocols
INTEGER2NUM(AF_CCITT)
-
AF_CHAOS =
# File 'ext/socket/constdefs.c', line 2665
MIT CHAOS protocols
INTEGER2NUM(AF_CHAOS)
-
AF_CNT =
# File 'ext/socket/constdefs.c', line 2857
Computer Network Technology
INTEGER2NUM(AF_CNT)
-
AF_COIP =
# File 'ext/socket/constdefs.c', line 2845
Connection-oriented IP
INTEGER2NUM(AF_COIP)
-
AF_DATAKIT =
# File 'ext/socket/constdefs.c', line 2725
Datakit protocol
INTEGER2NUM(AF_DATAKIT)
-
AF_DEC =
# File 'ext/socket/constdefs.c', line 2761
DECnet protocol
INTEGER2NUM(AF_DEC)
-
AF_DECnet =
# File 'ext/socket/constdefs.c', line 2773
DECnet protocol
INTEGER2NUM(AF_DECnet)
-
AF_DLI =
# File 'ext/socket/constdefs.c', line 2785
DEC Direct Data Link Interface protocol
INTEGER2NUM(AF_DLI)
-
AF_E164 =
# File 'ext/socket/constdefs.c', line 3001
CCITT (ITU-T) E.164 recommendation
INTEGER2NUM(AF_E164)
-
AF_ECMA =
# File 'ext/socket/constdefs.c', line 2713
European Computer Manufacturers protocols
INTEGER2NUM(AF_ECMA)
-
AF_HYLINK =
# File 'ext/socket/constdefs.c', line 2809
NSC Hyperchannel protocol
INTEGER2NUM(AF_HYLINK)
-
AF_IB =
# File 'ext/socket/constdefs.c', line 3085
InfiniBand native addressing
INTEGER2NUM(AF_IB)
-
AF_IMPLINK =
# File 'ext/socket/constdefs.c', line 2641
ARPANET IMP protocol
INTEGER2NUM(AF_IMPLINK)
-
AF_INET =
# File 'ext/socket/constdefs.c', line 2553
IPv4 protocol
INTEGER2NUM(AF_INET)
-
AF_INET6 =
# File 'ext/socket/constdefs.c', line 2566
IPv6 protocol
INTEGER2NUM(AF_INET6)
-
AF_IPX =
# File 'ext/socket/constdefs.c', line 2605
IPX protocol
INTEGER2NUM(AF_IPX)
-
AF_ISDN =
# File 'ext/socket/constdefs.c', line 2893
Integrated Services Digital Network
INTEGER2NUM(AF_ISDN)
-
AF_ISO =
# File 'ext/socket/constdefs.c', line 2689
ISO Open Systems Interconnection protocols
INTEGER2NUM(AF_ISO)
-
AF_KCM =
# File 'ext/socket/constdefs.c', line 3169
KCM (kernel connection multiplexor) interface
INTEGER2NUM(AF_KCM)
-
AF_KEY =
# File 'ext/socket/constdefs.c', line 3025
Key management protocol, originally developed for usage with IPsec
INTEGER2NUM(AF_KEY)
-
AF_LAT =
# File 'ext/socket/constdefs.c', line 2797
Local Area Transport protocol
INTEGER2NUM(AF_LAT)
-
AF_LINK =
# File 'ext/socket/constdefs.c', line 2833
Link layer interface
INTEGER2NUM(AF_LINK)
-
AF_LLC =
# File 'ext/socket/constdefs.c', line 3073
Logical link control (IEEE 802.2 LLC) protocol
INTEGER2NUM(AF_LLC)
-
AF_LOCAL =
# File 'ext/socket/constdefs.c', line 2629
Host-internal protocols
INTEGER2NUM(AF_LOCAL)
-
AF_MAX =
# File 'ext/socket/constdefs.c', line 2977
Maximum address family for this platform
INTEGER2NUM(AF_MAX)
-
AF_MPLS =
# File 'ext/socket/constdefs.c', line 3097
Multiprotocol Label Switching
INTEGER2NUM(AF_MPLS)
-
AF_NATM =
# File 'ext/socket/constdefs.c', line 2905
Native ATM access
INTEGER2NUM(AF_NATM)
-
AF_NDRV =
# File 'ext/socket/constdefs.c', line 2881
Network driver raw access
INTEGER2NUM(AF_NDRV)
-
AF_NETBIOS =
# File 'ext/socket/constdefs.c', line 2929
NetBIOS
INTEGER2NUM(AF_NETBIOS)
-
AF_NETGRAPH =
# File 'ext/socket/constdefs.c', line 2965
Netgraph sockets
INTEGER2NUM(AF_NETGRAPH)
-
AF_NETLINK =
# File 'ext/socket/constdefs.c', line 3037
Kernel user interface device
INTEGER2NUM(AF_NETLINK)
-
AF_NS =
# File 'ext/socket/constdefs.c', line 2677
XEROX NS protocols
INTEGER2NUM(AF_NS)
-
AF_OSI =
# File 'ext/socket/constdefs.c', line 2701
ISO Open Systems Interconnection protocols
INTEGER2NUM(AF_OSI)
-
AF_PACKET =
# File 'ext/socket/constdefs.c', line 2989
Direct link-layer access
INTEGER2NUM(AF_PACKET)
-
AF_PPP =
# File 'ext/socket/constdefs.c', line 2941
Point-to-Point Protocol
INTEGER2NUM(AF_PPP)
-
AF_PPPOX =
# File 'ext/socket/constdefs.c', line 3061
Generic PPP transport layer, for setting up L2 tunnels (L2TP and PPPoE)
INTEGER2NUM(AF_PPPOX)
-
AF_PUP =
# File 'ext/socket/constdefs.c', line 2653
PARC Universal Packet protocol
INTEGER2NUM(AF_PUP)
-
AF_RDS =
# File 'ext/socket/constdefs.c', line 3049
Reliable Datagram Sockets (RDS) protocol
INTEGER2NUM(AF_RDS)
-
AF_ROUTE =
# File 'ext/socket/constdefs.c', line 2821
Internal routing protocol
INTEGER2NUM(AF_ROUTE)
-
AF_SIP =
# File 'ext/socket/constdefs.c', line 2869
Simple Internet Protocol
INTEGER2NUM(AF_SIP)
-
AF_SNA =
# File 'ext/socket/constdefs.c', line 2749
IBM SNA protocol
INTEGER2NUM(AF_SNA)
-
AF_SYSTEM =
# File 'ext/socket/constdefs.c', line 2917
Kernel event messages
INTEGER2NUM(AF_SYSTEM)
-
AF_TIPC =
# File 'ext/socket/constdefs.c', line 3121
TIPC, “cluster domain sockets” protocol
INTEGER2NUM(AF_TIPC)
-
AF_UNIX =
# File 'ext/socket/constdefs.c', line 2581
UNIX sockets
INTEGER2NUM(AF_UNIX)
-
AF_UNSPEC =
# File 'ext/socket/constdefs.c', line 2541
Unspecified protocol, any supported address family
INTEGER2NUM(AF_UNSPEC)
-
AF_VSOCK =
# File 'ext/socket/constdefs.c', line 3157
VSOCK (originally “VMWare VSockets”) protocol for hypervisor-guest communication
INTEGER2NUM(AF_VSOCK)
-
AF_XDP =
# File 'ext/socket/constdefs.c', line 3181
XDP (express data path) interface
INTEGER2NUM(AF_XDP)
-
AI_ADDRCONFIG =
# File 'ext/socket/constdefs.c', line 4627
Accept only if any address is assigned
INTEGER2NUM(AI_ADDRCONFIG)
-
AI_ALL =
# File 'ext/socket/constdefs.c', line 4615
Allow all addresses
INTEGER2NUM(AI_ALL)
-
AI_CANONNAME =
# File 'ext/socket/constdefs.c', line 4591
Fill in the canonical name
INTEGER2NUM(AI_CANONNAME)
-
AI_DEFAULT =
# File 'ext/socket/constdefs.c', line 4639
Default flags for getaddrinfo
INTEGER2NUM(AI_DEFAULT)
-
AI_MASK =
# File 'ext/socket/constdefs.c', line 4609
Valid flag mask for getaddrinfo (not for application use)
INTEGER2NUM(AI_MASK)
-
AI_NUMERICHOST =
# File 'ext/socket/constdefs.c', line 4597
Prevent host name resolution
INTEGER2NUM(AI_NUMERICHOST)
-
AI_NUMERICSERV =
# File 'ext/socket/constdefs.c', line 4603
Prevent service name resolution
INTEGER2NUM(AI_NUMERICSERV)
-
AI_PASSIVE =
# File 'ext/socket/constdefs.c', line 4585
Get address to use with bind()
INTEGER2NUM(AI_PASSIVE)
-
AI_V4MAPPED =
# File 'ext/socket/constdefs.c', line 4633
Accept IPv4-mapped IPv6 addresses
INTEGER2NUM(AI_V4MAPPED)
-
AI_V4MAPPED_CFG =
# File 'ext/socket/constdefs.c', line 4621
Accept IPv4 mapped addresses if the kernel supports it
INTEGER2NUM(AI_V4MAPPED_CFG)
-
EAI_ADDRFAMILY =
# File 'ext/socket/constdefs.c', line 4495
Address family for hostname not supported
INTEGER2NUM(EAI_ADDRFAMILY)
-
EAI_AGAIN =
# File 'ext/socket/constdefs.c', line 4501
Temporary failure in name resolution
INTEGER2NUM(EAI_AGAIN)
-
EAI_BADFLAGS =
# File 'ext/socket/constdefs.c', line 4507
Invalid flags
INTEGER2NUM(EAI_BADFLAGS)
-
EAI_BADHINTS =
# File 'ext/socket/constdefs.c', line 4567
Invalid value for hints
INTEGER2NUM(EAI_BADHINTS)
-
EAI_FAIL =
# File 'ext/socket/constdefs.c', line 4513
Non-recoverable failure in name resolution
INTEGER2NUM(EAI_FAIL)
-
EAI_FAMILY =
# File 'ext/socket/constdefs.c', line 4519
Address family not supported
INTEGER2NUM(EAI_FAMILY)
-
EAI_MAX =
# File 'ext/socket/constdefs.c', line 4579
Maximum error code from getaddrinfo
INTEGER2NUM(EAI_MAX)
-
EAI_MEMORY =
# File 'ext/socket/constdefs.c', line 4525
Memory allocation failure
INTEGER2NUM(EAI_MEMORY)
-
EAI_NODATA =
# File 'ext/socket/constdefs.c', line 4531
No address associated with hostname
INTEGER2NUM(EAI_NODATA)
-
EAI_NONAME =
# File 'ext/socket/constdefs.c', line 4537
Hostname nor servname, or not known
INTEGER2NUM(EAI_NONAME)
-
EAI_OVERFLOW =
# File 'ext/socket/constdefs.c', line 4543
Argument buffer overflow
INTEGER2NUM(EAI_OVERFLOW)
-
EAI_PROTOCOL =
# File 'ext/socket/constdefs.c', line 4573
Resolved protocol is unknown
INTEGER2NUM(EAI_PROTOCOL)
-
EAI_SERVICE =
# File 'ext/socket/constdefs.c', line 4549
Servname not supported for socket type
INTEGER2NUM(EAI_SERVICE)
-
EAI_SOCKTYPE =
# File 'ext/socket/constdefs.c', line 4555
Socket type not supported
INTEGER2NUM(EAI_SOCKTYPE)
-
EAI_SYSTEM =
# File 'ext/socket/constdefs.c', line 4561
System error returned in errno
INTEGER2NUM(EAI_SYSTEM)
-
IFF_802_1Q_VLAN =
# File 'ext/socket/constdefs.c', line 5023
802.1Q VLAN device
INTEGER2NUM(IFF_802_1Q_VLAN)
-
IFF_ALLMULTI =
# File 'ext/socket/constdefs.c', line 5029
receive all multicast packets
INTEGER2NUM(IFF_ALLMULTI)
-
IFF_ALTPHYS =
# File 'ext/socket/constdefs.c', line 5035
use alternate physical connection
INTEGER2NUM(IFF_ALTPHYS)
-
IFF_AUTOMEDIA =
# File 'ext/socket/constdefs.c', line 5041
auto media select active
INTEGER2NUM(IFF_AUTOMEDIA)
-
IFF_BONDING =
# File 'ext/socket/constdefs.c', line 5047
bonding master or slave
INTEGER2NUM(IFF_BONDING)
-
IFF_BRIDGE_PORT =
# File 'ext/socket/constdefs.c', line 5053
device used as bridge port
INTEGER2NUM(IFF_BRIDGE_PORT)
-
IFF_BROADCAST =
# File 'ext/socket/constdefs.c', line 5059
broadcast address valid
INTEGER2NUM(IFF_BROADCAST)
-
IFF_CANTCHANGE =
# File 'ext/socket/constdefs.c', line 5365
flags not changeable
INTEGER2NUM(IFF_CANTCHANGE)
-
IFF_CANTCONFIG =
# File 'ext/socket/constdefs.c', line 5065
unconfigurable using ioctl(2)
INTEGER2NUM(IFF_CANTCONFIG)
-
IFF_DEBUG =
# File 'ext/socket/constdefs.c', line 5071
turn on debugging
INTEGER2NUM(IFF_DEBUG)
-
IFF_DISABLE_NETPOLL =
# File 'ext/socket/constdefs.c', line 5077
disable netpoll at run-time
INTEGER2NUM(IFF_DISABLE_NETPOLL)
-
IFF_DONT_BRIDGE =
# File 'ext/socket/constdefs.c', line 5083
disallow bridging this ether dev
INTEGER2NUM(IFF_DONT_BRIDGE)
-
IFF_DORMANT =
# File 'ext/socket/constdefs.c', line 5089
driver signals dormant
INTEGER2NUM(IFF_DORMANT)
-
IFF_DRV_OACTIVE =
# File 'ext/socket/constdefs.c', line 5095
tx hardware queue is full
INTEGER2NUM(IFF_DRV_OACTIVE)
-
IFF_DRV_RUNNING =
# File 'ext/socket/constdefs.c', line 5101
resources allocated
INTEGER2NUM(IFF_DRV_RUNNING)
-
IFF_DYING =
# File 'ext/socket/constdefs.c', line 5107
interface is winding down
INTEGER2NUM(IFF_DYING)
-
IFF_DYNAMIC =
# File 'ext/socket/constdefs.c', line 5113
dialup device with changing addresses
INTEGER2NUM(IFF_DYNAMIC)
-
IFF_EBRIDGE =
# File 'ext/socket/constdefs.c', line 5119
ethernet bridging device
INTEGER2NUM(IFF_EBRIDGE)
-
IFF_ECHO =
# File 'ext/socket/constdefs.c', line 5125
echo sent packets
INTEGER2NUM(IFF_ECHO)
-
IFF_ISATAP =
# File 'ext/socket/constdefs.c', line 5131
ISATAP interface (RFC4214)
INTEGER2NUM(IFF_ISATAP)
-
IFF_LINK0 =
# File 'ext/socket/constdefs.c', line 5137
per link layer defined bit 0
INTEGER2NUM(IFF_LINK0)
-
IFF_LINK1 =
# File 'ext/socket/constdefs.c', line 5143
per link layer defined bit 1
INTEGER2NUM(IFF_LINK1)
-
IFF_LINK2 =
# File 'ext/socket/constdefs.c', line 5149
per link layer defined bit 2
INTEGER2NUM(IFF_LINK2)
-
IFF_LIVE_ADDR_CHANGE =
# File 'ext/socket/constdefs.c', line 5155
hardware address change when it’s running
INTEGER2NUM(IFF_LIVE_ADDR_CHANGE)
-
IFF_LOOPBACK =
# File 'ext/socket/constdefs.c', line 5161
loopback net
INTEGER2NUM(IFF_LOOPBACK)
-
IFF_LOWER_UP =
# File 'ext/socket/constdefs.c', line 5167
driver signals L1 up
INTEGER2NUM(IFF_LOWER_UP)
-
IFF_MACVLAN_PORT =
# File 'ext/socket/constdefs.c', line 5173
device used as macvlan port
INTEGER2NUM(IFF_MACVLAN_PORT)
-
IFF_MASTER =
# File 'ext/socket/constdefs.c', line 5179
master of a load balancer
INTEGER2NUM(IFF_MASTER)
-
IFF_MASTER_8023AD =
# File 'ext/socket/constdefs.c', line 5185
bonding master, 802.3ad.
INTEGER2NUM(IFF_MASTER_8023AD)
-
IFF_MASTER_ALB =
# File 'ext/socket/constdefs.c', line 5191
bonding master, balance-alb.
INTEGER2NUM(IFF_MASTER_ALB)
-
IFF_MASTER_ARPMON =
# File 'ext/socket/constdefs.c', line 5197
bonding master, ARP mon in use
INTEGER2NUM(IFF_MASTER_ARPMON)
-
IFF_MONITOR =
# File 'ext/socket/constdefs.c', line 5203
user-requested monitor mode
INTEGER2NUM(IFF_MONITOR)
-
IFF_MULTICAST =
# File 'ext/socket/constdefs.c', line 5209
supports multicast
INTEGER2NUM(IFF_MULTICAST)
-
IFF_NOARP =
# File 'ext/socket/constdefs.c', line 5215
no address resolution protocol
INTEGER2NUM(IFF_NOARP)
-
IFF_NOTRAILERS =
# File 'ext/socket/constdefs.c', line 5221
avoid use of trailers
INTEGER2NUM(IFF_NOTRAILERS)
-
IFF_OACTIVE =
# File 'ext/socket/constdefs.c', line 5227
transmission in progress
INTEGER2NUM(IFF_OACTIVE)
-
IFF_OVS_DATAPATH =
# File 'ext/socket/constdefs.c', line 5233
device used as Open vSwitch datapath port
INTEGER2NUM(IFF_OVS_DATAPATH)
-
IFF_POINTOPOINT =
# File 'ext/socket/constdefs.c', line 5239
point-to-point link
INTEGER2NUM(IFF_POINTOPOINT)
-
IFF_PORTSEL =
# File 'ext/socket/constdefs.c', line 5245
can set media type
INTEGER2NUM(IFF_PORTSEL)
-
IFF_PPROMISC =
# File 'ext/socket/constdefs.c', line 5251
user-requested promisc mode
INTEGER2NUM(IFF_PPROMISC)
-
IFF_PROMISC =
# File 'ext/socket/constdefs.c', line 5257
receive all packets
INTEGER2NUM(IFF_PROMISC)
-
IFF_RENAMING =
# File 'ext/socket/constdefs.c', line 5263
interface is being renamed
INTEGER2NUM(IFF_RENAMING)
-
IFF_ROUTE =
# File 'ext/socket/constdefs.c', line 5269
routing entry installed
INTEGER2NUM(IFF_ROUTE)
-
IFF_RUNNING =
# File 'ext/socket/constdefs.c', line 5275
resources allocated
INTEGER2NUM(IFF_RUNNING)
-
IFF_SIMPLEX =
# File 'ext/socket/constdefs.c', line 5281
can’t hear own transmissions
INTEGER2NUM(IFF_SIMPLEX)
-
IFF_SLAVE =
# File 'ext/socket/constdefs.c', line 5287
slave of a load balancer
INTEGER2NUM(IFF_SLAVE)
-
IFF_SLAVE_INACTIVE =
# File 'ext/socket/constdefs.c', line 5293
bonding slave not the curr. active
INTEGER2NUM(IFF_SLAVE_INACTIVE)
-
IFF_SLAVE_NEEDARP =
# File 'ext/socket/constdefs.c', line 5299
need ARPs for validation
INTEGER2NUM(IFF_SLAVE_NEEDARP)
-
IFF_SMART =
# File 'ext/socket/constdefs.c', line 5305
interface manages own routes
INTEGER2NUM(IFF_SMART)
-
IFF_STATICARP =
# File 'ext/socket/constdefs.c', line 5311
static ARP
INTEGER2NUM(IFF_STATICARP)
-
IFF_SUPP_NOFCS =
# File 'ext/socket/constdefs.c', line 5317
sending custom FCS
INTEGER2NUM(IFF_SUPP_NOFCS)
-
IFF_TEAM_PORT =
# File 'ext/socket/constdefs.c', line 5323
used as team port
INTEGER2NUM(IFF_TEAM_PORT)
-
IFF_TX_SKB_SHARING =
# File 'ext/socket/constdefs.c', line 5329
sharing skbs on transmit
INTEGER2NUM(IFF_TX_SKB_SHARING)
-
IFF_UNICAST_FLT =
# File 'ext/socket/constdefs.c', line 5335
unicast filtering
INTEGER2NUM(IFF_UNICAST_FLT)
-
IFF_UP =
# File 'ext/socket/constdefs.c', line 5341
interface is up
INTEGER2NUM(IFF_UP)
-
IFF_VOLATILE =
# File 'ext/socket/constdefs.c', line 5359
volatile flags
INTEGER2NUM(IFF_VOLATILE)
-
IFF_WAN_HDLC =
# File 'ext/socket/constdefs.c', line 5347
WAN HDLC device
INTEGER2NUM(IFF_WAN_HDLC)
-
IFF_XMIT_DST_RELEASE =
# File 'ext/socket/constdefs.c', line 5353
dev_hard_start_xmit() is allowed to release skb->dst
INTEGER2NUM(IFF_XMIT_DST_RELEASE)
-
IFNAMSIZ =
# File 'ext/socket/constdefs.c', line 4933
Maximum interface name size
INTEGER2NUM(IFNAMSIZ)
-
IF_NAMESIZE =
# File 'ext/socket/constdefs.c', line 4939
Maximum interface name size
INTEGER2NUM(IF_NAMESIZE)
-
INADDR_ALLHOSTS_GROUP =
# File 'ext/socket/constdefs.c', line 3571
Multicast group for all systems on this subset
INTEGER2NUM(INADDR_ALLHOSTS_GROUP)
-
INADDR_ANY =
# File 'ext/socket/constdefs.c', line 3547
A socket bound to
INADDR_ANYreceives packets from all interfaces and sends from the default IP addressINTEGER2NUM(INADDR_ANY)
-
INADDR_BROADCAST =
# File 'ext/socket/constdefs.c', line 3553
The network broadcast address
INTEGER2NUM(INADDR_BROADCAST)
-
INADDR_LOOPBACK =
# File 'ext/socket/constdefs.c', line 3559
The loopback address
INTEGER2NUM(INADDR_LOOPBACK)
-
INADDR_MAX_LOCAL_GROUP =
# File 'ext/socket/constdefs.c', line 3577
The last local network multicast group
INTEGER2NUM(INADDR_MAX_LOCAL_GROUP)
-
INADDR_NONE =
# File 'ext/socket/constdefs.c', line 3583
A bitmask for matching no valid IP address
INTEGER2NUM(INADDR_NONE)
-
INADDR_UNSPEC_GROUP =
# File 'ext/socket/constdefs.c', line 3565
The reserved multicast group
INTEGER2NUM(INADDR_UNSPEC_GROUP)
-
INET6_ADDRSTRLEN =
# File 'ext/socket/constdefs.c', line 4927
Maximum length of an IPv6 address string
INTEGER2NUM(INET6_ADDRSTRLEN)
-
INET_ADDRSTRLEN =
# File 'ext/socket/constdefs.c', line 4921
Maximum length of an IPv4 address string
INTEGER2NUM(INET_ADDRSTRLEN)
-
IPPORT_RESERVED =
# File 'ext/socket/constdefs.c', line 3535
Default minimum address for bind or connect
INTEGER2NUM(IPPORT_RESERVED)
-
IPPORT_USERRESERVED =
# File 'ext/socket/constdefs.c', line 3541
Default maximum address for bind or connect
INTEGER2NUM(IPPORT_USERRESERVED)
-
IPPROTO_AH =
# File 'ext/socket/constdefs.c', line 3469
IP6 auth header
INTEGER2NUM(IPPROTO_AH)
-
IPPROTO_BIP =
# File 'ext/socket/constdefs.c', line 3463
IPPROTO_BIPINTEGER2NUM(IPPROTO_BIP)
-
IPPROTO_DSTOPTS =
# File 'ext/socket/constdefs.c', line 3475
IP6 destination option
INTEGER2NUM(IPPROTO_DSTOPTS)
-
IPPROTO_EGP =
# File 'ext/socket/constdefs.c', line 3409
Exterior Gateway Protocol
INTEGER2NUM(IPPROTO_EGP)
-
IPPROTO_EON =
# File 'ext/socket/constdefs.c', line 3457
ISO cnlp
INTEGER2NUM(IPPROTO_EON)
-
IPPROTO_ESP =
# File 'ext/socket/constdefs.c', line 3481
IP6 Encapsulated Security Payload
INTEGER2NUM(IPPROTO_ESP)
-
IPPROTO_FRAGMENT =
# File 'ext/socket/constdefs.c', line 3487
IP6 fragmentation header
INTEGER2NUM(IPPROTO_FRAGMENT)
-
IPPROTO_GGP =
# File 'ext/socket/constdefs.c', line 3397
Gateway to Gateway Protocol
INTEGER2NUM(IPPROTO_GGP)
-
IPPROTO_HELLO =
# File 'ext/socket/constdefs.c', line 3433
“hello” routing protocol
INTEGER2NUM(IPPROTO_HELLO)
-
IPPROTO_HOPOPTS =
# File 'ext/socket/constdefs.c', line 3493
IP6 hop-by-hop options
INTEGER2NUM(IPPROTO_HOPOPTS)
-
IPPROTO_ICMP =
# File 'ext/socket/constdefs.c', line 3385
Control message protocol
INTEGER2NUM(IPPROTO_ICMP)
-
IPPROTO_ICMPV6 =
# File 'ext/socket/constdefs.c', line 3499
ICMP6
INTEGER2NUM(IPPROTO_ICMPV6)
-
IPPROTO_IDP =
# File 'ext/socket/constdefs.c', line 3427
XNS IDP
INTEGER2NUM(IPPROTO_IDP)
-
IPPROTO_IGMP =
# File 'ext/socket/constdefs.c', line 3391
Group Management Protocol
INTEGER2NUM(IPPROTO_IGMP)
-
IPPROTO_IP =
# File 'ext/socket/constdefs.c', line 3379
Dummy protocol for IP
INTEGER2NUM(IPPROTO_IP)
-
IPPROTO_IPV6 =
# File 'ext/socket/constdefs.c', line 3505
IP6 header
INTEGER2NUM(IPPROTO_IPV6)
-
IPPROTO_MAX =
# File 'ext/socket/constdefs.c', line 3529
Maximum IPPROTO constant
INTEGER2NUM(IPPROTO_MAX)
-
IPPROTO_ND =
# File 'ext/socket/constdefs.c', line 3439
Sun net disk protocol
INTEGER2NUM(IPPROTO_ND)
-
IPPROTO_NONE =
# File 'ext/socket/constdefs.c', line 3511
IP6 no next header
INTEGER2NUM(IPPROTO_NONE)
-
IPPROTO_PUP =
# File 'ext/socket/constdefs.c', line 3415
PARC Universal Packet protocol
INTEGER2NUM(IPPROTO_PUP)
-
IPPROTO_RAW =
# File 'ext/socket/constdefs.c', line 3523
Raw IP packet
INTEGER2NUM(IPPROTO_RAW)
-
IPPROTO_ROUTING =
# File 'ext/socket/constdefs.c', line 3517
IP6 routing header
INTEGER2NUM(IPPROTO_ROUTING)
-
IPPROTO_TCP =
# File 'ext/socket/constdefs.c', line 3403
TCP
INTEGER2NUM(IPPROTO_TCP)
-
IPPROTO_TP =
# File 'ext/socket/constdefs.c', line 3445
ISO transport protocol class 4
INTEGER2NUM(IPPROTO_TP)
-
IPPROTO_UDP =
# File 'ext/socket/constdefs.c', line 3421
UDP
INTEGER2NUM(IPPROTO_UDP)
-
IPPROTO_XTP =
# File 'ext/socket/constdefs.c', line 3451
Xpress Transport Protocol
INTEGER2NUM(IPPROTO_XTP)
-
IPV6_CHECKSUM =
# File 'ext/socket/constdefs.c', line 4762
Checksum offset for raw sockets
INTEGER2NUM(IPV6_CHECKSUM)
-
IPV6_DONTFRAG =
# File 'ext/socket/constdefs.c', line 4770
Don’t fragment packets
INTEGER2NUM(IPV6_DONTFRAG)
-
IPV6_DSTOPTS =
# File 'ext/socket/constdefs.c', line 4778
Destination option
INTEGER2NUM(IPV6_DSTOPTS)
-
IPV6_HOPLIMIT =
# File 'ext/socket/constdefs.c', line 4786
Hop limit
INTEGER2NUM(IPV6_HOPLIMIT)
-
IPV6_HOPOPTS =
# File 'ext/socket/constdefs.c', line 4794
Hop-by-hop option
INTEGER2NUM(IPV6_HOPOPTS)
-
IPV6_JOIN_GROUP =
# File 'ext/socket/constdefs.c', line 4706
Join a group membership
INTEGER2NUM(IPV6_JOIN_GROUP)
-
IPV6_LEAVE_GROUP =
# File 'ext/socket/constdefs.c', line 4714
Leave a group membership
INTEGER2NUM(IPV6_LEAVE_GROUP)
-
IPV6_MULTICAST_HOPS =
# File 'ext/socket/constdefs.c', line 4722
IP6 multicast hops
INTEGER2NUM(IPV6_MULTICAST_HOPS)
-
IPV6_MULTICAST_IF =
# File 'ext/socket/constdefs.c', line 4730
IP6 multicast interface
INTEGER2NUM(IPV6_MULTICAST_IF)
-
IPV6_MULTICAST_LOOP =
# File 'ext/socket/constdefs.c', line 4738
IP6 multicast loopback
INTEGER2NUM(IPV6_MULTICAST_LOOP)
-
IPV6_NEXTHOP =
# File 'ext/socket/constdefs.c', line 4802
Next hop address
INTEGER2NUM(IPV6_NEXTHOP)
-
IPV6_PATHMTU =
# File 'ext/socket/constdefs.c', line 4810
Retrieve current path MTU
INTEGER2NUM(IPV6_PATHMTU)
-
IPV6_PKTINFO =
# File 'ext/socket/constdefs.c', line 4818
Receive packet information with datagram
INTEGER2NUM(IPV6_PKTINFO)
-
IPV6_RECVDSTOPTS =
# File 'ext/socket/constdefs.c', line 4826
Receive all IP6 options for response
INTEGER2NUM(IPV6_RECVDSTOPTS)
-
IPV6_RECVHOPLIMIT =
# File 'ext/socket/constdefs.c', line 4834
Receive hop limit with datagram
INTEGER2NUM(IPV6_RECVHOPLIMIT)
-
IPV6_RECVHOPOPTS =
# File 'ext/socket/constdefs.c', line 4842
Receive hop-by-hop options
INTEGER2NUM(IPV6_RECVHOPOPTS)
-
IPV6_RECVPATHMTU =
# File 'ext/socket/constdefs.c', line 4898
Receive current path MTU with datagram
INTEGER2NUM(IPV6_RECVPATHMTU)
-
IPV6_RECVPKTINFO =
# File 'ext/socket/constdefs.c', line 4850
Receive destination IP address and incoming interface
INTEGER2NUM(IPV6_RECVPKTINFO)
-
IPV6_RECVRTHDR =
# File 'ext/socket/constdefs.c', line 4858
Receive routing header
INTEGER2NUM(IPV6_RECVRTHDR)
-
IPV6_RECVTCLASS =
# File 'ext/socket/constdefs.c', line 4866
Receive traffic class
INTEGER2NUM(IPV6_RECVTCLASS)
-
IPV6_RTHDR =
# File 'ext/socket/constdefs.c', line 4874
Allows removal of sticky routing headers
INTEGER2NUM(IPV6_RTHDR)
-
IPV6_RTHDRDSTOPTS =
# File 'ext/socket/constdefs.c', line 4882
Allows removal of sticky destination options header
INTEGER2NUM(IPV6_RTHDRDSTOPTS)
-
IPV6_RTHDR_TYPE_0 =
# File 'ext/socket/constdefs.c', line 4890
Routing header type 0
INTEGER2NUM(IPV6_RTHDR_TYPE_0)
-
IPV6_TCLASS =
# File 'ext/socket/constdefs.c', line 4906
Specify the traffic class
INTEGER2NUM(IPV6_TCLASS)
-
IPV6_UNICAST_HOPS =
# File 'ext/socket/constdefs.c', line 4746
IP6 unicast hops
INTEGER2NUM(IPV6_UNICAST_HOPS)
-
IPV6_USE_MIN_MTU =
# File 'ext/socket/constdefs.c', line 4914
Use the minimum MTU size
INTEGER2NUM(IPV6_USE_MIN_MTU)
-
IPV6_V6ONLY =
# File 'ext/socket/constdefs.c', line 4754
Only bind IPv6 with a wildcard bind
INTEGER2NUM(IPV6_V6ONLY)
-
IPX_TYPE =
# File 'ext/socket/constdefs.c', line 4315
IPX_TYPEINTEGER2NUM(IPX_TYPE)
-
IP_ADD_MEMBERSHIP =
# File 'ext/socket/constdefs.c', line 3703
Add a multicast group membership
INTEGER2NUM(IP_ADD_MEMBERSHIP)
-
IP_ADD_SOURCE_MEMBERSHIP =
# File 'ext/socket/constdefs.c', line 3835
Add a multicast group membership
INTEGER2NUM(IP_ADD_SOURCE_MEMBERSHIP)
-
IP_BLOCK_SOURCE =
# File 'ext/socket/constdefs.c', line 3829
Block IPv4 multicast packets with a give source address
INTEGER2NUM(IP_BLOCK_SOURCE)
-
IP_DEFAULT_MULTICAST_LOOP =
# File 'ext/socket/constdefs.c', line 3721
Default multicast loopback
INTEGER2NUM(IP_DEFAULT_MULTICAST_LOOP)
-
IP_DEFAULT_MULTICAST_TTL =
# File 'ext/socket/constdefs.c', line 3715
Default multicast TTL
INTEGER2NUM(IP_DEFAULT_MULTICAST_TTL)
-
IP_DONTFRAG =
# File 'ext/socket/constdefs.c', line 3643
Don’t fragment packets
INTEGER2NUM(IP_DONTFRAG)
-
IP_DROP_MEMBERSHIP =
# File 'ext/socket/constdefs.c', line 3709
Drop a multicast group membership
INTEGER2NUM(IP_DROP_MEMBERSHIP)
-
IP_DROP_SOURCE_MEMBERSHIP =
# File 'ext/socket/constdefs.c', line 3841
Drop a multicast group membership
INTEGER2NUM(IP_DROP_SOURCE_MEMBERSHIP)
-
IP_FREEBIND =
# File 'ext/socket/constdefs.c', line 3775
Allow binding to nonexistent IP addresses
INTEGER2NUM(IP_FREEBIND)
-
IP_HDRINCL =
# File 'ext/socket/constdefs.c', line 3595
Header is included with data
INTEGER2NUM(IP_HDRINCL)
-
IP_IPSEC_POLICY =
# File 'ext/socket/constdefs.c', line 3781
IPsec security policy
INTEGER2NUM(IP_IPSEC_POLICY)
-
IP_MAX_MEMBERSHIPS =
# File 'ext/socket/constdefs.c', line 3727
Maximum number multicast groups a socket can join
INTEGER2NUM(IP_MAX_MEMBERSHIPS)
-
IP_MINTTL =
# File 'ext/socket/constdefs.c', line 3637
Minimum TTL allowed for received packets
INTEGER2NUM(IP_MINTTL)
-
IP_MSFILTER =
# File 'ext/socket/constdefs.c', line 3847
Multicast source filtering
INTEGER2NUM(IP_MSFILTER)
-
IP_MTU =
# File 'ext/socket/constdefs.c', line 3769
The Maximum Transmission Unit of the socket
INTEGER2NUM(IP_MTU)
-
IP_MTU_DISCOVER =
# File 'ext/socket/constdefs.c', line 3751
Path MTU discovery
INTEGER2NUM(IP_MTU_DISCOVER)
-
IP_MULTICAST_IF =
# File 'ext/socket/constdefs.c', line 3685
IP multicast interface
INTEGER2NUM(IP_MULTICAST_IF)
-
IP_MULTICAST_LOOP =
# File 'ext/socket/constdefs.c', line 3697
IP multicast loopback
INTEGER2NUM(IP_MULTICAST_LOOP)
-
IP_MULTICAST_TTL =
# File 'ext/socket/constdefs.c', line 3691
IP multicast TTL
INTEGER2NUM(IP_MULTICAST_TTL)
-
IP_ONESBCAST =
# File 'ext/socket/constdefs.c', line 3655
Force outgoing broadcast datagrams to have the undirected broadcast address
INTEGER2NUM(IP_ONESBCAST)
-
IP_OPTIONS =
# File 'ext/socket/constdefs.c', line 3589
IP options to be included in packets
INTEGER2NUM(IP_OPTIONS)
-
IP_PASSSEC =
# File 'ext/socket/constdefs.c', line 3793
Retrieve security context with datagram
INTEGER2NUM(IP_PASSSEC)
-
IP_PKTINFO =
# File 'ext/socket/constdefs.c', line 3739
Receive packet information with datagrams
INTEGER2NUM(IP_PKTINFO)
-
IP_PKTOPTIONS =
# File 'ext/socket/constdefs.c', line 3745
Receive packet options with datagrams
INTEGER2NUM(IP_PKTOPTIONS)
-
IP_PMTUDISC_DO =
# File 'ext/socket/constdefs.c', line 3817
Always send DF frames
INTEGER2NUM(IP_PMTUDISC_DO)
-
IP_PMTUDISC_DONT =
# File 'ext/socket/constdefs.c', line 3805
Never send DF frames
INTEGER2NUM(IP_PMTUDISC_DONT)
-
IP_PMTUDISC_WANT =
# File 'ext/socket/constdefs.c', line 3811
Use per-route hints
INTEGER2NUM(IP_PMTUDISC_WANT)
-
IP_PORTRANGE =
# File 'ext/socket/constdefs.c', line 3679
Set the port range for sockets with unspecified port numbers
INTEGER2NUM(IP_PORTRANGE)
-
IP_RECVDSTADDR =
# File 'ext/socket/constdefs.c', line 3625
Receive IP destination address with datagram
INTEGER2NUM(IP_RECVDSTADDR)
-
IP_RECVERR =
# File 'ext/socket/constdefs.c', line 3757
Enable extended reliable error message passing
INTEGER2NUM(IP_RECVERR)
-
IP_RECVIF =
# File 'ext/socket/constdefs.c', line 3667
Receive interface information with datagrams
INTEGER2NUM(IP_RECVIF)
-
IP_RECVOPTS =
# File 'ext/socket/constdefs.c', line 3613
Receive all IP options with datagram
INTEGER2NUM(IP_RECVOPTS)
-
IP_RECVRETOPTS =
# File 'ext/socket/constdefs.c', line 3619
Receive all IP options for response
INTEGER2NUM(IP_RECVRETOPTS)
-
IP_RECVSLLA =
# File 'ext/socket/constdefs.c', line 3673
Receive link-layer address with datagrams
INTEGER2NUM(IP_RECVSLLA)
-
IP_RECVTOS =
# File 'ext/socket/constdefs.c', line 3763
Receive TOS with incoming packets
INTEGER2NUM(IP_RECVTOS)
-
IP_RECVTTL =
# File 'ext/socket/constdefs.c', line 3661
Receive IP TTL with datagrams
INTEGER2NUM(IP_RECVTTL)
-
IP_RETOPTS =
# File 'ext/socket/constdefs.c', line 3631
IP options to be included in datagrams
INTEGER2NUM(IP_RETOPTS)
-
IP_ROUTER_ALERT =
# File 'ext/socket/constdefs.c', line 3733
Notify transit routers to more closely examine the contents of an IP packet
INTEGER2NUM(IP_ROUTER_ALERT)
-
IP_SENDSRCADDR =
# File 'ext/socket/constdefs.c', line 3649
Source address for outgoing UDP datagrams
INTEGER2NUM(IP_SENDSRCADDR)
-
IP_TOS =
# File 'ext/socket/constdefs.c', line 3601
IP type-of-service
INTEGER2NUM(IP_TOS)
-
IP_TRANSPARENT =
# File 'ext/socket/constdefs.c', line 3799
Transparent proxy
INTEGER2NUM(IP_TRANSPARENT)
-
IP_TTL =
# File 'ext/socket/constdefs.c', line 3607
IP time-to-live
INTEGER2NUM(IP_TTL)
-
IP_UNBLOCK_SOURCE =
# File 'ext/socket/constdefs.c', line 3823
Unblock IPv4 multicast packets with a give source address
INTEGER2NUM(IP_UNBLOCK_SOURCE)
-
IP_XFRM_POLICY =
# File 'ext/socket/constdefs.c', line 3787
IP_XFRM_POLICYINTEGER2NUM(IP_XFRM_POLICY)
-
LOCAL_CONNWAIT =
# File 'ext/socket/constdefs.c', line 5017
Connect blocks until accepted
INTEGER2NUM(LOCAL_CONNWAIT)
-
LOCAL_CREDS =
# File 'ext/socket/constdefs.c', line 5011
Pass credentials to receiver
INTEGER2NUM(LOCAL_CREDS)
-
LOCAL_PEERCRED =
# File 'ext/socket/constdefs.c', line 5005
Retrieve peer credentials
INTEGER2NUM(LOCAL_PEERCRED)
-
MCAST_BLOCK_SOURCE =
# File 'ext/socket/constdefs.c', line 3859
Block multicast packets from this source
INTEGER2NUM(MCAST_BLOCK_SOURCE)
-
MCAST_EXCLUDE =
# File 'ext/socket/constdefs.c', line 3895
Exclusive multicast source filter
INTEGER2NUM(MCAST_EXCLUDE)
-
MCAST_INCLUDE =
# File 'ext/socket/constdefs.c', line 3901
Inclusive multicast source filter
INTEGER2NUM(MCAST_INCLUDE)
-
MCAST_JOIN_GROUP =
# File 'ext/socket/constdefs.c', line 3853
Join a multicast group
INTEGER2NUM(MCAST_JOIN_GROUP)
-
MCAST_JOIN_SOURCE_GROUP =
# File 'ext/socket/constdefs.c', line 3877
Join a multicast source group
INTEGER2NUM(MCAST_JOIN_SOURCE_GROUP)
-
MCAST_LEAVE_GROUP =
# File 'ext/socket/constdefs.c', line 3871
Leave a multicast group
INTEGER2NUM(MCAST_LEAVE_GROUP)
-
MCAST_LEAVE_SOURCE_GROUP =
# File 'ext/socket/constdefs.c', line 3883
Leave a multicast source group
INTEGER2NUM(MCAST_LEAVE_SOURCE_GROUP)
-
MCAST_MSFILTER =
# File 'ext/socket/constdefs.c', line 3889
Multicast source filtering
INTEGER2NUM(MCAST_MSFILTER)
-
MCAST_UNBLOCK_SOURCE =
# File 'ext/socket/constdefs.c', line 3865
Unblock multicast packets from this source
INTEGER2NUM(MCAST_UNBLOCK_SOURCE)
-
MSG_COMPAT =
# File 'ext/socket/constdefs.c', line 3277
End of record
INTEGER2NUM(MSG_COMPAT)
-
MSG_CONFIRM =
# File 'ext/socket/constdefs.c', line 3301
Confirm path validity
INTEGER2NUM(MSG_CONFIRM)
-
MSG_CTRUNC =
# File 'ext/socket/constdefs.c', line 3223
Control data lost before delivery
INTEGER2NUM(MSG_CTRUNC)
-
MSG_DONTROUTE =
# File 'ext/socket/constdefs.c', line 3205
Send without using the routing tables
INTEGER2NUM(MSG_DONTROUTE)
-
MSG_DONTWAIT =
# File 'ext/socket/constdefs.c', line 3235
This message should be non-blocking
INTEGER2NUM(MSG_DONTWAIT)
-
MSG_EOF =
# File 'ext/socket/constdefs.c', line 3241
Data completes connection
INTEGER2NUM(MSG_EOF)
-
MSG_EOR =
# File 'ext/socket/constdefs.c', line 3211
Data completes record
INTEGER2NUM(MSG_EOR)
-
MSG_ERRQUEUE =
# File 'ext/socket/constdefs.c', line 3313
Fetch message from error queue
INTEGER2NUM(MSG_ERRQUEUE)
-
MSG_FASTOPEN =
# File 'ext/socket/constdefs.c', line 3331
Reduce step of the handshake process
INTEGER2NUM(MSG_FASTOPEN)
-
MSG_FIN =
# File 'ext/socket/constdefs.c', line 3289
MSG_FININTEGER2NUM(MSG_FIN)
-
MSG_FLUSH =
# File 'ext/socket/constdefs.c', line 3247
Start of a hold sequence. Dumps to so_temp
INTEGER2NUM(MSG_FLUSH)
-
MSG_HAVEMORE =
# File 'ext/socket/constdefs.c', line 3265
Data ready to be read
INTEGER2NUM(MSG_HAVEMORE)
-
MSG_HOLD =
# File 'ext/socket/constdefs.c', line 3253
Hold fragment in so_temp
INTEGER2NUM(MSG_HOLD)
-
MSG_MORE =
# File 'ext/socket/constdefs.c', line 3325
Sender will send more
INTEGER2NUM(MSG_MORE)
-
MSG_NOSIGNAL =
# File 'ext/socket/constdefs.c', line 3319
Do not generate SIGPIPE
INTEGER2NUM(MSG_NOSIGNAL)
-
MSG_OOB =
# File 'ext/socket/constdefs.c', line 3193
Process out-of-band data
INTEGER2NUM(MSG_OOB)
-
MSG_PEEK =
# File 'ext/socket/constdefs.c', line 3199
Peek at incoming message
INTEGER2NUM(MSG_PEEK)
-
MSG_PROXY =
# File 'ext/socket/constdefs.c', line 3283
Wait for full request
INTEGER2NUM(MSG_PROXY)
-
MSG_RCVMORE =
# File 'ext/socket/constdefs.c', line 3271
Data remains in the current packet
INTEGER2NUM(MSG_RCVMORE)
-
MSG_RST =
# File 'ext/socket/constdefs.c', line 3307
MSG_RSTINTEGER2NUM(MSG_RST)
-
MSG_SEND =
# File 'ext/socket/constdefs.c', line 3259
Send the packet in so_temp
INTEGER2NUM(MSG_SEND)
-
MSG_SYN =
# File 'ext/socket/constdefs.c', line 3295
MSG_SYNINTEGER2NUM(MSG_SYN)
-
MSG_TRUNC =
# File 'ext/socket/constdefs.c', line 3217
Data discarded before delivery
INTEGER2NUM(MSG_TRUNC)
-
MSG_WAITALL =
# File 'ext/socket/constdefs.c', line 3229
Wait for full request or error
INTEGER2NUM(MSG_WAITALL)
-
NI_DGRAM =
# File 'ext/socket/constdefs.c', line 4681
The service specified is a datagram service (looks up UDP ports)
INTEGER2NUM(NI_DGRAM)
-
NI_MAXHOST =
# File 'ext/socket/constdefs.c', line 4645
Maximum length of a hostname
INTEGER2NUM(NI_MAXHOST)
-
NI_MAXSERV =
# File 'ext/socket/constdefs.c', line 4651
Maximum length of a service name
INTEGER2NUM(NI_MAXSERV)
-
NI_NAMEREQD =
# File 'ext/socket/constdefs.c', line 4669
A name is required
INTEGER2NUM(NI_NAMEREQD)
-
NI_NOFQDN =
# File 'ext/socket/constdefs.c', line 4657
An FQDN is not required for local hosts, return only the local part
INTEGER2NUM(NI_NOFQDN)
-
NI_NUMERICHOST =
# File 'ext/socket/constdefs.c', line 4663
Return a numeric address
INTEGER2NUM(NI_NUMERICHOST)
-
NI_NUMERICSERV =
# File 'ext/socket/constdefs.c', line 4675
Return the service name as a digit string
INTEGER2NUM(NI_NUMERICSERV)
-
PF_ALG =
# File 'ext/socket/constdefs.c', line 3151
Interface to kernel crypto API
INTEGER2NUM(PF_ALG)
-
PF_APPLETALK =
# File 'ext/socket/constdefs.c', line 2623
AppleTalk protocol
INTEGER2NUM(PF_APPLETALK)
-
PF_ATM =
# File 'ext/socket/constdefs.c', line 2959
Asynchronous Transfer Mode
INTEGER2NUM(PF_ATM)
-
PF_AX25 =
# File 'ext/socket/constdefs.c', line 2599
AX.25protocolINTEGER2NUM(PF_AX25)
-
PF_BLUETOOTH =
# File 'ext/socket/constdefs.c', line 3139
Bluetooth low-level socket protocol
INTEGER2NUM(PF_BLUETOOTH)
-
PF_CAN =
# File 'ext/socket/constdefs.c', line 3115
Controller Area Network automotive bus protocol
INTEGER2NUM(PF_CAN)
-
PF_CCITT =
# File 'ext/socket/constdefs.c', line 2743
CCITT (now ITU-T) protocols
INTEGER2NUM(PF_CCITT)
-
PF_CHAOS =
# File 'ext/socket/constdefs.c', line 2671
MIT CHAOS protocols
INTEGER2NUM(PF_CHAOS)
-
PF_CNT =
# File 'ext/socket/constdefs.c', line 2863
Computer Network Technology
INTEGER2NUM(PF_CNT)
-
PF_COIP =
# File 'ext/socket/constdefs.c', line 2851
Connection-oriented IP
INTEGER2NUM(PF_COIP)
-
PF_DATAKIT =
# File 'ext/socket/constdefs.c', line 2731
Datakit protocol
INTEGER2NUM(PF_DATAKIT)
-
PF_DEC =
# File 'ext/socket/constdefs.c', line 2767
DECnet protocol
INTEGER2NUM(PF_DEC)
-
PF_DECnet =
# File 'ext/socket/constdefs.c', line 2779
DECnet protocol
INTEGER2NUM(PF_DECnet)
-
PF_DLI =
# File 'ext/socket/constdefs.c', line 2791
DEC Direct Data Link Interface protocol
INTEGER2NUM(PF_DLI)
-
PF_ECMA =
# File 'ext/socket/constdefs.c', line 2719
European Computer Manufacturers protocols
INTEGER2NUM(PF_ECMA)
-
PF_HYLINK =
# File 'ext/socket/constdefs.c', line 2815
NSC Hyperchannel protocol
INTEGER2NUM(PF_HYLINK)
-
PF_IB =
# File 'ext/socket/constdefs.c', line 3091
InfiniBand native addressing
INTEGER2NUM(PF_IB)
-
PF_IMPLINK =
# File 'ext/socket/constdefs.c', line 2647
ARPANET IMP protocol
INTEGER2NUM(PF_IMPLINK)
-
PF_INET =
# File 'ext/socket/constdefs.c', line 2559
IPv4 protocol
INTEGER2NUM(PF_INET)
-
PF_INET6 =
# File 'ext/socket/constdefs.c', line 2574
IPv6 protocol
INTEGER2NUM(PF_INET6)
-
PF_IPX =
# File 'ext/socket/constdefs.c', line 2611
IPX protocol
INTEGER2NUM(PF_IPX)
-
PF_ISDN =
# File 'ext/socket/constdefs.c', line 2899
Integrated Services Digital Network
INTEGER2NUM(PF_ISDN)
-
PF_ISO =
# File 'ext/socket/constdefs.c', line 2695
ISO Open Systems Interconnection protocols
INTEGER2NUM(PF_ISO)
-
PF_KCM =
# File 'ext/socket/constdefs.c', line 3175
KCM (kernel connection multiplexor) interface
INTEGER2NUM(PF_KCM)
-
PF_KEY =
# File 'ext/socket/constdefs.c', line 3031
Key management protocol, originally developed for usage with IPsec
INTEGER2NUM(PF_KEY)
-
PF_LAT =
# File 'ext/socket/constdefs.c', line 2803
Local Area Transport protocol
INTEGER2NUM(PF_LAT)
-
PF_LINK =
# File 'ext/socket/constdefs.c', line 2839
Link layer interface
INTEGER2NUM(PF_LINK)
-
PF_LLC =
# File 'ext/socket/constdefs.c', line 3079
Logical link control (IEEE 802.2 LLC) protocol
INTEGER2NUM(PF_LLC)
-
PF_LOCAL =
# File 'ext/socket/constdefs.c', line 2635
Host-internal protocols
INTEGER2NUM(PF_LOCAL)
-
PF_MAX =
# File 'ext/socket/constdefs.c', line 2983
Maximum address family for this platform
INTEGER2NUM(PF_MAX)
-
PF_MPLS =
# File 'ext/socket/constdefs.c', line 3103
Multiprotocol Label Switching
INTEGER2NUM(PF_MPLS)
-
PF_NATM =
# File 'ext/socket/constdefs.c', line 2911
Native ATM access
INTEGER2NUM(PF_NATM)
-
PF_NDRV =
# File 'ext/socket/constdefs.c', line 2887
Network driver raw access
INTEGER2NUM(PF_NDRV)
-
PF_NETBIOS =
# File 'ext/socket/constdefs.c', line 2935
NetBIOS
INTEGER2NUM(PF_NETBIOS)
-
PF_NETGRAPH =
# File 'ext/socket/constdefs.c', line 2971
Netgraph sockets
INTEGER2NUM(PF_NETGRAPH)
-
PF_NETLINK =
# File 'ext/socket/constdefs.c', line 3043
Kernel user interface device
INTEGER2NUM(PF_NETLINK)
-
PF_NS =
# File 'ext/socket/constdefs.c', line 2683
XEROX NS protocols
INTEGER2NUM(PF_NS)
-
PF_OSI =
# File 'ext/socket/constdefs.c', line 2707
ISO Open Systems Interconnection protocols
INTEGER2NUM(PF_OSI)
-
PF_PACKET =
# File 'ext/socket/constdefs.c', line 2995
Direct link-layer access
INTEGER2NUM(PF_PACKET)
-
PF_PIP =
# File 'ext/socket/constdefs.c', line 3019
Help Identify PIP packets
INTEGER2NUM(PF_PIP)
-
PF_PPP =
# File 'ext/socket/constdefs.c', line 2947
Point-to-Point Protocol
INTEGER2NUM(PF_PPP)
-
PF_PPPOX =
# File 'ext/socket/constdefs.c', line 3067
Generic PPP transport layer, for setting up L2 tunnels (L2TP and PPPoE)
INTEGER2NUM(PF_PPPOX)
-
PF_PUP =
# File 'ext/socket/constdefs.c', line 2659
PARC Universal Packet protocol
INTEGER2NUM(PF_PUP)
-
PF_RDS =
# File 'ext/socket/constdefs.c', line 3055
Reliable Datagram Sockets (RDS) protocol
INTEGER2NUM(PF_RDS)
-
PF_ROUTE =
# File 'ext/socket/constdefs.c', line 2827
Internal routing protocol
INTEGER2NUM(PF_ROUTE)
-
PF_RTIP =
# File 'ext/socket/constdefs.c', line 3013
Help Identify RTIP packets
INTEGER2NUM(PF_RTIP)
-
PF_SIP =
# File 'ext/socket/constdefs.c', line 2875
Simple Internet Protocol
INTEGER2NUM(PF_SIP)
-
PF_SNA =
# File 'ext/socket/constdefs.c', line 2755
IBM SNA protocol
INTEGER2NUM(PF_SNA)
-
PF_SYSTEM =
# File 'ext/socket/constdefs.c', line 2923
Kernel event messages
INTEGER2NUM(PF_SYSTEM)
-
PF_TIPC =
# File 'ext/socket/constdefs.c', line 3127
TIPC, “cluster domain sockets” protocol
INTEGER2NUM(PF_TIPC)
-
PF_UNIX =
# File 'ext/socket/constdefs.c', line 2587
UNIX sockets
INTEGER2NUM(PF_UNIX)
-
PF_UNSPEC =
# File 'ext/socket/constdefs.c', line 2547
Unspecified protocol, any supported address family
INTEGER2NUM(PF_UNSPEC)
-
PF_VSOCK =
# File 'ext/socket/constdefs.c', line 3163
VSOCK (originally “VMWare VSockets”) protocol for hypervisor-guest communication
INTEGER2NUM(PF_VSOCK)
-
PF_XDP =
# File 'ext/socket/constdefs.c', line 3187
XDP (express data path) interface
INTEGER2NUM(PF_XDP)
-
PF_XTP =
# File 'ext/socket/constdefs.c', line 3007
eXpress Transfer Protocol
INTEGER2NUM(PF_XTP)
-
SCM_BINTIME =
# File 'ext/socket/constdefs.c', line 4975
Timestamp (bintime)
INTEGER2NUM(SCM_BINTIME)
-
SCM_CREDENTIALS =
# File 'ext/socket/constdefs.c', line 4981
The sender’s credentials
INTEGER2NUM(SCM_CREDENTIALS)
-
SCM_CREDS =
# File 'ext/socket/constdefs.c', line 4987
Process credentials
INTEGER2NUM(SCM_CREDS)
-
SCM_RIGHTS =
# File 'ext/socket/constdefs.c', line 4951
Access rights
INTEGER2NUM(SCM_RIGHTS)
-
SCM_TIMESTAMP =
# File 'ext/socket/constdefs.c', line 4957
Timestamp (timeval)
INTEGER2NUM(SCM_TIMESTAMP)
-
SCM_TIMESTAMPING =
# File 'ext/socket/constdefs.c', line 4969
Timestamp (timespec list) (Linux 2.6.30)
INTEGER2NUM(SCM_TIMESTAMPING)
-
SCM_TIMESTAMPNS =
# File 'ext/socket/constdefs.c', line 4963
Timespec (timespec)
INTEGER2NUM(SCM_TIMESTAMPNS)
-
SCM_UCRED =
# File 'ext/socket/constdefs.c', line 4993
User credentials
INTEGER2NUM(SCM_UCRED)
-
SCM_WIFI_STATUS =
# File 'ext/socket/constdefs.c', line 4999
Wifi status (Linux 3.3)
INTEGER2NUM(SCM_WIFI_STATUS)
-
SHUT_RD =
# File 'ext/socket/constdefs.c', line 4687
Shut down the reading side of the socket
INTEGER2NUM(SHUT_RD)
-
SHUT_RDWR =
# File 'ext/socket/constdefs.c', line 4699
Shut down the both sides of the socket
INTEGER2NUM(SHUT_RDWR)
-
SHUT_WR =
# File 'ext/socket/constdefs.c', line 4693
Shut down the writing side of the socket
INTEGER2NUM(SHUT_WR)
-
SOCK_CLOEXEC =
# File 'ext/socket/constdefs.c', line 2535
Set the close-on-exec (FD_CLOEXEC) flag on the new file descriptor.
INTEGER2NUM(SOCK_CLOEXEC)
-
SOCK_DGRAM =
# File 'ext/socket/constdefs.c', line 2499
A datagram socket provides connectionless, unreliable messaging
INTEGER2NUM(SOCK_DGRAM)
-
SOCK_NONBLOCK =
# File 'ext/socket/constdefs.c', line 2529
Set the O_NONBLOCK file status flag on the open file description (see open(2)) referred to by the new file descriptor.
INTEGER2NUM(SOCK_NONBLOCK)
-
SOCK_PACKET =
# File 'ext/socket/constdefs.c', line 2523
Device-level packet access
INTEGER2NUM(SOCK_PACKET)
-
SOCK_RAW =
# File 'ext/socket/constdefs.c', line 2505
A raw socket provides low-level access for direct access or implementing network protocols
INTEGER2NUM(SOCK_RAW)
-
SOCK_RDM =
# File 'ext/socket/constdefs.c', line 2511
A reliable datagram socket provides reliable delivery of messages
INTEGER2NUM(SOCK_RDM)
-
SOCK_SEQPACKET =
# File 'ext/socket/constdefs.c', line 2517
A sequential packet socket provides sequenced, reliable two-way connection for datagrams
INTEGER2NUM(SOCK_SEQPACKET)
-
SOCK_STREAM =
# File 'ext/socket/constdefs.c', line 2493
A stream socket provides a sequenced, reliable two-way connection for a byte stream
INTEGER2NUM(SOCK_STREAM)
-
SOL_ATALK =
# File 'ext/socket/constdefs.c', line 3361
AppleTalk socket options
INTEGER2NUM(SOL_ATALK)
-
SOL_AX25 =
# File 'ext/socket/constdefs.c', line 3355
AX.25socket optionsINTEGER2NUM(SOL_AX25)
-
SOL_IP =
# File 'ext/socket/constdefs.c', line 3343
IP socket options
INTEGER2NUM(SOL_IP)
-
SOL_IPX =
# File 'ext/socket/constdefs.c', line 3349
IPX socket options
INTEGER2NUM(SOL_IPX)
-
SOL_SOCKET =
# File 'ext/socket/constdefs.c', line 3337
Socket-level options
INTEGER2NUM(SOL_SOCKET)
-
SOL_TCP =
# File 'ext/socket/constdefs.c', line 3367
TCP socket options
INTEGER2NUM(SOL_TCP)
-
SOL_UDP =
# File 'ext/socket/constdefs.c', line 3373
UDP socket options
INTEGER2NUM(SOL_UDP)
-
SOMAXCONN =
# File 'ext/socket/constdefs.c', line 4945
Maximum connection requests that may be queued for a socket
INTEGER2NUM(SOMAXCONN)
-
SOPRI_BACKGROUND =
# File 'ext/socket/constdefs.c', line 4309
Background socket priority
INTEGER2NUM(SOPRI_BACKGROUND)
-
SOPRI_INTERACTIVE =
# File 'ext/socket/constdefs.c', line 4297
Interactive socket priority
INTEGER2NUM(SOPRI_INTERACTIVE)
-
SOPRI_NORMAL =
# File 'ext/socket/constdefs.c', line 4303
Normal socket priority
INTEGER2NUM(SOPRI_NORMAL)
-
SO_ACCEPTCONN =
# File 'ext/socket/constdefs.c', line 4039
Socket has had listen() called on it
INTEGER2NUM(SO_ACCEPTCONN)
-
SO_ACCEPTFILTER =
# File 'ext/socket/constdefs.c', line 4051
There is an accept filter
INTEGER2NUM(SO_ACCEPTFILTER)
-
SO_ALLZONES =
# File 'ext/socket/constdefs.c', line 4177
Bypass zone boundaries
INTEGER2NUM(SO_ALLZONES)
-
SO_ATTACH_FILTER =
# File 'ext/socket/constdefs.c', line 4123
Attach an accept filter
INTEGER2NUM(SO_ATTACH_FILTER)
-
SO_BINDTODEVICE =
# File 'ext/socket/constdefs.c', line 4117
Only send packets from the given interface
INTEGER2NUM(SO_BINDTODEVICE)
-
SO_BINTIME =
# File 'ext/socket/constdefs.c', line 4159
Receive timestamp with datagrams (bintime)
INTEGER2NUM(SO_BINTIME)
-
SO_BPF_EXTENSIONS =
# File 'ext/socket/constdefs.c', line 4267
Query supported BPF extensions (Linux 3.14)
INTEGER2NUM(SO_BPF_EXTENSIONS)
-
SO_BROADCAST =
# File 'ext/socket/constdefs.c', line 3943
Permit sending of broadcast messages
INTEGER2NUM(SO_BROADCAST)
-
SO_BUSY_POLL =
# File 'ext/socket/constdefs.c', line 4255
Set the threshold in microseconds for low latency polling (Linux 3.11)
INTEGER2NUM(SO_BUSY_POLL)
-
SO_DEBUG =
# File 'ext/socket/constdefs.c', line 3907
Debug info recording
INTEGER2NUM(SO_DEBUG)
-
SO_DETACH_FILTER =
# File 'ext/socket/constdefs.c', line 4129
Detach an accept filter
INTEGER2NUM(SO_DETACH_FILTER)
-
SO_DOMAIN =
# File 'ext/socket/constdefs.c', line 4213
Domain given for socket() (Linux 2.6.32)
INTEGER2NUM(SO_DOMAIN)
-
SO_DONTROUTE =
# File 'ext/socket/constdefs.c', line 3937
Use interface addresses
INTEGER2NUM(SO_DONTROUTE)
-
SO_DONTTRUNC =
# File 'ext/socket/constdefs.c', line 4063
Retain unread data
INTEGER2NUM(SO_DONTTRUNC)
-
SO_ERROR =
# File 'ext/socket/constdefs.c', line 3931
Get and clear the error status
INTEGER2NUM(SO_ERROR)
-
SO_GET_FILTER =
# File 'ext/socket/constdefs.c', line 4135
Obtain filter set by SO_ATTACH_FILTER (Linux 3.8)
INTEGER2NUM(SO_GET_FILTER)
-
SO_INCOMING_CPU =
# File 'ext/socket/constdefs.c', line 4285
Receive the cpu attached to the socket (Linux 3.19)
INTEGER2NUM(SO_INCOMING_CPU)
-
SO_INCOMING_NAPI_ID =
# File 'ext/socket/constdefs.c', line 4291
Receive the napi ID attached to a RX queue (Linux 4.12)
INTEGER2NUM(SO_INCOMING_NAPI_ID)
-
SO_KEEPALIVE =
# File 'ext/socket/constdefs.c', line 3973
Keep connections alive
INTEGER2NUM(SO_KEEPALIVE)
-
SO_LINGER =
# File 'ext/socket/constdefs.c', line 3997
Linger on close if data is present
INTEGER2NUM(SO_LINGER)
-
SO_LOCK_FILTER =
# File 'ext/socket/constdefs.c', line 4243
Lock the filter attached to a socket (Linux 3.9)
INTEGER2NUM(SO_LOCK_FILTER)
-
SO_MAC_EXEMPT =
# File 'ext/socket/constdefs.c', line 4171
Mandatory Access Control exemption for unlabeled peers
INTEGER2NUM(SO_MAC_EXEMPT)
-
SO_MARK =
# File 'ext/socket/constdefs.c', line 4195
Set the mark for mark-based routing (Linux 2.6.25)
INTEGER2NUM(SO_MARK)
-
SO_MAX_PACING_RATE =
# File 'ext/socket/constdefs.c', line 4261
Cap the rate computed by transport layer. [bytes per second] (Linux 3.13)
INTEGER2NUM(SO_MAX_PACING_RATE)
-
SO_NKE =
# File 'ext/socket/constdefs.c', line 4087
Install socket-level Network Kernel Extension
INTEGER2NUM(SO_NKE)
-
SO_NOFCS =
# File 'ext/socket/constdefs.c', line 4237
Set netns of a socket (Linux 3.4)
INTEGER2NUM(SO_NOFCS)
-
SO_NOSIGPIPE =
# File 'ext/socket/constdefs.c', line 4093
Don’t SIGPIPE on EPIPE
INTEGER2NUM(SO_NOSIGPIPE)
-
SO_NO_CHECK =
# File 'ext/socket/constdefs.c', line 3985
Disable checksums
INTEGER2NUM(SO_NO_CHECK)
-
SO_NREAD =
# File 'ext/socket/constdefs.c', line 4081
Get first packet byte count
INTEGER2NUM(SO_NREAD)
-
SO_OOBINLINE =
# File 'ext/socket/constdefs.c', line 3979
Leave received out-of-band data in-line
INTEGER2NUM(SO_OOBINLINE)
-
SO_PASSCRED =
# File 'ext/socket/constdefs.c', line 4003
Receive SCM_CREDENTIALS messages
INTEGER2NUM(SO_PASSCRED)
-
SO_PASSSEC =
# File 'ext/socket/constdefs.c', line 4189
Toggle security context passing (Linux 2.6.18)
INTEGER2NUM(SO_PASSSEC)
-
SO_PEEK_OFF =
# File 'ext/socket/constdefs.c', line 4231
Set the peek offset (Linux 3.4)
INTEGER2NUM(SO_PEEK_OFF)
-
SO_PEERCRED =
# File 'ext/socket/constdefs.c', line 4009
The credentials of the foreign process connected to this socket
INTEGER2NUM(SO_PEERCRED)
-
SO_PEERNAME =
# File 'ext/socket/constdefs.c', line 4141
Name of the connecting user
INTEGER2NUM(SO_PEERNAME)
-
SO_PEERSEC =
# File 'ext/socket/constdefs.c', line 4183
Obtain the security credentials (Linux 2.6.2)
INTEGER2NUM(SO_PEERSEC)
-
SO_PRIORITY =
# File 'ext/socket/constdefs.c', line 3991
The protocol-defined priority for all packets on this socket
INTEGER2NUM(SO_PRIORITY)
-
SO_PROTOCOL =
# File 'ext/socket/constdefs.c', line 4207
Protocol given for socket() (Linux 2.6.32)
INTEGER2NUM(SO_PROTOCOL)
-
SO_RCVBUF =
# File 'ext/socket/constdefs.c', line 3955
Receive buffer size
INTEGER2NUM(SO_RCVBUF)
-
SO_RCVBUFFORCE =
# File 'ext/socket/constdefs.c', line 3967
Receive buffer size without rmem_max limit (Linux 2.6.14)
INTEGER2NUM(SO_RCVBUFFORCE)
-
SO_RCVLOWAT =
# File 'ext/socket/constdefs.c', line 4015
Receive low-water mark
INTEGER2NUM(SO_RCVLOWAT)
-
SO_RCVTIMEO =
# File 'ext/socket/constdefs.c', line 4027
Receive timeout
INTEGER2NUM(SO_RCVTIMEO)
-
SO_RECVUCRED =
# File 'ext/socket/constdefs.c', line 4165
Receive user credentials with datagram
INTEGER2NUM(SO_RECVUCRED)
-
SO_REUSEADDR =
# File 'ext/socket/constdefs.c', line 3913
Allow local address reuse
INTEGER2NUM(SO_REUSEADDR)
-
SO_REUSEPORT =
# File 'ext/socket/constdefs.c', line 3919
Allow local address and port reuse
INTEGER2NUM(SO_REUSEPORT)
-
SO_RTABLE =
# File 'ext/socket/constdefs.c', line 4279
Set the routing table for this socket (OpenBSD)
INTEGER2NUM(SO_RTABLE)
-
SO_RXQ_OVFL =
# File 'ext/socket/constdefs.c', line 4219
Toggle cmsg for number of packets dropped (Linux 2.6.33)
INTEGER2NUM(SO_RXQ_OVFL)
-
SO_SECURITY_AUTHENTICATION =
# File 'ext/socket/constdefs.c', line 4099
SO_SECURITY_AUTHENTICATIONINTEGER2NUM(SO_SECURITY_AUTHENTICATION)
-
SO_SECURITY_ENCRYPTION_NETWORK =
# File 'ext/socket/constdefs.c', line 4111
SO_SECURITY_ENCRYPTION_NETWORKINTEGER2NUM(SO_SECURITY_ENCRYPTION_NETWORK)
-
SO_SECURITY_ENCRYPTION_TRANSPORT =
# File 'ext/socket/constdefs.c', line 4105
SO_SECURITY_ENCRYPTION_TRANSPORTINTEGER2NUM(SO_SECURITY_ENCRYPTION_TRANSPORT)
-
SO_SELECT_ERR_QUEUE =
# File 'ext/socket/constdefs.c', line 4249
Make select() detect socket error queue with errorfds (Linux 3.10)
INTEGER2NUM(SO_SELECT_ERR_QUEUE)
-
SO_SETFIB =
# File 'ext/socket/constdefs.c', line 4273
Set the associated routing table for the socket (FreeBSD)
INTEGER2NUM(SO_SETFIB)
-
SO_SNDBUF =
# File 'ext/socket/constdefs.c', line 3949
Send buffer size
INTEGER2NUM(SO_SNDBUF)
-
SO_SNDBUFFORCE =
# File 'ext/socket/constdefs.c', line 3961
Send buffer size without wmem_max limit (Linux 2.6.14)
INTEGER2NUM(SO_SNDBUFFORCE)
-
SO_SNDLOWAT =
# File 'ext/socket/constdefs.c', line 4021
Send low-water mark
INTEGER2NUM(SO_SNDLOWAT)
-
SO_SNDTIMEO =
# File 'ext/socket/constdefs.c', line 4033
Send timeout
INTEGER2NUM(SO_SNDTIMEO)
-
SO_TIMESTAMP =
# File 'ext/socket/constdefs.c', line 4147
Receive timestamp with datagrams (timeval)
INTEGER2NUM(SO_TIMESTAMP)
-
SO_TIMESTAMPING =
# File 'ext/socket/constdefs.c', line 4201
Time stamping of incoming and outgoing packets (Linux 2.6.30)
INTEGER2NUM(SO_TIMESTAMPING)
-
SO_TIMESTAMPNS =
# File 'ext/socket/constdefs.c', line 4153
Receive nanosecond timestamp with datagrams (timespec)
INTEGER2NUM(SO_TIMESTAMPNS)
-
SO_TYPE =
# File 'ext/socket/constdefs.c', line 3925
Get the socket type
INTEGER2NUM(SO_TYPE)
-
SO_USELOOPBACK =
# File 'ext/socket/constdefs.c', line 4045
Bypass hardware when possible
INTEGER2NUM(SO_USELOOPBACK)
-
SO_USER_COOKIE =
# File 'ext/socket/constdefs.c', line 4057
Setting an identifier for ipfw purpose mainly
INTEGER2NUM(SO_USER_COOKIE)
-
SO_WANTMORE =
# File 'ext/socket/constdefs.c', line 4069
Give a hint when more data is ready
INTEGER2NUM(SO_WANTMORE)
-
SO_WANTOOBFLAG =
# File 'ext/socket/constdefs.c', line 4075
OOB data is wanted in MSG_FLAG on receive
INTEGER2NUM(SO_WANTOOBFLAG)
-
SO_WIFI_STATUS =
# File 'ext/socket/constdefs.c', line 4225
Toggle cmsg for wifi status (Linux 3.3)
INTEGER2NUM(SO_WIFI_STATUS)
-
TCP_CONGESTION =
# File 'ext/socket/constdefs.c', line 4429
TCP congestion control algorithm (Linux 2.6.13, glibc 2.6)
INTEGER2NUM(TCP_CONGESTION)
-
TCP_CONNECTION_INFO =
# File 'ext/socket/constdefs.c', line 4333
Retrieve information about this socket (macOS)
INTEGER2NUM(TCP_CONNECTION_INFO)
-
TCP_COOKIE_TRANSACTIONS =
# File 'ext/socket/constdefs.c', line 4435
TCP Cookie Transactions (Linux 2.6.33, glibc 2.18)
INTEGER2NUM(TCP_COOKIE_TRANSACTIONS)
-
TCP_CORK =
# File 'ext/socket/constdefs.c', line 4339
Don’t send partial frames (Linux 2.2, glibc 2.2)
INTEGER2NUM(TCP_CORK)
-
TCP_DEFER_ACCEPT =
# File 'ext/socket/constdefs.c', line 4345
Don’t notify a listening socket until data is ready (Linux 2.4, glibc 2.2)
INTEGER2NUM(TCP_DEFER_ACCEPT)
-
TCP_FASTOPEN =
# File 'ext/socket/constdefs.c', line 4423
Reduce step of the handshake process (Linux 3.7, glibc 2.18)
INTEGER2NUM(TCP_FASTOPEN)
-
TCP_INFO =
# File 'ext/socket/constdefs.c', line 4351
Retrieve information about this socket (Linux 2.4, glibc 2.2)
INTEGER2NUM(TCP_INFO)
-
TCP_KEEPALIVE =
# File 'ext/socket/constdefs.c', line 4357
Idle time before keepalive probes are sent (macOS)
INTEGER2NUM(TCP_KEEPALIVE)
-
TCP_KEEPCNT =
# File 'ext/socket/constdefs.c', line 4363
Maximum number of keepalive probes allowed before dropping a connection (Linux 2.4, glibc 2.2)
INTEGER2NUM(TCP_KEEPCNT)
-
TCP_KEEPIDLE =
# File 'ext/socket/constdefs.c', line 4369
Idle time before keepalive probes are sent (Linux 2.4, glibc 2.2)
INTEGER2NUM(TCP_KEEPIDLE)
-
TCP_KEEPINTVL =
# File 'ext/socket/constdefs.c', line 4375
Time between keepalive probes (Linux 2.4, glibc 2.2)
INTEGER2NUM(TCP_KEEPINTVL)
-
TCP_LINGER2 =
# File 'ext/socket/constdefs.c', line 4381
Lifetime of orphaned FIN_WAIT2 sockets (Linux 2.4, glibc 2.2)
INTEGER2NUM(TCP_LINGER2)
-
TCP_MAXSEG =
# File 'ext/socket/constdefs.c', line 4327
Set maximum segment size
INTEGER2NUM(TCP_MAXSEG)
-
TCP_MD5SIG =
# File 'ext/socket/constdefs.c', line 4387
Use MD5 digests (RFC2385, Linux 2.6.20, glibc 2.7)
INTEGER2NUM(TCP_MD5SIG)
-
TCP_NODELAY =
# File 'ext/socket/constdefs.c', line 4321
Don’t delay sending to coalesce packets
INTEGER2NUM(TCP_NODELAY)
-
TCP_NOOPT =
# File 'ext/socket/constdefs.c', line 4393
Don’t use TCP options
INTEGER2NUM(TCP_NOOPT)
-
TCP_NOPUSH =
# File 'ext/socket/constdefs.c', line 4399
Don’t push the last block of write
INTEGER2NUM(TCP_NOPUSH)
-
TCP_QUEUE_SEQ =
# File 'ext/socket/constdefs.c', line 4441
Sequence of a queue for repair mode (Linux 3.5, glibc 2.18)
INTEGER2NUM(TCP_QUEUE_SEQ)
-
TCP_QUICKACK =
# File 'ext/socket/constdefs.c', line 4405
Enable quickack mode (Linux 2.4.4, glibc 2.3)
INTEGER2NUM(TCP_QUICKACK)
-
TCP_REPAIR =
# File 'ext/socket/constdefs.c', line 4447
Repair mode (Linux 3.5, glibc 2.18)
INTEGER2NUM(TCP_REPAIR)
-
TCP_REPAIR_OPTIONS =
# File 'ext/socket/constdefs.c', line 4453
Options for repair mode (Linux 3.5, glibc 2.18)
INTEGER2NUM(TCP_REPAIR_OPTIONS)
-
TCP_REPAIR_QUEUE =
# File 'ext/socket/constdefs.c', line 4459
Queue for repair mode (Linux 3.5, glibc 2.18)
INTEGER2NUM(TCP_REPAIR_QUEUE)
-
TCP_SYNCNT =
# File 'ext/socket/constdefs.c', line 4411
Number of SYN retransmits before a connection is dropped (Linux 2.4, glibc 2.2)
INTEGER2NUM(TCP_SYNCNT)
-
TCP_THIN_DUPACK =
# File 'ext/socket/constdefs.c', line 4465
Duplicated acknowledgments handling for thin-streams (Linux 2.6.34, glibc 2.18)
INTEGER2NUM(TCP_THIN_DUPACK)
-
TCP_THIN_LINEAR_TIMEOUTS =
# File 'ext/socket/constdefs.c', line 4471
Linear timeouts for thin-streams (Linux 2.6.34, glibc 2.18)
INTEGER2NUM(TCP_THIN_LINEAR_TIMEOUTS)
-
TCP_TIMESTAMP =
# File 'ext/socket/constdefs.c', line 4477
TCP timestamp (Linux 3.9, glibc 2.18)
INTEGER2NUM(TCP_TIMESTAMP)
-
TCP_USER_TIMEOUT =
# File 'ext/socket/constdefs.c', line 4483
Max timeout before a TCP connection is aborted (Linux 2.6.37, glibc 2.18)
INTEGER2NUM(TCP_USER_TIMEOUT)
-
TCP_WINDOW_CLAMP =
# File 'ext/socket/constdefs.c', line 4417
Clamp the size of the advertised window (Linux 2.4, glibc 2.2)
INTEGER2NUM(TCP_WINDOW_CLAMP)
-
UDP_CORK =
# File 'ext/socket/constdefs.c', line 4489
Don’t send partial frames (Linux 2.5.44, glibc 2.11)
INTEGER2NUM(UDP_CORK)