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 3160
Interface to kernel crypto API
INTEGER2NUM(AF_ALG)
-
AF_APPLETALK =
# File 'ext/socket/constdefs.c', line 2632
AppleTalk protocol
INTEGER2NUM(AF_APPLETALK)
-
AF_ATM =
# File 'ext/socket/constdefs.c', line 2968
Asynchronous Transfer Mode
INTEGER2NUM(AF_ATM)
-
AF_AX25 =
# File 'ext/socket/constdefs.c', line 2608
AX.25protocolINTEGER2NUM(AF_AX25)
-
AF_BLUETOOTH =
# File 'ext/socket/constdefs.c', line 3148
Bluetooth low-level socket protocol
INTEGER2NUM(AF_BLUETOOTH)
-
AF_CAN =
# File 'ext/socket/constdefs.c', line 3124
Controller Area Network automotive bus protocol
INTEGER2NUM(AF_CAN)
-
AF_CCITT =
# File 'ext/socket/constdefs.c', line 2752
CCITT (now ITU-T) protocols
INTEGER2NUM(AF_CCITT)
-
AF_CHAOS =
# File 'ext/socket/constdefs.c', line 2680
MIT CHAOS protocols
INTEGER2NUM(AF_CHAOS)
-
AF_CNT =
# File 'ext/socket/constdefs.c', line 2872
Computer Network Technology
INTEGER2NUM(AF_CNT)
-
AF_COIP =
# File 'ext/socket/constdefs.c', line 2860
Connection-oriented IP
INTEGER2NUM(AF_COIP)
-
AF_DATAKIT =
# File 'ext/socket/constdefs.c', line 2740
Datakit protocol
INTEGER2NUM(AF_DATAKIT)
-
AF_DEC =
# File 'ext/socket/constdefs.c', line 2776
DECnet protocol
INTEGER2NUM(AF_DEC)
-
AF_DECnet =
# File 'ext/socket/constdefs.c', line 2788
DECnet protocol
INTEGER2NUM(AF_DECnet)
-
AF_DLI =
# File 'ext/socket/constdefs.c', line 2800
DEC Direct Data Link Interface protocol
INTEGER2NUM(AF_DLI)
-
AF_E164 =
# File 'ext/socket/constdefs.c', line 3016
CCITT (ITU-T) E.164 recommendation
INTEGER2NUM(AF_E164)
-
AF_ECMA =
# File 'ext/socket/constdefs.c', line 2728
European Computer Manufacturers protocols
INTEGER2NUM(AF_ECMA)
-
AF_HYLINK =
# File 'ext/socket/constdefs.c', line 2824
NSC Hyperchannel protocol
INTEGER2NUM(AF_HYLINK)
-
AF_IB =
# File 'ext/socket/constdefs.c', line 3100
InfiniBand native addressing
INTEGER2NUM(AF_IB)
-
AF_IMPLINK =
# File 'ext/socket/constdefs.c', line 2656
ARPANET IMP protocol
INTEGER2NUM(AF_IMPLINK)
-
AF_INET =
# File 'ext/socket/constdefs.c', line 2568
IPv4 protocol
INTEGER2NUM(AF_INET)
-
AF_INET6 =
# File 'ext/socket/constdefs.c', line 2581
IPv6 protocol
INTEGER2NUM(AF_INET6)
-
AF_IPX =
# File 'ext/socket/constdefs.c', line 2620
IPX protocol
INTEGER2NUM(AF_IPX)
-
AF_ISDN =
# File 'ext/socket/constdefs.c', line 2908
Integrated Services Digital Network
INTEGER2NUM(AF_ISDN)
-
AF_ISO =
# File 'ext/socket/constdefs.c', line 2704
ISO Open Systems Interconnection protocols
INTEGER2NUM(AF_ISO)
-
AF_KCM =
# File 'ext/socket/constdefs.c', line 3184
KCM (kernel connection multiplexor) interface
INTEGER2NUM(AF_KCM)
-
AF_KEY =
# File 'ext/socket/constdefs.c', line 3040
Key management protocol, originally developed for usage with IPsec
INTEGER2NUM(AF_KEY)
-
AF_LAT =
# File 'ext/socket/constdefs.c', line 2812
Local Area Transport protocol
INTEGER2NUM(AF_LAT)
-
AF_LINK =
# File 'ext/socket/constdefs.c', line 2848
Link layer interface
INTEGER2NUM(AF_LINK)
-
AF_LLC =
# File 'ext/socket/constdefs.c', line 3088
Logical link control (IEEE 802.2 LLC) protocol
INTEGER2NUM(AF_LLC)
-
AF_LOCAL =
# File 'ext/socket/constdefs.c', line 2644
Host-internal protocols
INTEGER2NUM(AF_LOCAL)
-
AF_MAX =
# File 'ext/socket/constdefs.c', line 2992
Maximum address family for this platform
INTEGER2NUM(AF_MAX)
-
AF_MPLS =
# File 'ext/socket/constdefs.c', line 3112
Multiprotocol Label Switching
INTEGER2NUM(AF_MPLS)
-
AF_NATM =
# File 'ext/socket/constdefs.c', line 2920
Native ATM access
INTEGER2NUM(AF_NATM)
-
AF_NDRV =
# File 'ext/socket/constdefs.c', line 2896
Network driver raw access
INTEGER2NUM(AF_NDRV)
-
AF_NETBIOS =
# File 'ext/socket/constdefs.c', line 2944
NetBIOS
INTEGER2NUM(AF_NETBIOS)
-
AF_NETGRAPH =
# File 'ext/socket/constdefs.c', line 2980
Netgraph sockets
INTEGER2NUM(AF_NETGRAPH)
-
AF_NETLINK =
# File 'ext/socket/constdefs.c', line 3052
Kernel user interface device
INTEGER2NUM(AF_NETLINK)
-
AF_NS =
# File 'ext/socket/constdefs.c', line 2692
XEROX NS protocols
INTEGER2NUM(AF_NS)
-
AF_OSI =
# File 'ext/socket/constdefs.c', line 2716
ISO Open Systems Interconnection protocols
INTEGER2NUM(AF_OSI)
-
AF_PACKET =
# File 'ext/socket/constdefs.c', line 3004
Direct link-layer access
INTEGER2NUM(AF_PACKET)
-
AF_PPP =
# File 'ext/socket/constdefs.c', line 2956
Point-to-Point Protocol
INTEGER2NUM(AF_PPP)
-
AF_PPPOX =
# File 'ext/socket/constdefs.c', line 3076
Generic PPP transport layer, for setting up L2 tunnels (L2TP and PPPoE)
INTEGER2NUM(AF_PPPOX)
-
AF_PUP =
# File 'ext/socket/constdefs.c', line 2668
PARC Universal Packet protocol
INTEGER2NUM(AF_PUP)
-
AF_RDS =
# File 'ext/socket/constdefs.c', line 3064
Reliable Datagram Sockets (RDS) protocol
INTEGER2NUM(AF_RDS)
-
AF_ROUTE =
# File 'ext/socket/constdefs.c', line 2836
Internal routing protocol
INTEGER2NUM(AF_ROUTE)
-
AF_SIP =
# File 'ext/socket/constdefs.c', line 2884
Simple Internet Protocol
INTEGER2NUM(AF_SIP)
-
AF_SNA =
# File 'ext/socket/constdefs.c', line 2764
IBM SNA protocol
INTEGER2NUM(AF_SNA)
-
AF_SYSTEM =
# File 'ext/socket/constdefs.c', line 2932
Kernel event messages
INTEGER2NUM(AF_SYSTEM)
-
AF_TIPC =
# File 'ext/socket/constdefs.c', line 3136
TIPC, “cluster domain sockets” protocol
INTEGER2NUM(AF_TIPC)
-
AF_UNIX =
# File 'ext/socket/constdefs.c', line 2596
UNIX sockets
INTEGER2NUM(AF_UNIX)
-
AF_UNSPEC =
# File 'ext/socket/constdefs.c', line 2556
Unspecified protocol, any supported address family
INTEGER2NUM(AF_UNSPEC)
-
AF_VSOCK =
# File 'ext/socket/constdefs.c', line 3172
VSOCK (originally “VMWare VSockets”) protocol for hypervisor-guest communication
INTEGER2NUM(AF_VSOCK)
-
AF_XDP =
# File 'ext/socket/constdefs.c', line 3196
XDP (express data path) interface
INTEGER2NUM(AF_XDP)
-
AI_ADDRCONFIG =
# File 'ext/socket/constdefs.c', line 4648
Accept only if any address is assigned
INTEGER2NUM(AI_ADDRCONFIG)
-
AI_ALL =
# File 'ext/socket/constdefs.c', line 4636
Allow all addresses
INTEGER2NUM(AI_ALL)
-
AI_CANONNAME =
# File 'ext/socket/constdefs.c', line 4612
Fill in the canonical name
INTEGER2NUM(AI_CANONNAME)
-
AI_DEFAULT =
# File 'ext/socket/constdefs.c', line 4660
Default flags for getaddrinfo
INTEGER2NUM(AI_DEFAULT)
-
AI_MASK =
# File 'ext/socket/constdefs.c', line 4630
Valid flag mask for getaddrinfo (not for application use)
INTEGER2NUM(AI_MASK)
-
AI_NUMERICHOST =
# File 'ext/socket/constdefs.c', line 4618
Prevent host name resolution
INTEGER2NUM(AI_NUMERICHOST)
-
AI_NUMERICSERV =
# File 'ext/socket/constdefs.c', line 4624
Prevent service name resolution
INTEGER2NUM(AI_NUMERICSERV)
-
AI_PASSIVE =
# File 'ext/socket/constdefs.c', line 4606
Get address to use with bind()
INTEGER2NUM(AI_PASSIVE)
-
AI_V4MAPPED =
# File 'ext/socket/constdefs.c', line 4654
Accept IPv4-mapped IPv6 addresses
INTEGER2NUM(AI_V4MAPPED)
-
AI_V4MAPPED_CFG =
# File 'ext/socket/constdefs.c', line 4642
Accept IPv4 mapped addresses if the kernel supports it
INTEGER2NUM(AI_V4MAPPED_CFG)
-
EAI_ADDRFAMILY =
# File 'ext/socket/constdefs.c', line 4516
Address family for hostname not supported
INTEGER2NUM(EAI_ADDRFAMILY)
-
EAI_AGAIN =
# File 'ext/socket/constdefs.c', line 4522
Temporary failure in name resolution
INTEGER2NUM(EAI_AGAIN)
-
EAI_BADFLAGS =
# File 'ext/socket/constdefs.c', line 4528
Invalid flags
INTEGER2NUM(EAI_BADFLAGS)
-
EAI_BADHINTS =
# File 'ext/socket/constdefs.c', line 4588
Invalid value for hints
INTEGER2NUM(EAI_BADHINTS)
-
EAI_FAIL =
# File 'ext/socket/constdefs.c', line 4534
Non-recoverable failure in name resolution
INTEGER2NUM(EAI_FAIL)
-
EAI_FAMILY =
# File 'ext/socket/constdefs.c', line 4540
Address family not supported
INTEGER2NUM(EAI_FAMILY)
-
EAI_MAX =
# File 'ext/socket/constdefs.c', line 4600
Maximum error code from getaddrinfo
INTEGER2NUM(EAI_MAX)
-
EAI_MEMORY =
# File 'ext/socket/constdefs.c', line 4546
Memory allocation failure
INTEGER2NUM(EAI_MEMORY)
-
EAI_NODATA =
# File 'ext/socket/constdefs.c', line 4552
No address associated with hostname
INTEGER2NUM(EAI_NODATA)
-
EAI_NONAME =
# File 'ext/socket/constdefs.c', line 4558
Hostname nor servname, or not known
INTEGER2NUM(EAI_NONAME)
-
EAI_OVERFLOW =
# File 'ext/socket/constdefs.c', line 4564
Argument buffer overflow
INTEGER2NUM(EAI_OVERFLOW)
-
EAI_PROTOCOL =
# File 'ext/socket/constdefs.c', line 4594
Resolved protocol is unknown
INTEGER2NUM(EAI_PROTOCOL)
-
EAI_SERVICE =
# File 'ext/socket/constdefs.c', line 4570
Servname not supported for socket type
INTEGER2NUM(EAI_SERVICE)
-
EAI_SOCKTYPE =
# File 'ext/socket/constdefs.c', line 4576
Socket type not supported
INTEGER2NUM(EAI_SOCKTYPE)
-
EAI_SYSTEM =
# File 'ext/socket/constdefs.c', line 4582
System error returned in errno
INTEGER2NUM(EAI_SYSTEM)
-
IFF_802_1Q_VLAN =
# File 'ext/socket/constdefs.c', line 5060
802.1Q VLAN device
INTEGER2NUM(IFF_802_1Q_VLAN)
-
IFF_ALLMULTI =
# File 'ext/socket/constdefs.c', line 5066
receive all multicast packets
INTEGER2NUM(IFF_ALLMULTI)
-
IFF_ALTPHYS =
# File 'ext/socket/constdefs.c', line 5072
use alternate physical connection
INTEGER2NUM(IFF_ALTPHYS)
-
IFF_AUTOMEDIA =
# File 'ext/socket/constdefs.c', line 5078
auto media select active
INTEGER2NUM(IFF_AUTOMEDIA)
-
IFF_BONDING =
# File 'ext/socket/constdefs.c', line 5084
bonding master or slave
INTEGER2NUM(IFF_BONDING)
-
IFF_BRIDGE_PORT =
# File 'ext/socket/constdefs.c', line 5090
device used as bridge port
INTEGER2NUM(IFF_BRIDGE_PORT)
-
IFF_BROADCAST =
# File 'ext/socket/constdefs.c', line 5096
broadcast address valid
INTEGER2NUM(IFF_BROADCAST)
-
IFF_CANTCHANGE =
# File 'ext/socket/constdefs.c', line 5402
flags not changeable
INTEGER2NUM(IFF_CANTCHANGE)
-
IFF_CANTCONFIG =
# File 'ext/socket/constdefs.c', line 5102
unconfigurable using ioctl(2)
INTEGER2NUM(IFF_CANTCONFIG)
-
IFF_DEBUG =
# File 'ext/socket/constdefs.c', line 5108
turn on debugging
INTEGER2NUM(IFF_DEBUG)
-
IFF_DISABLE_NETPOLL =
# File 'ext/socket/constdefs.c', line 5114
disable netpoll at run-time
INTEGER2NUM(IFF_DISABLE_NETPOLL)
-
IFF_DONT_BRIDGE =
# File 'ext/socket/constdefs.c', line 5120
disallow bridging this ether dev
INTEGER2NUM(IFF_DONT_BRIDGE)
-
IFF_DORMANT =
# File 'ext/socket/constdefs.c', line 5126
driver signals dormant
INTEGER2NUM(IFF_DORMANT)
-
IFF_DRV_OACTIVE =
# File 'ext/socket/constdefs.c', line 5132
tx hardware queue is full
INTEGER2NUM(IFF_DRV_OACTIVE)
-
IFF_DRV_RUNNING =
# File 'ext/socket/constdefs.c', line 5138
resources allocated
INTEGER2NUM(IFF_DRV_RUNNING)
-
IFF_DYING =
# File 'ext/socket/constdefs.c', line 5144
interface is winding down
INTEGER2NUM(IFF_DYING)
-
IFF_DYNAMIC =
# File 'ext/socket/constdefs.c', line 5150
dialup device with changing addresses
INTEGER2NUM(IFF_DYNAMIC)
-
IFF_EBRIDGE =
# File 'ext/socket/constdefs.c', line 5156
ethernet bridging device
INTEGER2NUM(IFF_EBRIDGE)
-
IFF_ECHO =
# File 'ext/socket/constdefs.c', line 5162
echo sent packets
INTEGER2NUM(IFF_ECHO)
-
IFF_ISATAP =
# File 'ext/socket/constdefs.c', line 5168
ISATAP interface (RFC4214)
INTEGER2NUM(IFF_ISATAP)
-
IFF_LINK0 =
# File 'ext/socket/constdefs.c', line 5174
per link layer defined bit 0
INTEGER2NUM(IFF_LINK0)
-
IFF_LINK1 =
# File 'ext/socket/constdefs.c', line 5180
per link layer defined bit 1
INTEGER2NUM(IFF_LINK1)
-
IFF_LINK2 =
# File 'ext/socket/constdefs.c', line 5186
per link layer defined bit 2
INTEGER2NUM(IFF_LINK2)
-
IFF_LIVE_ADDR_CHANGE =
# File 'ext/socket/constdefs.c', line 5192
hardware address change when it’s running
INTEGER2NUM(IFF_LIVE_ADDR_CHANGE)
-
IFF_LOOPBACK =
# File 'ext/socket/constdefs.c', line 5198
loopback net
INTEGER2NUM(IFF_LOOPBACK)
-
IFF_LOWER_UP =
# File 'ext/socket/constdefs.c', line 5204
driver signals L1 up
INTEGER2NUM(IFF_LOWER_UP)
-
IFF_MACVLAN_PORT =
# File 'ext/socket/constdefs.c', line 5210
device used as macvlan port
INTEGER2NUM(IFF_MACVLAN_PORT)
-
IFF_MASTER =
# File 'ext/socket/constdefs.c', line 5216
master of a load balancer
INTEGER2NUM(IFF_MASTER)
-
IFF_MASTER_8023AD =
# File 'ext/socket/constdefs.c', line 5222
bonding master, 802.3ad.
INTEGER2NUM(IFF_MASTER_8023AD)
-
IFF_MASTER_ALB =
# File 'ext/socket/constdefs.c', line 5228
bonding master, balance-alb.
INTEGER2NUM(IFF_MASTER_ALB)
-
IFF_MASTER_ARPMON =
# File 'ext/socket/constdefs.c', line 5234
bonding master, ARP mon in use
INTEGER2NUM(IFF_MASTER_ARPMON)
-
IFF_MONITOR =
# File 'ext/socket/constdefs.c', line 5240
user-requested monitor mode
INTEGER2NUM(IFF_MONITOR)
-
IFF_MULTICAST =
# File 'ext/socket/constdefs.c', line 5246
supports multicast
INTEGER2NUM(IFF_MULTICAST)
-
IFF_NOARP =
# File 'ext/socket/constdefs.c', line 5252
no address resolution protocol
INTEGER2NUM(IFF_NOARP)
-
IFF_NOTRAILERS =
# File 'ext/socket/constdefs.c', line 5258
avoid use of trailers
INTEGER2NUM(IFF_NOTRAILERS)
-
IFF_OACTIVE =
# File 'ext/socket/constdefs.c', line 5264
transmission in progress
INTEGER2NUM(IFF_OACTIVE)
-
IFF_OVS_DATAPATH =
# File 'ext/socket/constdefs.c', line 5270
device used as Open vSwitch datapath port
INTEGER2NUM(IFF_OVS_DATAPATH)
-
IFF_POINTOPOINT =
# File 'ext/socket/constdefs.c', line 5276
point-to-point link
INTEGER2NUM(IFF_POINTOPOINT)
-
IFF_PORTSEL =
# File 'ext/socket/constdefs.c', line 5282
can set media type
INTEGER2NUM(IFF_PORTSEL)
-
IFF_PPROMISC =
# File 'ext/socket/constdefs.c', line 5288
user-requested promisc mode
INTEGER2NUM(IFF_PPROMISC)
-
IFF_PROMISC =
# File 'ext/socket/constdefs.c', line 5294
receive all packets
INTEGER2NUM(IFF_PROMISC)
-
IFF_RENAMING =
# File 'ext/socket/constdefs.c', line 5300
interface is being renamed
INTEGER2NUM(IFF_RENAMING)
-
IFF_ROUTE =
# File 'ext/socket/constdefs.c', line 5306
routing entry installed
INTEGER2NUM(IFF_ROUTE)
-
IFF_RUNNING =
# File 'ext/socket/constdefs.c', line 5312
resources allocated
INTEGER2NUM(IFF_RUNNING)
-
IFF_SIMPLEX =
# File 'ext/socket/constdefs.c', line 5318
can’t hear own transmissions
INTEGER2NUM(IFF_SIMPLEX)
-
IFF_SLAVE =
# File 'ext/socket/constdefs.c', line 5324
slave of a load balancer
INTEGER2NUM(IFF_SLAVE)
-
IFF_SLAVE_INACTIVE =
# File 'ext/socket/constdefs.c', line 5330
bonding slave not the curr. active
INTEGER2NUM(IFF_SLAVE_INACTIVE)
-
IFF_SLAVE_NEEDARP =
# File 'ext/socket/constdefs.c', line 5336
need ARPs for validation
INTEGER2NUM(IFF_SLAVE_NEEDARP)
-
IFF_SMART =
# File 'ext/socket/constdefs.c', line 5342
interface manages own routes
INTEGER2NUM(IFF_SMART)
-
IFF_STATICARP =
# File 'ext/socket/constdefs.c', line 5348
static ARP
INTEGER2NUM(IFF_STATICARP)
-
IFF_SUPP_NOFCS =
# File 'ext/socket/constdefs.c', line 5354
sending custom FCS
INTEGER2NUM(IFF_SUPP_NOFCS)
-
IFF_TEAM_PORT =
# File 'ext/socket/constdefs.c', line 5360
used as team port
INTEGER2NUM(IFF_TEAM_PORT)
-
IFF_TX_SKB_SHARING =
# File 'ext/socket/constdefs.c', line 5366
sharing skbs on transmit
INTEGER2NUM(IFF_TX_SKB_SHARING)
-
IFF_UNICAST_FLT =
# File 'ext/socket/constdefs.c', line 5372
unicast filtering
INTEGER2NUM(IFF_UNICAST_FLT)
-
IFF_UP =
# File 'ext/socket/constdefs.c', line 5378
interface is up
INTEGER2NUM(IFF_UP)
-
IFF_VOLATILE =
# File 'ext/socket/constdefs.c', line 5396
volatile flags
INTEGER2NUM(IFF_VOLATILE)
-
IFF_WAN_HDLC =
# File 'ext/socket/constdefs.c', line 5384
WAN HDLC device
INTEGER2NUM(IFF_WAN_HDLC)
-
IFF_XMIT_DST_RELEASE =
# File 'ext/socket/constdefs.c', line 5390
dev_hard_start_xmit() is allowed to release skb->dst
INTEGER2NUM(IFF_XMIT_DST_RELEASE)
-
IFNAMSIZ =
# File 'ext/socket/constdefs.c', line 4970
Maximum interface name size
INTEGER2NUM(IFNAMSIZ)
-
IF_NAMESIZE =
# File 'ext/socket/constdefs.c', line 4976
Maximum interface name size
INTEGER2NUM(IF_NAMESIZE)
-
INADDR_ALLHOSTS_GROUP =
# File 'ext/socket/constdefs.c', line 3586
Multicast group for all systems on this subset
INTEGER2NUM(INADDR_ALLHOSTS_GROUP)
-
INADDR_ANY =
# File 'ext/socket/constdefs.c', line 3562
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 3568
The network broadcast address
INTEGER2NUM(INADDR_BROADCAST)
-
INADDR_LOOPBACK =
# File 'ext/socket/constdefs.c', line 3574
The loopback address
INTEGER2NUM(INADDR_LOOPBACK)
-
INADDR_MAX_LOCAL_GROUP =
# File 'ext/socket/constdefs.c', line 3592
The last local network multicast group
INTEGER2NUM(INADDR_MAX_LOCAL_GROUP)
-
INADDR_NONE =
# File 'ext/socket/constdefs.c', line 3598
A bitmask for matching no valid IP address
INTEGER2NUM(INADDR_NONE)
-
INADDR_UNSPEC_GROUP =
# File 'ext/socket/constdefs.c', line 3580
The reserved multicast group
INTEGER2NUM(INADDR_UNSPEC_GROUP)
-
INET6_ADDRSTRLEN =
# File 'ext/socket/constdefs.c', line 4964
Maximum length of an IPv6 address string
INTEGER2NUM(INET6_ADDRSTRLEN)
-
INET_ADDRSTRLEN =
# File 'ext/socket/constdefs.c', line 4958
Maximum length of an IPv4 address string
INTEGER2NUM(INET_ADDRSTRLEN)
-
IPPORT_RESERVED =
# File 'ext/socket/constdefs.c', line 3550
Default minimum address for bind or connect
INTEGER2NUM(IPPORT_RESERVED)
-
IPPORT_USERRESERVED =
# File 'ext/socket/constdefs.c', line 3556
Default maximum address for bind or connect
INTEGER2NUM(IPPORT_USERRESERVED)
-
IPPROTO_AH =
# File 'ext/socket/constdefs.c', line 3484
IP6 auth header
INTEGER2NUM(IPPROTO_AH)
-
IPPROTO_BIP =
# File 'ext/socket/constdefs.c', line 3478
IPPROTO_BIPINTEGER2NUM(IPPROTO_BIP)
-
IPPROTO_DSTOPTS =
# File 'ext/socket/constdefs.c', line 3490
IP6 destination option
INTEGER2NUM(IPPROTO_DSTOPTS)
-
IPPROTO_EGP =
# File 'ext/socket/constdefs.c', line 3424
Exterior Gateway Protocol
INTEGER2NUM(IPPROTO_EGP)
-
IPPROTO_EON =
# File 'ext/socket/constdefs.c', line 3472
ISO cnlp
INTEGER2NUM(IPPROTO_EON)
-
IPPROTO_ESP =
# File 'ext/socket/constdefs.c', line 3496
IP6 Encapsulated Security Payload
INTEGER2NUM(IPPROTO_ESP)
-
IPPROTO_FRAGMENT =
# File 'ext/socket/constdefs.c', line 3502
IP6 fragmentation header
INTEGER2NUM(IPPROTO_FRAGMENT)
-
IPPROTO_GGP =
# File 'ext/socket/constdefs.c', line 3412
Gateway to Gateway Protocol
INTEGER2NUM(IPPROTO_GGP)
-
IPPROTO_HELLO =
# File 'ext/socket/constdefs.c', line 3448
“hello” routing protocol
INTEGER2NUM(IPPROTO_HELLO)
-
IPPROTO_HOPOPTS =
# File 'ext/socket/constdefs.c', line 3508
IP6 hop-by-hop options
INTEGER2NUM(IPPROTO_HOPOPTS)
-
IPPROTO_ICMP =
# File 'ext/socket/constdefs.c', line 3400
Control message protocol
INTEGER2NUM(IPPROTO_ICMP)
-
IPPROTO_ICMPV6 =
# File 'ext/socket/constdefs.c', line 3514
ICMP6
INTEGER2NUM(IPPROTO_ICMPV6)
-
IPPROTO_IDP =
# File 'ext/socket/constdefs.c', line 3442
XNS IDP
INTEGER2NUM(IPPROTO_IDP)
-
IPPROTO_IGMP =
# File 'ext/socket/constdefs.c', line 3406
Group Management Protocol
INTEGER2NUM(IPPROTO_IGMP)
-
IPPROTO_IP =
# File 'ext/socket/constdefs.c', line 3394
Dummy protocol for IP
INTEGER2NUM(IPPROTO_IP)
-
IPPROTO_IPV6 =
# File 'ext/socket/constdefs.c', line 3520
IP6 header
INTEGER2NUM(IPPROTO_IPV6)
-
IPPROTO_MAX =
# File 'ext/socket/constdefs.c', line 3544
Maximum IPPROTO constant
INTEGER2NUM(IPPROTO_MAX)
-
IPPROTO_ND =
# File 'ext/socket/constdefs.c', line 3454
Sun net disk protocol
INTEGER2NUM(IPPROTO_ND)
-
IPPROTO_NONE =
# File 'ext/socket/constdefs.c', line 3526
IP6 no next header
INTEGER2NUM(IPPROTO_NONE)
-
IPPROTO_PUP =
# File 'ext/socket/constdefs.c', line 3430
PARC Universal Packet protocol
INTEGER2NUM(IPPROTO_PUP)
-
IPPROTO_RAW =
# File 'ext/socket/constdefs.c', line 3538
Raw IP packet
INTEGER2NUM(IPPROTO_RAW)
-
IPPROTO_ROUTING =
# File 'ext/socket/constdefs.c', line 3532
IP6 routing header
INTEGER2NUM(IPPROTO_ROUTING)
-
IPPROTO_TCP =
# File 'ext/socket/constdefs.c', line 3418
TCP
INTEGER2NUM(IPPROTO_TCP)
-
IPPROTO_TP =
# File 'ext/socket/constdefs.c', line 3460
ISO transport protocol class 4
INTEGER2NUM(IPPROTO_TP)
-
IPPROTO_UDP =
# File 'ext/socket/constdefs.c', line 3436
UDP
INTEGER2NUM(IPPROTO_UDP)
-
IPPROTO_XTP =
# File 'ext/socket/constdefs.c', line 3466
Xpress Transport Protocol
INTEGER2NUM(IPPROTO_XTP)
-
IPV6_CHECKSUM =
# File 'ext/socket/constdefs.c', line 4791
Checksum offset for raw sockets
INTEGER2NUM(IPV6_CHECKSUM)
-
IPV6_DONTFRAG =
# File 'ext/socket/constdefs.c', line 4799
Don’t fragment packets
INTEGER2NUM(IPV6_DONTFRAG)
-
IPV6_DSTOPTS =
# File 'ext/socket/constdefs.c', line 4807
Destination option
INTEGER2NUM(IPV6_DSTOPTS)
-
IPV6_HOPLIMIT =
# File 'ext/socket/constdefs.c', line 4815
Hop limit
INTEGER2NUM(IPV6_HOPLIMIT)
-
IPV6_HOPOPTS =
# File 'ext/socket/constdefs.c', line 4823
Hop-by-hop option
INTEGER2NUM(IPV6_HOPOPTS)
-
IPV6_JOIN_GROUP =
# File 'ext/socket/constdefs.c', line 4727
Join a group membership
INTEGER2NUM(IPV6_JOIN_GROUP)
-
IPV6_LEAVE_GROUP =
# File 'ext/socket/constdefs.c', line 4735
Leave a group membership
INTEGER2NUM(IPV6_LEAVE_GROUP)
-
IPV6_MTU_DISCOVER =
# File 'ext/socket/constdefs.c', line 4743
Path MTU discovery
INTEGER2NUM(IPV6_MTU_DISCOVER)
-
IPV6_MULTICAST_HOPS =
# File 'ext/socket/constdefs.c', line 4751
IP6 multicast hops
INTEGER2NUM(IPV6_MULTICAST_HOPS)
-
IPV6_MULTICAST_IF =
# File 'ext/socket/constdefs.c', line 4759
IP6 multicast interface
INTEGER2NUM(IPV6_MULTICAST_IF)
-
IPV6_MULTICAST_LOOP =
# File 'ext/socket/constdefs.c', line 4767
IP6 multicast loopback
INTEGER2NUM(IPV6_MULTICAST_LOOP)
-
IPV6_NEXTHOP =
# File 'ext/socket/constdefs.c', line 4831
Next hop address
INTEGER2NUM(IPV6_NEXTHOP)
-
IPV6_PATHMTU =
# File 'ext/socket/constdefs.c', line 4839
Retrieve current path MTU
INTEGER2NUM(IPV6_PATHMTU)
-
IPV6_PKTINFO =
# File 'ext/socket/constdefs.c', line 4847
Receive packet information with datagram
INTEGER2NUM(IPV6_PKTINFO)
-
IPV6_RECVDSTOPTS =
# File 'ext/socket/constdefs.c', line 4855
Receive all IP6 options for response
INTEGER2NUM(IPV6_RECVDSTOPTS)
-
IPV6_RECVERR =
# File 'ext/socket/constdefs.c', line 4863
Enable extended reliable error message passing
INTEGER2NUM(IPV6_RECVERR)
-
IPV6_RECVHOPLIMIT =
# File 'ext/socket/constdefs.c', line 4871
Receive hop limit with datagram
INTEGER2NUM(IPV6_RECVHOPLIMIT)
-
IPV6_RECVHOPOPTS =
# File 'ext/socket/constdefs.c', line 4879
Receive hop-by-hop options
INTEGER2NUM(IPV6_RECVHOPOPTS)
-
IPV6_RECVPATHMTU =
# File 'ext/socket/constdefs.c', line 4935
Receive current path MTU with datagram
INTEGER2NUM(IPV6_RECVPATHMTU)
-
IPV6_RECVPKTINFO =
# File 'ext/socket/constdefs.c', line 4887
Receive destination IP address and incoming interface
INTEGER2NUM(IPV6_RECVPKTINFO)
-
IPV6_RECVRTHDR =
# File 'ext/socket/constdefs.c', line 4895
Receive routing header
INTEGER2NUM(IPV6_RECVRTHDR)
-
IPV6_RECVTCLASS =
# File 'ext/socket/constdefs.c', line 4903
Receive traffic class
INTEGER2NUM(IPV6_RECVTCLASS)
-
IPV6_RTHDR =
# File 'ext/socket/constdefs.c', line 4911
Allows removal of sticky routing headers
INTEGER2NUM(IPV6_RTHDR)
-
IPV6_RTHDRDSTOPTS =
# File 'ext/socket/constdefs.c', line 4919
Allows removal of sticky destination options header
INTEGER2NUM(IPV6_RTHDRDSTOPTS)
-
IPV6_RTHDR_TYPE_0 =
# File 'ext/socket/constdefs.c', line 4927
Routing header type 0
INTEGER2NUM(IPV6_RTHDR_TYPE_0)
-
IPV6_TCLASS =
# File 'ext/socket/constdefs.c', line 4943
Specify the traffic class
INTEGER2NUM(IPV6_TCLASS)
-
IPV6_UNICAST_HOPS =
# File 'ext/socket/constdefs.c', line 4775
IP6 unicast hops
INTEGER2NUM(IPV6_UNICAST_HOPS)
-
IPV6_USE_MIN_MTU =
# File 'ext/socket/constdefs.c', line 4951
Use the minimum MTU size
INTEGER2NUM(IPV6_USE_MIN_MTU)
-
IPV6_V6ONLY =
# File 'ext/socket/constdefs.c', line 4783
Only bind IPv6 with a wildcard bind
INTEGER2NUM(IPV6_V6ONLY)
-
IPX_TYPE =
# File 'ext/socket/constdefs.c', line 4336
IPX_TYPEINTEGER2NUM(IPX_TYPE)
-
IP_ADD_MEMBERSHIP =
# File 'ext/socket/constdefs.c', line 3718
Add a multicast group membership
INTEGER2NUM(IP_ADD_MEMBERSHIP)
-
IP_ADD_SOURCE_MEMBERSHIP =
# File 'ext/socket/constdefs.c', line 3850
Add a multicast group membership
INTEGER2NUM(IP_ADD_SOURCE_MEMBERSHIP)
-
IP_BLOCK_SOURCE =
# File 'ext/socket/constdefs.c', line 3844
Block IPv4 multicast packets with a give source address
INTEGER2NUM(IP_BLOCK_SOURCE)
-
IP_DEFAULT_MULTICAST_LOOP =
# File 'ext/socket/constdefs.c', line 3736
Default multicast loopback
INTEGER2NUM(IP_DEFAULT_MULTICAST_LOOP)
-
IP_DEFAULT_MULTICAST_TTL =
# File 'ext/socket/constdefs.c', line 3730
Default multicast TTL
INTEGER2NUM(IP_DEFAULT_MULTICAST_TTL)
-
IP_DONTFRAG =
# File 'ext/socket/constdefs.c', line 3658
Don’t fragment packets
INTEGER2NUM(IP_DONTFRAG)
-
IP_DROP_MEMBERSHIP =
# File 'ext/socket/constdefs.c', line 3724
Drop a multicast group membership
INTEGER2NUM(IP_DROP_MEMBERSHIP)
-
IP_DROP_SOURCE_MEMBERSHIP =
# File 'ext/socket/constdefs.c', line 3856
Drop a multicast group membership
INTEGER2NUM(IP_DROP_SOURCE_MEMBERSHIP)
-
IP_FREEBIND =
# File 'ext/socket/constdefs.c', line 3790
Allow binding to nonexistent IP addresses
INTEGER2NUM(IP_FREEBIND)
-
IP_HDRINCL =
# File 'ext/socket/constdefs.c', line 3610
Header is included with data
INTEGER2NUM(IP_HDRINCL)
-
IP_IPSEC_POLICY =
# File 'ext/socket/constdefs.c', line 3796
IPsec security policy
INTEGER2NUM(IP_IPSEC_POLICY)
-
IP_MAX_MEMBERSHIPS =
# File 'ext/socket/constdefs.c', line 3742
Maximum number multicast groups a socket can join
INTEGER2NUM(IP_MAX_MEMBERSHIPS)
-
IP_MINTTL =
# File 'ext/socket/constdefs.c', line 3652
Minimum TTL allowed for received packets
INTEGER2NUM(IP_MINTTL)
-
IP_MSFILTER =
# File 'ext/socket/constdefs.c', line 3862
Multicast source filtering
INTEGER2NUM(IP_MSFILTER)
-
IP_MTU =
# File 'ext/socket/constdefs.c', line 3784
The Maximum Transmission Unit of the socket
INTEGER2NUM(IP_MTU)
-
IP_MTU_DISCOVER =
# File 'ext/socket/constdefs.c', line 3766
Path MTU discovery
INTEGER2NUM(IP_MTU_DISCOVER)
-
IP_MULTICAST_IF =
# File 'ext/socket/constdefs.c', line 3700
IP multicast interface
INTEGER2NUM(IP_MULTICAST_IF)
-
IP_MULTICAST_LOOP =
# File 'ext/socket/constdefs.c', line 3712
IP multicast loopback
INTEGER2NUM(IP_MULTICAST_LOOP)
-
IP_MULTICAST_TTL =
# File 'ext/socket/constdefs.c', line 3706
IP multicast TTL
INTEGER2NUM(IP_MULTICAST_TTL)
-
IP_ONESBCAST =
# File 'ext/socket/constdefs.c', line 3670
Force outgoing broadcast datagrams to have the undirected broadcast address
INTEGER2NUM(IP_ONESBCAST)
-
IP_OPTIONS =
# File 'ext/socket/constdefs.c', line 3604
IP options to be included in packets
INTEGER2NUM(IP_OPTIONS)
-
IP_PASSSEC =
# File 'ext/socket/constdefs.c', line 3808
Retrieve security context with datagram
INTEGER2NUM(IP_PASSSEC)
-
IP_PKTINFO =
# File 'ext/socket/constdefs.c', line 3754
Receive packet information with datagrams
INTEGER2NUM(IP_PKTINFO)
-
IP_PKTOPTIONS =
# File 'ext/socket/constdefs.c', line 3760
Receive packet options with datagrams
INTEGER2NUM(IP_PKTOPTIONS)
-
IP_PMTUDISC_DO =
# File 'ext/socket/constdefs.c', line 3832
Always send DF frames
INTEGER2NUM(IP_PMTUDISC_DO)
-
IP_PMTUDISC_DONT =
# File 'ext/socket/constdefs.c', line 3820
Never send DF frames
INTEGER2NUM(IP_PMTUDISC_DONT)
-
IP_PMTUDISC_WANT =
# File 'ext/socket/constdefs.c', line 3826
Use per-route hints
INTEGER2NUM(IP_PMTUDISC_WANT)
-
IP_PORTRANGE =
# File 'ext/socket/constdefs.c', line 3694
Set the port range for sockets with unspecified port numbers
INTEGER2NUM(IP_PORTRANGE)
-
IP_RECVDSTADDR =
# File 'ext/socket/constdefs.c', line 3640
Receive IP destination address with datagram
INTEGER2NUM(IP_RECVDSTADDR)
-
IP_RECVERR =
# File 'ext/socket/constdefs.c', line 3772
Enable extended reliable error message passing
INTEGER2NUM(IP_RECVERR)
-
IP_RECVIF =
# File 'ext/socket/constdefs.c', line 3682
Receive interface information with datagrams
INTEGER2NUM(IP_RECVIF)
-
IP_RECVOPTS =
# File 'ext/socket/constdefs.c', line 3628
Receive all IP options with datagram
INTEGER2NUM(IP_RECVOPTS)
-
IP_RECVRETOPTS =
# File 'ext/socket/constdefs.c', line 3634
Receive all IP options for response
INTEGER2NUM(IP_RECVRETOPTS)
-
IP_RECVSLLA =
# File 'ext/socket/constdefs.c', line 3688
Receive link-layer address with datagrams
INTEGER2NUM(IP_RECVSLLA)
-
IP_RECVTOS =
# File 'ext/socket/constdefs.c', line 3778
Receive TOS with incoming packets
INTEGER2NUM(IP_RECVTOS)
-
IP_RECVTTL =
# File 'ext/socket/constdefs.c', line 3676
Receive IP TTL with datagrams
INTEGER2NUM(IP_RECVTTL)
-
IP_RETOPTS =
# File 'ext/socket/constdefs.c', line 3646
IP options to be included in datagrams
INTEGER2NUM(IP_RETOPTS)
-
IP_ROUTER_ALERT =
# File 'ext/socket/constdefs.c', line 3748
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 3664
Source address for outgoing UDP datagrams
INTEGER2NUM(IP_SENDSRCADDR)
-
IP_TOS =
# File 'ext/socket/constdefs.c', line 3616
IP type-of-service
INTEGER2NUM(IP_TOS)
-
IP_TRANSPARENT =
# File 'ext/socket/constdefs.c', line 3814
Transparent proxy
INTEGER2NUM(IP_TRANSPARENT)
-
IP_TTL =
# File 'ext/socket/constdefs.c', line 3622
IP time-to-live
INTEGER2NUM(IP_TTL)
-
IP_UNBLOCK_SOURCE =
# File 'ext/socket/constdefs.c', line 3838
Unblock IPv4 multicast packets with a give source address
INTEGER2NUM(IP_UNBLOCK_SOURCE)
-
IP_XFRM_POLICY =
# File 'ext/socket/constdefs.c', line 3802
IP_XFRM_POLICYINTEGER2NUM(IP_XFRM_POLICY)
-
LOCAL_CONNWAIT =
# File 'ext/socket/constdefs.c', line 5054
Connect blocks until accepted
INTEGER2NUM(LOCAL_CONNWAIT)
-
LOCAL_CREDS =
# File 'ext/socket/constdefs.c', line 5048
Pass credentials to receiver
INTEGER2NUM(LOCAL_CREDS)
-
LOCAL_PEERCRED =
# File 'ext/socket/constdefs.c', line 5042
Retrieve peer credentials
INTEGER2NUM(LOCAL_PEERCRED)
-
MCAST_BLOCK_SOURCE =
# File 'ext/socket/constdefs.c', line 3874
Block multicast packets from this source
INTEGER2NUM(MCAST_BLOCK_SOURCE)
-
MCAST_EXCLUDE =
# File 'ext/socket/constdefs.c', line 3910
Exclusive multicast source filter
INTEGER2NUM(MCAST_EXCLUDE)
-
MCAST_INCLUDE =
# File 'ext/socket/constdefs.c', line 3916
Inclusive multicast source filter
INTEGER2NUM(MCAST_INCLUDE)
-
MCAST_JOIN_GROUP =
# File 'ext/socket/constdefs.c', line 3868
Join a multicast group
INTEGER2NUM(MCAST_JOIN_GROUP)
-
MCAST_JOIN_SOURCE_GROUP =
# File 'ext/socket/constdefs.c', line 3892
Join a multicast source group
INTEGER2NUM(MCAST_JOIN_SOURCE_GROUP)
-
MCAST_LEAVE_GROUP =
# File 'ext/socket/constdefs.c', line 3886
Leave a multicast group
INTEGER2NUM(MCAST_LEAVE_GROUP)
-
MCAST_LEAVE_SOURCE_GROUP =
# File 'ext/socket/constdefs.c', line 3898
Leave a multicast source group
INTEGER2NUM(MCAST_LEAVE_SOURCE_GROUP)
-
MCAST_MSFILTER =
# File 'ext/socket/constdefs.c', line 3904
Multicast source filtering
INTEGER2NUM(MCAST_MSFILTER)
-
MCAST_UNBLOCK_SOURCE =
# File 'ext/socket/constdefs.c', line 3880
Unblock multicast packets from this source
INTEGER2NUM(MCAST_UNBLOCK_SOURCE)
-
MSG_COMPAT =
# File 'ext/socket/constdefs.c', line 3292
End of record
INTEGER2NUM(MSG_COMPAT)
-
MSG_CONFIRM =
# File 'ext/socket/constdefs.c', line 3316
Confirm path validity
INTEGER2NUM(MSG_CONFIRM)
-
MSG_CTRUNC =
# File 'ext/socket/constdefs.c', line 3238
Control data lost before delivery
INTEGER2NUM(MSG_CTRUNC)
-
MSG_DONTROUTE =
# File 'ext/socket/constdefs.c', line 3220
Send without using the routing tables
INTEGER2NUM(MSG_DONTROUTE)
-
MSG_DONTWAIT =
# File 'ext/socket/constdefs.c', line 3250
This message should be non-blocking
INTEGER2NUM(MSG_DONTWAIT)
-
MSG_EOF =
# File 'ext/socket/constdefs.c', line 3256
Data completes connection
INTEGER2NUM(MSG_EOF)
-
MSG_EOR =
# File 'ext/socket/constdefs.c', line 3226
Data completes record
INTEGER2NUM(MSG_EOR)
-
MSG_ERRQUEUE =
# File 'ext/socket/constdefs.c', line 3328
Fetch message from error queue
INTEGER2NUM(MSG_ERRQUEUE)
-
MSG_FASTOPEN =
# File 'ext/socket/constdefs.c', line 3346
Reduce step of the handshake process
INTEGER2NUM(MSG_FASTOPEN)
-
MSG_FIN =
# File 'ext/socket/constdefs.c', line 3304
MSG_FININTEGER2NUM(MSG_FIN)
-
MSG_FLUSH =
# File 'ext/socket/constdefs.c', line 3262
Start of a hold sequence. Dumps to so_temp
INTEGER2NUM(MSG_FLUSH)
-
MSG_HAVEMORE =
# File 'ext/socket/constdefs.c', line 3280
Data ready to be read
INTEGER2NUM(MSG_HAVEMORE)
-
MSG_HOLD =
# File 'ext/socket/constdefs.c', line 3268
Hold fragment in so_temp
INTEGER2NUM(MSG_HOLD)
-
MSG_MORE =
# File 'ext/socket/constdefs.c', line 3340
Sender will send more
INTEGER2NUM(MSG_MORE)
-
MSG_NOSIGNAL =
# File 'ext/socket/constdefs.c', line 3334
Do not generate SIGPIPE
INTEGER2NUM(MSG_NOSIGNAL)
-
MSG_OOB =
# File 'ext/socket/constdefs.c', line 3208
Process out-of-band data
INTEGER2NUM(MSG_OOB)
-
MSG_PEEK =
# File 'ext/socket/constdefs.c', line 3214
Peek at incoming message
INTEGER2NUM(MSG_PEEK)
-
MSG_PROXY =
# File 'ext/socket/constdefs.c', line 3298
Wait for full request
INTEGER2NUM(MSG_PROXY)
-
MSG_RCVMORE =
# File 'ext/socket/constdefs.c', line 3286
Data remains in the current packet
INTEGER2NUM(MSG_RCVMORE)
-
MSG_RST =
# File 'ext/socket/constdefs.c', line 3322
MSG_RSTINTEGER2NUM(MSG_RST)
-
MSG_SEND =
# File 'ext/socket/constdefs.c', line 3274
Send the packet in so_temp
INTEGER2NUM(MSG_SEND)
-
MSG_SYN =
# File 'ext/socket/constdefs.c', line 3310
MSG_SYNINTEGER2NUM(MSG_SYN)
-
MSG_TRUNC =
# File 'ext/socket/constdefs.c', line 3232
Data discarded before delivery
INTEGER2NUM(MSG_TRUNC)
-
MSG_WAITALL =
# File 'ext/socket/constdefs.c', line 3244
Wait for full request or error
INTEGER2NUM(MSG_WAITALL)
-
NI_DGRAM =
# File 'ext/socket/constdefs.c', line 4702
The service specified is a datagram service (looks up UDP ports)
INTEGER2NUM(NI_DGRAM)
-
NI_MAXHOST =
# File 'ext/socket/constdefs.c', line 4666
Maximum length of a hostname
INTEGER2NUM(NI_MAXHOST)
-
NI_MAXSERV =
# File 'ext/socket/constdefs.c', line 4672
Maximum length of a service name
INTEGER2NUM(NI_MAXSERV)
-
NI_NAMEREQD =
# File 'ext/socket/constdefs.c', line 4690
A name is required
INTEGER2NUM(NI_NAMEREQD)
-
NI_NOFQDN =
# File 'ext/socket/constdefs.c', line 4678
An FQDN is not required for local hosts, return only the local part
INTEGER2NUM(NI_NOFQDN)
-
NI_NUMERICHOST =
# File 'ext/socket/constdefs.c', line 4684
Return a numeric address
INTEGER2NUM(NI_NUMERICHOST)
-
NI_NUMERICSERV =
# File 'ext/socket/constdefs.c', line 4696
Return the service name as a digit string
INTEGER2NUM(NI_NUMERICSERV)
-
PF_ALG =
# File 'ext/socket/constdefs.c', line 3166
Interface to kernel crypto API
INTEGER2NUM(PF_ALG)
-
PF_APPLETALK =
# File 'ext/socket/constdefs.c', line 2638
AppleTalk protocol
INTEGER2NUM(PF_APPLETALK)
-
PF_ATM =
# File 'ext/socket/constdefs.c', line 2974
Asynchronous Transfer Mode
INTEGER2NUM(PF_ATM)
-
PF_AX25 =
# File 'ext/socket/constdefs.c', line 2614
AX.25protocolINTEGER2NUM(PF_AX25)
-
PF_BLUETOOTH =
# File 'ext/socket/constdefs.c', line 3154
Bluetooth low-level socket protocol
INTEGER2NUM(PF_BLUETOOTH)
-
PF_CAN =
# File 'ext/socket/constdefs.c', line 3130
Controller Area Network automotive bus protocol
INTEGER2NUM(PF_CAN)
-
PF_CCITT =
# File 'ext/socket/constdefs.c', line 2758
CCITT (now ITU-T) protocols
INTEGER2NUM(PF_CCITT)
-
PF_CHAOS =
# File 'ext/socket/constdefs.c', line 2686
MIT CHAOS protocols
INTEGER2NUM(PF_CHAOS)
-
PF_CNT =
# File 'ext/socket/constdefs.c', line 2878
Computer Network Technology
INTEGER2NUM(PF_CNT)
-
PF_COIP =
# File 'ext/socket/constdefs.c', line 2866
Connection-oriented IP
INTEGER2NUM(PF_COIP)
-
PF_DATAKIT =
# File 'ext/socket/constdefs.c', line 2746
Datakit protocol
INTEGER2NUM(PF_DATAKIT)
-
PF_DEC =
# File 'ext/socket/constdefs.c', line 2782
DECnet protocol
INTEGER2NUM(PF_DEC)
-
PF_DECnet =
# File 'ext/socket/constdefs.c', line 2794
DECnet protocol
INTEGER2NUM(PF_DECnet)
-
PF_DLI =
# File 'ext/socket/constdefs.c', line 2806
DEC Direct Data Link Interface protocol
INTEGER2NUM(PF_DLI)
-
PF_ECMA =
# File 'ext/socket/constdefs.c', line 2734
European Computer Manufacturers protocols
INTEGER2NUM(PF_ECMA)
-
PF_HYLINK =
# File 'ext/socket/constdefs.c', line 2830
NSC Hyperchannel protocol
INTEGER2NUM(PF_HYLINK)
-
PF_IB =
# File 'ext/socket/constdefs.c', line 3106
InfiniBand native addressing
INTEGER2NUM(PF_IB)
-
PF_IMPLINK =
# File 'ext/socket/constdefs.c', line 2662
ARPANET IMP protocol
INTEGER2NUM(PF_IMPLINK)
-
PF_INET =
# File 'ext/socket/constdefs.c', line 2574
IPv4 protocol
INTEGER2NUM(PF_INET)
-
PF_INET6 =
# File 'ext/socket/constdefs.c', line 2589
IPv6 protocol
INTEGER2NUM(PF_INET6)
-
PF_IPX =
# File 'ext/socket/constdefs.c', line 2626
IPX protocol
INTEGER2NUM(PF_IPX)
-
PF_ISDN =
# File 'ext/socket/constdefs.c', line 2914
Integrated Services Digital Network
INTEGER2NUM(PF_ISDN)
-
PF_ISO =
# File 'ext/socket/constdefs.c', line 2710
ISO Open Systems Interconnection protocols
INTEGER2NUM(PF_ISO)
-
PF_KCM =
# File 'ext/socket/constdefs.c', line 3190
KCM (kernel connection multiplexor) interface
INTEGER2NUM(PF_KCM)
-
PF_KEY =
# File 'ext/socket/constdefs.c', line 3046
Key management protocol, originally developed for usage with IPsec
INTEGER2NUM(PF_KEY)
-
PF_LAT =
# File 'ext/socket/constdefs.c', line 2818
Local Area Transport protocol
INTEGER2NUM(PF_LAT)
-
PF_LINK =
# File 'ext/socket/constdefs.c', line 2854
Link layer interface
INTEGER2NUM(PF_LINK)
-
PF_LLC =
# File 'ext/socket/constdefs.c', line 3094
Logical link control (IEEE 802.2 LLC) protocol
INTEGER2NUM(PF_LLC)
-
PF_LOCAL =
# File 'ext/socket/constdefs.c', line 2650
Host-internal protocols
INTEGER2NUM(PF_LOCAL)
-
PF_MAX =
# File 'ext/socket/constdefs.c', line 2998
Maximum address family for this platform
INTEGER2NUM(PF_MAX)
-
PF_MPLS =
# File 'ext/socket/constdefs.c', line 3118
Multiprotocol Label Switching
INTEGER2NUM(PF_MPLS)
-
PF_NATM =
# File 'ext/socket/constdefs.c', line 2926
Native ATM access
INTEGER2NUM(PF_NATM)
-
PF_NDRV =
# File 'ext/socket/constdefs.c', line 2902
Network driver raw access
INTEGER2NUM(PF_NDRV)
-
PF_NETBIOS =
# File 'ext/socket/constdefs.c', line 2950
NetBIOS
INTEGER2NUM(PF_NETBIOS)
-
PF_NETGRAPH =
# File 'ext/socket/constdefs.c', line 2986
Netgraph sockets
INTEGER2NUM(PF_NETGRAPH)
-
PF_NETLINK =
# File 'ext/socket/constdefs.c', line 3058
Kernel user interface device
INTEGER2NUM(PF_NETLINK)
-
PF_NS =
# File 'ext/socket/constdefs.c', line 2698
XEROX NS protocols
INTEGER2NUM(PF_NS)
-
PF_OSI =
# File 'ext/socket/constdefs.c', line 2722
ISO Open Systems Interconnection protocols
INTEGER2NUM(PF_OSI)
-
PF_PACKET =
# File 'ext/socket/constdefs.c', line 3010
Direct link-layer access
INTEGER2NUM(PF_PACKET)
-
PF_PIP =
# File 'ext/socket/constdefs.c', line 3034
Help Identify PIP packets
INTEGER2NUM(PF_PIP)
-
PF_PPP =
# File 'ext/socket/constdefs.c', line 2962
Point-to-Point Protocol
INTEGER2NUM(PF_PPP)
-
PF_PPPOX =
# File 'ext/socket/constdefs.c', line 3082
Generic PPP transport layer, for setting up L2 tunnels (L2TP and PPPoE)
INTEGER2NUM(PF_PPPOX)
-
PF_PUP =
# File 'ext/socket/constdefs.c', line 2674
PARC Universal Packet protocol
INTEGER2NUM(PF_PUP)
-
PF_RDS =
# File 'ext/socket/constdefs.c', line 3070
Reliable Datagram Sockets (RDS) protocol
INTEGER2NUM(PF_RDS)
-
PF_ROUTE =
# File 'ext/socket/constdefs.c', line 2842
Internal routing protocol
INTEGER2NUM(PF_ROUTE)
-
PF_RTIP =
# File 'ext/socket/constdefs.c', line 3028
Help Identify RTIP packets
INTEGER2NUM(PF_RTIP)
-
PF_SIP =
# File 'ext/socket/constdefs.c', line 2890
Simple Internet Protocol
INTEGER2NUM(PF_SIP)
-
PF_SNA =
# File 'ext/socket/constdefs.c', line 2770
IBM SNA protocol
INTEGER2NUM(PF_SNA)
-
PF_SYSTEM =
# File 'ext/socket/constdefs.c', line 2938
Kernel event messages
INTEGER2NUM(PF_SYSTEM)
-
PF_TIPC =
# File 'ext/socket/constdefs.c', line 3142
TIPC, “cluster domain sockets” protocol
INTEGER2NUM(PF_TIPC)
-
PF_UNIX =
# File 'ext/socket/constdefs.c', line 2602
UNIX sockets
INTEGER2NUM(PF_UNIX)
-
PF_UNSPEC =
# File 'ext/socket/constdefs.c', line 2562
Unspecified protocol, any supported address family
INTEGER2NUM(PF_UNSPEC)
-
PF_VSOCK =
# File 'ext/socket/constdefs.c', line 3178
VSOCK (originally “VMWare VSockets”) protocol for hypervisor-guest communication
INTEGER2NUM(PF_VSOCK)
-
PF_XDP =
# File 'ext/socket/constdefs.c', line 3202
XDP (express data path) interface
INTEGER2NUM(PF_XDP)
-
PF_XTP =
# File 'ext/socket/constdefs.c', line 3022
eXpress Transfer Protocol
INTEGER2NUM(PF_XTP)
-
SCM_BINTIME =
# File 'ext/socket/constdefs.c', line 5012
Timestamp (bintime)
INTEGER2NUM(SCM_BINTIME)
-
SCM_CREDENTIALS =
# File 'ext/socket/constdefs.c', line 5018
The sender’s credentials
INTEGER2NUM(SCM_CREDENTIALS)
-
SCM_CREDS =
# File 'ext/socket/constdefs.c', line 5024
Process credentials
INTEGER2NUM(SCM_CREDS)
-
SCM_RIGHTS =
# File 'ext/socket/constdefs.c', line 4988
Access rights
INTEGER2NUM(SCM_RIGHTS)
-
SCM_TIMESTAMP =
# File 'ext/socket/constdefs.c', line 4994
Timestamp (timeval)
INTEGER2NUM(SCM_TIMESTAMP)
-
SCM_TIMESTAMPING =
# File 'ext/socket/constdefs.c', line 5006
Timestamp (timespec list) (Linux 2.6.30)
INTEGER2NUM(SCM_TIMESTAMPING)
-
SCM_TIMESTAMPNS =
# File 'ext/socket/constdefs.c', line 5000
Timespec (timespec)
INTEGER2NUM(SCM_TIMESTAMPNS)
-
SCM_UCRED =
# File 'ext/socket/constdefs.c', line 5030
User credentials
INTEGER2NUM(SCM_UCRED)
-
SCM_WIFI_STATUS =
# File 'ext/socket/constdefs.c', line 5036
Wifi status (Linux 3.3)
INTEGER2NUM(SCM_WIFI_STATUS)
-
SHUT_RD =
# File 'ext/socket/constdefs.c', line 4708
Shut down the reading side of the socket
INTEGER2NUM(SHUT_RD)
-
SHUT_RDWR =
# File 'ext/socket/constdefs.c', line 4720
Shut down the both sides of the socket
INTEGER2NUM(SHUT_RDWR)
-
SHUT_WR =
# File 'ext/socket/constdefs.c', line 4714
Shut down the writing side of the socket
INTEGER2NUM(SHUT_WR)
-
SOCK_CLOEXEC =
# File 'ext/socket/constdefs.c', line 2550
Set the close-on-exec (FD_CLOEXEC) flag on the new file descriptor.
INTEGER2NUM(SOCK_CLOEXEC)
-
SOCK_DGRAM =
# File 'ext/socket/constdefs.c', line 2514
A datagram socket provides connectionless, unreliable messaging
INTEGER2NUM(SOCK_DGRAM)
-
SOCK_NONBLOCK =
# File 'ext/socket/constdefs.c', line 2544
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 2538
Device-level packet access
INTEGER2NUM(SOCK_PACKET)
-
SOCK_RAW =
# File 'ext/socket/constdefs.c', line 2520
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 2526
A reliable datagram socket provides reliable delivery of messages
INTEGER2NUM(SOCK_RDM)
-
SOCK_SEQPACKET =
# File 'ext/socket/constdefs.c', line 2532
A sequential packet socket provides sequenced, reliable two-way connection for datagrams
INTEGER2NUM(SOCK_SEQPACKET)
-
SOCK_STREAM =
# File 'ext/socket/constdefs.c', line 2508
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 3376
AppleTalk socket options
INTEGER2NUM(SOL_ATALK)
-
SOL_AX25 =
# File 'ext/socket/constdefs.c', line 3370
AX.25socket optionsINTEGER2NUM(SOL_AX25)
-
SOL_IP =
# File 'ext/socket/constdefs.c', line 3358
IP socket options
INTEGER2NUM(SOL_IP)
-
SOL_IPX =
# File 'ext/socket/constdefs.c', line 3364
IPX socket options
INTEGER2NUM(SOL_IPX)
-
SOL_SOCKET =
# File 'ext/socket/constdefs.c', line 3352
Socket-level options
INTEGER2NUM(SOL_SOCKET)
-
SOL_TCP =
# File 'ext/socket/constdefs.c', line 3382
TCP socket options
INTEGER2NUM(SOL_TCP)
-
SOL_UDP =
# File 'ext/socket/constdefs.c', line 3388
UDP socket options
INTEGER2NUM(SOL_UDP)
-
SOMAXCONN =
# File 'ext/socket/constdefs.c', line 4982
Maximum connection requests that may be queued for a socket
INTEGER2NUM(SOMAXCONN)
-
SOPRI_BACKGROUND =
# File 'ext/socket/constdefs.c', line 4330
Background socket priority
INTEGER2NUM(SOPRI_BACKGROUND)
-
SOPRI_INTERACTIVE =
# File 'ext/socket/constdefs.c', line 4318
Interactive socket priority
INTEGER2NUM(SOPRI_INTERACTIVE)
-
SOPRI_NORMAL =
# File 'ext/socket/constdefs.c', line 4324
Normal socket priority
INTEGER2NUM(SOPRI_NORMAL)
-
SO_ACCEPTCONN =
# File 'ext/socket/constdefs.c', line 4054
Socket has had listen() called on it
INTEGER2NUM(SO_ACCEPTCONN)
-
SO_ACCEPTFILTER =
# File 'ext/socket/constdefs.c', line 4066
There is an accept filter
INTEGER2NUM(SO_ACCEPTFILTER)
-
SO_ALLZONES =
# File 'ext/socket/constdefs.c', line 4192
Bypass zone boundaries
INTEGER2NUM(SO_ALLZONES)
-
SO_ATTACH_FILTER =
# File 'ext/socket/constdefs.c', line 4138
Attach an accept filter
INTEGER2NUM(SO_ATTACH_FILTER)
-
SO_BINDTODEVICE =
# File 'ext/socket/constdefs.c', line 4132
Only send packets from the given interface
INTEGER2NUM(SO_BINDTODEVICE)
-
SO_BINTIME =
# File 'ext/socket/constdefs.c', line 4174
Receive timestamp with datagrams (bintime)
INTEGER2NUM(SO_BINTIME)
-
SO_BPF_EXTENSIONS =
# File 'ext/socket/constdefs.c', line 4282
Query supported BPF extensions (Linux 3.14)
INTEGER2NUM(SO_BPF_EXTENSIONS)
-
SO_BROADCAST =
# File 'ext/socket/constdefs.c', line 3958
Permit sending of broadcast messages
INTEGER2NUM(SO_BROADCAST)
-
SO_BUSY_POLL =
# File 'ext/socket/constdefs.c', line 4270
Set the threshold in microseconds for low latency polling (Linux 3.11)
INTEGER2NUM(SO_BUSY_POLL)
-
SO_CONNECT_TIME =
# File 'ext/socket/constdefs.c', line 4312
Returns the number of seconds a socket has been connected. This option is only valid for connection-oriented protocols (Windows)
INTEGER2NUM(SO_CONNECT_TIME)
-
SO_DEBUG =
# File 'ext/socket/constdefs.c', line 3922
Debug info recording
INTEGER2NUM(SO_DEBUG)
-
SO_DETACH_FILTER =
# File 'ext/socket/constdefs.c', line 4144
Detach an accept filter
INTEGER2NUM(SO_DETACH_FILTER)
-
SO_DOMAIN =
# File 'ext/socket/constdefs.c', line 4228
Domain given for socket() (Linux 2.6.32)
INTEGER2NUM(SO_DOMAIN)
-
SO_DONTROUTE =
# File 'ext/socket/constdefs.c', line 3952
Use interface addresses
INTEGER2NUM(SO_DONTROUTE)
-
SO_DONTTRUNC =
# File 'ext/socket/constdefs.c', line 4078
Retain unread data
INTEGER2NUM(SO_DONTTRUNC)
-
SO_ERROR =
# File 'ext/socket/constdefs.c', line 3946
Get and clear the error status
INTEGER2NUM(SO_ERROR)
-
SO_GET_FILTER =
# File 'ext/socket/constdefs.c', line 4150
Obtain filter set by SO_ATTACH_FILTER (Linux 3.8)
INTEGER2NUM(SO_GET_FILTER)
-
SO_INCOMING_CPU =
# File 'ext/socket/constdefs.c', line 4300
Receive the cpu attached to the socket (Linux 3.19)
INTEGER2NUM(SO_INCOMING_CPU)
-
SO_INCOMING_NAPI_ID =
# File 'ext/socket/constdefs.c', line 4306
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 3988
Keep connections alive
INTEGER2NUM(SO_KEEPALIVE)
-
SO_LINGER =
# File 'ext/socket/constdefs.c', line 4012
Linger on close if data is present
INTEGER2NUM(SO_LINGER)
-
SO_LOCK_FILTER =
# File 'ext/socket/constdefs.c', line 4258
Lock the filter attached to a socket (Linux 3.9)
INTEGER2NUM(SO_LOCK_FILTER)
-
SO_MAC_EXEMPT =
# File 'ext/socket/constdefs.c', line 4186
Mandatory Access Control exemption for unlabeled peers
INTEGER2NUM(SO_MAC_EXEMPT)
-
SO_MARK =
# File 'ext/socket/constdefs.c', line 4210
Set the mark for mark-based routing (Linux 2.6.25)
INTEGER2NUM(SO_MARK)
-
SO_MAX_PACING_RATE =
# File 'ext/socket/constdefs.c', line 4276
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 4102
Install socket-level Network Kernel Extension
INTEGER2NUM(SO_NKE)
-
SO_NOFCS =
# File 'ext/socket/constdefs.c', line 4252
Set netns of a socket (Linux 3.4)
INTEGER2NUM(SO_NOFCS)
-
SO_NOSIGPIPE =
# File 'ext/socket/constdefs.c', line 4108
Don’t SIGPIPE on EPIPE
INTEGER2NUM(SO_NOSIGPIPE)
-
SO_NO_CHECK =
# File 'ext/socket/constdefs.c', line 4000
Disable checksums
INTEGER2NUM(SO_NO_CHECK)
-
SO_NREAD =
# File 'ext/socket/constdefs.c', line 4096
Get first packet byte count
INTEGER2NUM(SO_NREAD)
-
SO_OOBINLINE =
# File 'ext/socket/constdefs.c', line 3994
Leave received out-of-band data in-line
INTEGER2NUM(SO_OOBINLINE)
-
SO_PASSCRED =
# File 'ext/socket/constdefs.c', line 4018
Receive SCM_CREDENTIALS messages
INTEGER2NUM(SO_PASSCRED)
-
SO_PASSSEC =
# File 'ext/socket/constdefs.c', line 4204
Toggle security context passing (Linux 2.6.18)
INTEGER2NUM(SO_PASSSEC)
-
SO_PEEK_OFF =
# File 'ext/socket/constdefs.c', line 4246
Set the peek offset (Linux 3.4)
INTEGER2NUM(SO_PEEK_OFF)
-
SO_PEERCRED =
# File 'ext/socket/constdefs.c', line 4024
The credentials of the foreign process connected to this socket
INTEGER2NUM(SO_PEERCRED)
-
SO_PEERNAME =
# File 'ext/socket/constdefs.c', line 4156
Name of the connecting user
INTEGER2NUM(SO_PEERNAME)
-
SO_PEERSEC =
# File 'ext/socket/constdefs.c', line 4198
Obtain the security credentials (Linux 2.6.2)
INTEGER2NUM(SO_PEERSEC)
-
SO_PRIORITY =
# File 'ext/socket/constdefs.c', line 4006
The protocol-defined priority for all packets on this socket
INTEGER2NUM(SO_PRIORITY)
-
SO_PROTOCOL =
# File 'ext/socket/constdefs.c', line 4222
Protocol given for socket() (Linux 2.6.32)
INTEGER2NUM(SO_PROTOCOL)
-
SO_RCVBUF =
# File 'ext/socket/constdefs.c', line 3970
Receive buffer size
INTEGER2NUM(SO_RCVBUF)
-
SO_RCVBUFFORCE =
# File 'ext/socket/constdefs.c', line 3982
Receive buffer size without rmem_max limit (Linux 2.6.14)
INTEGER2NUM(SO_RCVBUFFORCE)
-
SO_RCVLOWAT =
# File 'ext/socket/constdefs.c', line 4030
Receive low-water mark
INTEGER2NUM(SO_RCVLOWAT)
-
SO_RCVTIMEO =
# File 'ext/socket/constdefs.c', line 4042
Receive timeout
INTEGER2NUM(SO_RCVTIMEO)
-
SO_RECVUCRED =
# File 'ext/socket/constdefs.c', line 4180
Receive user credentials with datagram
INTEGER2NUM(SO_RECVUCRED)
-
SO_REUSEADDR =
# File 'ext/socket/constdefs.c', line 3928
Allow local address reuse
INTEGER2NUM(SO_REUSEADDR)
-
SO_REUSEPORT =
# File 'ext/socket/constdefs.c', line 3934
Allow local address and port reuse
INTEGER2NUM(SO_REUSEPORT)
-
SO_RTABLE =
# File 'ext/socket/constdefs.c', line 4294
Set the routing table for this socket (OpenBSD)
INTEGER2NUM(SO_RTABLE)
-
SO_RXQ_OVFL =
# File 'ext/socket/constdefs.c', line 4234
Toggle cmsg for number of packets dropped (Linux 2.6.33)
INTEGER2NUM(SO_RXQ_OVFL)
-
SO_SECURITY_AUTHENTICATION =
# File 'ext/socket/constdefs.c', line 4114
SO_SECURITY_AUTHENTICATIONINTEGER2NUM(SO_SECURITY_AUTHENTICATION)
-
SO_SECURITY_ENCRYPTION_NETWORK =
# File 'ext/socket/constdefs.c', line 4126
SO_SECURITY_ENCRYPTION_NETWORKINTEGER2NUM(SO_SECURITY_ENCRYPTION_NETWORK)
-
SO_SECURITY_ENCRYPTION_TRANSPORT =
# File 'ext/socket/constdefs.c', line 4120
SO_SECURITY_ENCRYPTION_TRANSPORTINTEGER2NUM(SO_SECURITY_ENCRYPTION_TRANSPORT)
-
SO_SELECT_ERR_QUEUE =
# File 'ext/socket/constdefs.c', line 4264
Make select() detect socket error queue with errorfds (Linux 3.10)
INTEGER2NUM(SO_SELECT_ERR_QUEUE)
-
SO_SETFIB =
# File 'ext/socket/constdefs.c', line 4288
Set the associated routing table for the socket (FreeBSD)
INTEGER2NUM(SO_SETFIB)
-
SO_SNDBUF =
# File 'ext/socket/constdefs.c', line 3964
Send buffer size
INTEGER2NUM(SO_SNDBUF)
-
SO_SNDBUFFORCE =
# File 'ext/socket/constdefs.c', line 3976
Send buffer size without wmem_max limit (Linux 2.6.14)
INTEGER2NUM(SO_SNDBUFFORCE)
-
SO_SNDLOWAT =
# File 'ext/socket/constdefs.c', line 4036
Send low-water mark
INTEGER2NUM(SO_SNDLOWAT)
-
SO_SNDTIMEO =
# File 'ext/socket/constdefs.c', line 4048
Send timeout
INTEGER2NUM(SO_SNDTIMEO)
-
SO_TIMESTAMP =
# File 'ext/socket/constdefs.c', line 4162
Receive timestamp with datagrams (timeval)
INTEGER2NUM(SO_TIMESTAMP)
-
SO_TIMESTAMPING =
# File 'ext/socket/constdefs.c', line 4216
Time stamping of incoming and outgoing packets (Linux 2.6.30)
INTEGER2NUM(SO_TIMESTAMPING)
-
SO_TIMESTAMPNS =
# File 'ext/socket/constdefs.c', line 4168
Receive nanosecond timestamp with datagrams (timespec)
INTEGER2NUM(SO_TIMESTAMPNS)
-
SO_TYPE =
# File 'ext/socket/constdefs.c', line 3940
Get the socket type
INTEGER2NUM(SO_TYPE)
-
SO_USELOOPBACK =
# File 'ext/socket/constdefs.c', line 4060
Bypass hardware when possible
INTEGER2NUM(SO_USELOOPBACK)
-
SO_USER_COOKIE =
# File 'ext/socket/constdefs.c', line 4072
Setting an identifier for ipfw purpose mainly
INTEGER2NUM(SO_USER_COOKIE)
-
SO_WANTMORE =
# File 'ext/socket/constdefs.c', line 4084
Give a hint when more data is ready
INTEGER2NUM(SO_WANTMORE)
-
SO_WANTOOBFLAG =
# File 'ext/socket/constdefs.c', line 4090
OOB data is wanted in MSG_FLAG on receive
INTEGER2NUM(SO_WANTOOBFLAG)
-
SO_WIFI_STATUS =
# File 'ext/socket/constdefs.c', line 4240
Toggle cmsg for wifi status (Linux 3.3)
INTEGER2NUM(SO_WIFI_STATUS)
-
TCP_CONGESTION =
# File 'ext/socket/constdefs.c', line 4450
TCP congestion control algorithm (Linux 2.6.13, glibc 2.6)
INTEGER2NUM(TCP_CONGESTION)
-
TCP_CONNECTION_INFO =
# File 'ext/socket/constdefs.c', line 4354
Retrieve information about this socket (macOS)
INTEGER2NUM(TCP_CONNECTION_INFO)
-
TCP_COOKIE_TRANSACTIONS =
# File 'ext/socket/constdefs.c', line 4456
TCP Cookie Transactions (Linux 2.6.33, glibc 2.18)
INTEGER2NUM(TCP_COOKIE_TRANSACTIONS)
-
TCP_CORK =
# File 'ext/socket/constdefs.c', line 4360
Don’t send partial frames (Linux 2.2, glibc 2.2)
INTEGER2NUM(TCP_CORK)
-
TCP_DEFER_ACCEPT =
# File 'ext/socket/constdefs.c', line 4366
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 4444
Reduce step of the handshake process (Linux 3.7, glibc 2.18)
INTEGER2NUM(TCP_FASTOPEN)
-
TCP_INFO =
# File 'ext/socket/constdefs.c', line 4372
Retrieve information about this socket (Linux 2.4, glibc 2.2)
INTEGER2NUM(TCP_INFO)
-
TCP_KEEPALIVE =
# File 'ext/socket/constdefs.c', line 4378
Idle time before keepalive probes are sent (macOS)
INTEGER2NUM(TCP_KEEPALIVE)
-
TCP_KEEPCNT =
# File 'ext/socket/constdefs.c', line 4384
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 4390
Idle time before keepalive probes are sent (Linux 2.4, glibc 2.2)
INTEGER2NUM(TCP_KEEPIDLE)
-
TCP_KEEPINTVL =
# File 'ext/socket/constdefs.c', line 4396
Time between keepalive probes (Linux 2.4, glibc 2.2)
INTEGER2NUM(TCP_KEEPINTVL)
-
TCP_LINGER2 =
# File 'ext/socket/constdefs.c', line 4402
Lifetime of orphaned FIN_WAIT2 sockets (Linux 2.4, glibc 2.2)
INTEGER2NUM(TCP_LINGER2)
-
TCP_MAXSEG =
# File 'ext/socket/constdefs.c', line 4348
Set maximum segment size
INTEGER2NUM(TCP_MAXSEG)
-
TCP_MD5SIG =
# File 'ext/socket/constdefs.c', line 4408
Use MD5 digests (RFC2385, Linux 2.6.20, glibc 2.7)
INTEGER2NUM(TCP_MD5SIG)
-
TCP_NODELAY =
# File 'ext/socket/constdefs.c', line 4342
Don’t delay sending to coalesce packets
INTEGER2NUM(TCP_NODELAY)
-
TCP_NOOPT =
# File 'ext/socket/constdefs.c', line 4414
Don’t use TCP options
INTEGER2NUM(TCP_NOOPT)
-
TCP_NOPUSH =
# File 'ext/socket/constdefs.c', line 4420
Don’t push the last block of write
INTEGER2NUM(TCP_NOPUSH)
-
TCP_QUEUE_SEQ =
# File 'ext/socket/constdefs.c', line 4462
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 4426
Enable quickack mode (Linux 2.4.4, glibc 2.3)
INTEGER2NUM(TCP_QUICKACK)
-
TCP_REPAIR =
# File 'ext/socket/constdefs.c', line 4468
Repair mode (Linux 3.5, glibc 2.18)
INTEGER2NUM(TCP_REPAIR)
-
TCP_REPAIR_OPTIONS =
# File 'ext/socket/constdefs.c', line 4474
Options for repair mode (Linux 3.5, glibc 2.18)
INTEGER2NUM(TCP_REPAIR_OPTIONS)
-
TCP_REPAIR_QUEUE =
# File 'ext/socket/constdefs.c', line 4480
Queue for repair mode (Linux 3.5, glibc 2.18)
INTEGER2NUM(TCP_REPAIR_QUEUE)
-
TCP_SYNCNT =
# File 'ext/socket/constdefs.c', line 4432
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 4486
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 4492
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 4498
TCP timestamp (Linux 3.9, glibc 2.18)
INTEGER2NUM(TCP_TIMESTAMP)
-
TCP_USER_TIMEOUT =
# File 'ext/socket/constdefs.c', line 4504
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 4438
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 4510
Don’t send partial frames (Linux 2.5.44, glibc 2.11)
INTEGER2NUM(UDP_CORK)