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_APPLETALK =
    # File 'ext/socket/constdefs.c', line 2415AppleTalk protocol INTEGER2NUM(AF_APPLETALK) 
- 
    AF_ATM =
    # File 'ext/socket/constdefs.c', line 2739Asynchronous Transfer Mode INTEGER2NUM(AF_ATM) 
- 
    AF_AX25 =
    # File 'ext/socket/constdefs.c', line 2391AX.25 protocol INTEGER2NUM(AF_AX25) 
- 
    AF_CCITT =
    # File 'ext/socket/constdefs.c', line 2535CCITT (now ITU-T) protocols INTEGER2NUM(AF_CCITT) 
- 
    AF_CHAOS =
    # File 'ext/socket/constdefs.c', line 2463MIT CHAOS protocols INTEGER2NUM(AF_CHAOS) 
- 
    AF_CNT =
    # File 'ext/socket/constdefs.c', line 2643Computer Network Technology INTEGER2NUM(AF_CNT) 
- 
    AF_COIP =
    # File 'ext/socket/constdefs.c', line 2631Connection-oriented IP INTEGER2NUM(AF_COIP) 
- 
    AF_DATAKIT =
    # File 'ext/socket/constdefs.c', line 2523Datakit protocol INTEGER2NUM(AF_DATAKIT) 
- 
    AF_DEC =
    # File 'ext/socket/constdefs.c', line 2559DECnet protocol INTEGER2NUM(AF_DEC) 
- 
    AF_DLI =
    # File 'ext/socket/constdefs.c', line 2571DEC Direct ::Data Link Interface protocol INTEGER2NUM(AF_DLI) 
- 
    AF_E164 =
    # File 'ext/socket/constdefs.c', line 2787CCITT (ITU-T) E.164 recommendation INTEGER2NUM(AF_E164) 
- 
    AF_ECMA =
    # File 'ext/socket/constdefs.c', line 2511European Computer Manufacturers protocols INTEGER2NUM(AF_ECMA) 
- 
    AF_HYLINK =
    # File 'ext/socket/constdefs.c', line 2595NSC Hyperchannel protocol INTEGER2NUM(AF_HYLINK) 
- 
    AF_IMPLINK =
    # File 'ext/socket/constdefs.c', line 2439ARPANET IMP protocol INTEGER2NUM(AF_IMPLINK) 
- 
    AF_INET =
    # File 'ext/socket/constdefs.c', line 2351IPv4 protocol INTEGER2NUM(AF_INET) 
- 
    AF_INET6 =
    # File 'ext/socket/constdefs.c', line 2364IPv6 protocol INTEGER2NUM(AF_INET6) 
- 
    AF_IPX =
    # File 'ext/socket/constdefs.c', line 2403IPX protocol INTEGER2NUM(AF_IPX) 
- 
    AF_ISDN =
    # File 'ext/socket/constdefs.c', line 2679Integrated Services Digital Network INTEGER2NUM(AF_ISDN) 
- 
    AF_ISO =
    # File 'ext/socket/constdefs.c', line 2487ISO Open Systems Interconnection protocols INTEGER2NUM(AF_ISO) 
- 
    AF_LAT =
    # File 'ext/socket/constdefs.c', line 2583Local Area Transport protocol INTEGER2NUM(AF_LAT) 
- 
    AF_LINK =
    # File 'ext/socket/constdefs.c', line 2619Link layer interface INTEGER2NUM(AF_LINK) 
- 
    AF_LOCAL =
    # File 'ext/socket/constdefs.c', line 2427Host-internal protocols INTEGER2NUM(AF_LOCAL) 
- 
    AF_MAX =
    # File 'ext/socket/constdefs.c', line 2763Maximum address family for this platform INTEGER2NUM(AF_MAX) 
- 
    AF_NATM =
    # File 'ext/socket/constdefs.c', line 2691Native ATM access INTEGER2NUM(AF_NATM) 
- 
    AF_NDRV =
    # File 'ext/socket/constdefs.c', line 2667Network driver raw access INTEGER2NUM(AF_NDRV) 
- 
    AF_NETBIOS =
    # File 'ext/socket/constdefs.c', line 2715NetBIOS INTEGER2NUM(AF_NETBIOS) 
- 
    AF_NETGRAPH =
    # File 'ext/socket/constdefs.c', line 2751Netgraph sockets INTEGER2NUM(AF_NETGRAPH) 
- 
    AF_NS =
    # File 'ext/socket/constdefs.c', line 2475XEROX NS protocols INTEGER2NUM(AF_NS) 
- 
    AF_OSI =
    # File 'ext/socket/constdefs.c', line 2499ISO Open Systems Interconnection protocols INTEGER2NUM(AF_OSI) 
- 
    AF_PACKET =
    # File 'ext/socket/constdefs.c', line 2775Direct link-layer access INTEGER2NUM(AF_PACKET) 
- 
    AF_PPP =
    # File 'ext/socket/constdefs.c', line 2727Point-to-Point Protocol INTEGER2NUM(AF_PPP) 
- 
    AF_PUP =
    # File 'ext/socket/constdefs.c', line 2451PARC Universal Packet protocol INTEGER2NUM(AF_PUP) 
- 
    AF_ROUTE =
    # File 'ext/socket/constdefs.c', line 2607Internal routing protocol INTEGER2NUM(AF_ROUTE) 
- 
    AF_SIP =
    # File 'ext/socket/constdefs.c', line 2655Simple Internet Protocol INTEGER2NUM(AF_SIP) 
- 
    AF_SNA =
    # File 'ext/socket/constdefs.c', line 2547IBM SNA protocol INTEGER2NUM(AF_SNA) 
- 
    AF_SYSTEM =
    
 # File 'ext/socket/constdefs.c', line 2703INTEGER2NUM(AF_SYSTEM) 
- 
    AF_UNIX =
    # File 'ext/socket/constdefs.c', line 2379UNIX sockets INTEGER2NUM(AF_UNIX) 
- 
    AF_UNSPEC =
    # File 'ext/socket/constdefs.c', line 2339Unspecified protocol, any supported address family INTEGER2NUM(AF_UNSPEC) 
- 
    AI_ADDRCONFIG =
    # File 'ext/socket/constdefs.c', line 4209Accept only if any address is assigned INTEGER2NUM(AI_ADDRCONFIG) 
- 
    AI_ALL =
    # File 'ext/socket/constdefs.c', line 4197Allow all addresses INTEGER2NUM(AI_ALL) 
- 
    AI_CANONNAME =
    # File 'ext/socket/constdefs.c', line 4173Fill in the canonical name INTEGER2NUM(AI_CANONNAME) 
- 
    AI_DEFAULT =
    # File 'ext/socket/constdefs.c', line 4221Default flags for getaddrinfo INTEGER2NUM(AI_DEFAULT) 
- 
    AI_MASK =
    # File 'ext/socket/constdefs.c', line 4191Valid flag mask for getaddrinfo (not for application use) INTEGER2NUM(AI_MASK) 
- 
    AI_NUMERICHOST =
    # File 'ext/socket/constdefs.c', line 4179Prevent host name resolution INTEGER2NUM(AI_NUMERICHOST) 
- 
    AI_NUMERICSERV =
    # File 'ext/socket/constdefs.c', line 4185Prevent service name resolution INTEGER2NUM(AI_NUMERICSERV) 
- 
    AI_PASSIVE =
    # File 'ext/socket/constdefs.c', line 4167Get address to use with bind() INTEGER2NUM(AI_PASSIVE) 
- 
    AI_V4MAPPED =
    # File 'ext/socket/constdefs.c', line 4215Accept IPv4-mapped IPv6 addresses INTEGER2NUM(AI_V4MAPPED) 
- 
    AI_V4MAPPED_CFG =
    # File 'ext/socket/constdefs.c', line 4203Accept IPv4 mapped addresses if the kernel supports it INTEGER2NUM(AI_V4MAPPED_CFG) 
- 
    EAI_ADDRFAMILY =
    # File 'ext/socket/constdefs.c', line 4077Address family for hostname not supported INTEGER2NUM(EAI_ADDRFAMILY) 
- 
    EAI_AGAIN =
    # File 'ext/socket/constdefs.c', line 4083Temporary failure in name resolution INTEGER2NUM(EAI_AGAIN) 
- 
    EAI_BADFLAGS =
    # File 'ext/socket/constdefs.c', line 4089Invalid flags INTEGER2NUM(EAI_BADFLAGS) 
- 
    EAI_BADHINTS =
    # File 'ext/socket/constdefs.c', line 4149Invalid value for hints INTEGER2NUM(EAI_BADHINTS) 
- 
    EAI_FAIL =
    # File 'ext/socket/constdefs.c', line 4095Non-recoverable failure in name resolution INTEGER2NUM(EAI_FAIL) 
- 
    EAI_FAMILY =
    # File 'ext/socket/constdefs.c', line 4101Address family not supported INTEGER2NUM(EAI_FAMILY) 
- 
    EAI_MAX =
    # File 'ext/socket/constdefs.c', line 4161Maximum error code from getaddrinfo INTEGER2NUM(EAI_MAX) 
- 
    EAI_MEMORY =
    # File 'ext/socket/constdefs.c', line 4107Memory allocation failure INTEGER2NUM(EAI_MEMORY) 
- 
    EAI_NODATA =
    # File 'ext/socket/constdefs.c', line 4113No address associated with hostname INTEGER2NUM(EAI_NODATA) 
- 
    EAI_NONAME =
    # File 'ext/socket/constdefs.c', line 4119Hostname nor servname, or not known INTEGER2NUM(EAI_NONAME) 
- 
    EAI_OVERFLOW =
    # File 'ext/socket/constdefs.c', line 4125Argument buffer overflow INTEGER2NUM(EAI_OVERFLOW) 
- 
    EAI_PROTOCOL =
    # File 'ext/socket/constdefs.c', line 4155Resolved protocol is unknown INTEGER2NUM(EAI_PROTOCOL) 
- 
    EAI_SERVICE =
    # File 'ext/socket/constdefs.c', line 4131Servname not supported for socket type INTEGER2NUM(EAI_SERVICE) 
- 
    EAI_SOCKTYPE =
    # File 'ext/socket/constdefs.c', line 4137::Socket type not supported INTEGER2NUM(EAI_SOCKTYPE) 
- 
    EAI_SYSTEM =
    # File 'ext/socket/constdefs.c', line 4143System error returned in errno INTEGER2NUM(EAI_SYSTEM) 
- 
    IFF_802_1Q_VLAN =
    # File 'ext/socket/constdefs.c', line 4605802.1Q VLAN device INTEGER2NUM(IFF_802_1Q_VLAN) 
- 
    IFF_ALLMULTI =
    # File 'ext/socket/constdefs.c', line 4611receive all multicast packets INTEGER2NUM(IFF_ALLMULTI) 
- 
    IFF_ALTPHYS =
    # File 'ext/socket/constdefs.c', line 4617use alternate physical connection INTEGER2NUM(IFF_ALTPHYS) 
- 
    IFF_AUTOMEDIA =
    # File 'ext/socket/constdefs.c', line 4623auto media select active INTEGER2NUM(IFF_AUTOMEDIA) 
- 
    IFF_BONDING =
    # File 'ext/socket/constdefs.c', line 4629bonding master or slave INTEGER2NUM(IFF_BONDING) 
- 
    IFF_BRIDGE_PORT =
    # File 'ext/socket/constdefs.c', line 4635device used as bridge port INTEGER2NUM(IFF_BRIDGE_PORT) 
- 
    IFF_BROADCAST =
    # File 'ext/socket/constdefs.c', line 4641broadcast address valid INTEGER2NUM(IFF_BROADCAST) 
- 
    IFF_CANTCHANGE =
    # File 'ext/socket/constdefs.c', line 4947flags not changeable INTEGER2NUM(IFF_CANTCHANGE) 
- 
    IFF_CANTCONFIG =
    # File 'ext/socket/constdefs.c', line 4647unconfigurable using ioctl(2) INTEGER2NUM(IFF_CANTCONFIG) 
- 
    IFF_DEBUG =
    # File 'ext/socket/constdefs.c', line 4653turn on debugging INTEGER2NUM(IFF_DEBUG) 
- 
    IFF_DISABLE_NETPOLL =
    # File 'ext/socket/constdefs.c', line 4659disable netpoll at run-time INTEGER2NUM(IFF_DISABLE_NETPOLL) 
- 
    IFF_DONT_BRIDGE =
    # File 'ext/socket/constdefs.c', line 4665disallow bridging this ether dev INTEGER2NUM(IFF_DONT_BRIDGE) 
- 
    IFF_DORMANT =
    # File 'ext/socket/constdefs.c', line 4671driver signals dormant INTEGER2NUM(IFF_DORMANT) 
- 
    IFF_DRV_OACTIVE =
    # File 'ext/socket/constdefs.c', line 4677tx hardware queue is full INTEGER2NUM(IFF_DRV_OACTIVE) 
- 
    IFF_DRV_RUNNING =
    # File 'ext/socket/constdefs.c', line 4683resources allocated INTEGER2NUM(IFF_DRV_RUNNING) 
- 
    IFF_DYING =
    # File 'ext/socket/constdefs.c', line 4689interface is winding down INTEGER2NUM(IFF_DYING) 
- 
    IFF_DYNAMIC =
    # File 'ext/socket/constdefs.c', line 4695dialup device with changing addresses INTEGER2NUM(IFF_DYNAMIC) 
- 
    IFF_EBRIDGE =
    # File 'ext/socket/constdefs.c', line 4701ethernet bridging device INTEGER2NUM(IFF_EBRIDGE) 
- 
    IFF_ECHO =
    # File 'ext/socket/constdefs.c', line 4707echo sent packets INTEGER2NUM(IFF_ECHO) 
- 
    IFF_ISATAP =
    # File 'ext/socket/constdefs.c', line 4713ISATAP interface (RFC4214) INTEGER2NUM(IFF_ISATAP) 
- 
    IFF_LINK0 =
    # File 'ext/socket/constdefs.c', line 4719per link layer defined bit 0 INTEGER2NUM(IFF_LINK0) 
- 
    IFF_LINK1 =
    # File 'ext/socket/constdefs.c', line 4725per link layer defined bit 1 INTEGER2NUM(IFF_LINK1) 
- 
    IFF_LINK2 =
    # File 'ext/socket/constdefs.c', line 4731per link layer defined bit 2 INTEGER2NUM(IFF_LINK2) 
- 
    IFF_LIVE_ADDR_CHANGE =
    # File 'ext/socket/constdefs.c', line 4737hardware address change when it's running INTEGER2NUM(IFF_LIVE_ADDR_CHANGE) 
- 
    IFF_LOOPBACK =
    # File 'ext/socket/constdefs.c', line 4743loopback net INTEGER2NUM(IFF_LOOPBACK) 
- 
    IFF_LOWER_UP =
    # File 'ext/socket/constdefs.c', line 4749driver signals L1 up INTEGER2NUM(IFF_LOWER_UP) 
- 
    IFF_MACVLAN_PORT =
    # File 'ext/socket/constdefs.c', line 4755device used as macvlan port INTEGER2NUM(IFF_MACVLAN_PORT) 
- 
    IFF_MASTER =
    # File 'ext/socket/constdefs.c', line 4761master of a load balancer INTEGER2NUM(IFF_MASTER) 
- 
    IFF_MASTER_8023AD =
    # File 'ext/socket/constdefs.c', line 4767bonding master, 802.3ad. INTEGER2NUM(IFF_MASTER_8023AD) 
- 
    IFF_MASTER_ALB =
    # File 'ext/socket/constdefs.c', line 4773bonding master, balance-alb. INTEGER2NUM(IFF_MASTER_ALB) 
- 
    IFF_MASTER_ARPMON =
    # File 'ext/socket/constdefs.c', line 4779bonding master, ARP mon in use INTEGER2NUM(IFF_MASTER_ARPMON) 
- 
    IFF_MONITOR =
    # File 'ext/socket/constdefs.c', line 4785user-requested monitor mode INTEGER2NUM(IFF_MONITOR) 
- 
    IFF_MULTICAST =
    # File 'ext/socket/constdefs.c', line 4791supports multicast INTEGER2NUM(IFF_MULTICAST) 
- 
    IFF_NOARP =
    # File 'ext/socket/constdefs.c', line 4797no address resolution protocol INTEGER2NUM(IFF_NOARP) 
- 
    IFF_NOTRAILERS =
    # File 'ext/socket/constdefs.c', line 4803avoid use of trailers INTEGER2NUM(IFF_NOTRAILERS) 
- 
    IFF_OACTIVE =
    # File 'ext/socket/constdefs.c', line 4809transmission in progress INTEGER2NUM(IFF_OACTIVE) 
- 
    IFF_OVS_DATAPATH =
    # File 'ext/socket/constdefs.c', line 4815device used as Open vSwitch datapath port INTEGER2NUM(IFF_OVS_DATAPATH) 
- 
    IFF_POINTOPOINT =
    # File 'ext/socket/constdefs.c', line 4821point-to-point link INTEGER2NUM(IFF_POINTOPOINT) 
- 
    IFF_PORTSEL =
    # File 'ext/socket/constdefs.c', line 4827can set media type INTEGER2NUM(IFF_PORTSEL) 
- 
    IFF_PPROMISC =
    # File 'ext/socket/constdefs.c', line 4833user-requested promisc mode INTEGER2NUM(IFF_PPROMISC) 
- 
    IFF_PROMISC =
    # File 'ext/socket/constdefs.c', line 4839receive all packets INTEGER2NUM(IFF_PROMISC) 
- 
    IFF_RENAMING =
    # File 'ext/socket/constdefs.c', line 4845interface is being renamed INTEGER2NUM(IFF_RENAMING) 
- 
    IFF_ROUTE =
    # File 'ext/socket/constdefs.c', line 4851routing entry installed INTEGER2NUM(IFF_ROUTE) 
- 
    IFF_RUNNING =
    # File 'ext/socket/constdefs.c', line 4857resources allocated INTEGER2NUM(IFF_RUNNING) 
- 
    IFF_SIMPLEX =
    # File 'ext/socket/constdefs.c', line 4863can't hear own transmissions INTEGER2NUM(IFF_SIMPLEX) 
- 
    IFF_SLAVE =
    # File 'ext/socket/constdefs.c', line 4869slave of a load balancer INTEGER2NUM(IFF_SLAVE) 
- 
    IFF_SLAVE_INACTIVE =
    # File 'ext/socket/constdefs.c', line 4875bonding slave not the curr. active INTEGER2NUM(IFF_SLAVE_INACTIVE) 
- 
    IFF_SLAVE_NEEDARP =
    # File 'ext/socket/constdefs.c', line 4881need ARPs for validation INTEGER2NUM(IFF_SLAVE_NEEDARP) 
- 
    IFF_SMART =
    # File 'ext/socket/constdefs.c', line 4887interface manages own routes INTEGER2NUM(IFF_SMART) 
- 
    IFF_STATICARP =
    # File 'ext/socket/constdefs.c', line 4893static ARP INTEGER2NUM(IFF_STATICARP) 
- 
    IFF_SUPP_NOFCS =
    # File 'ext/socket/constdefs.c', line 4899sending custom FCS INTEGER2NUM(IFF_SUPP_NOFCS) 
- 
    IFF_TEAM_PORT =
    # File 'ext/socket/constdefs.c', line 4905used as team port INTEGER2NUM(IFF_TEAM_PORT) 
- 
    IFF_TX_SKB_SHARING =
    # File 'ext/socket/constdefs.c', line 4911sharing skbs on transmit INTEGER2NUM(IFF_TX_SKB_SHARING) 
- 
    IFF_UNICAST_FLT =
    # File 'ext/socket/constdefs.c', line 4917unicast filtering INTEGER2NUM(IFF_UNICAST_FLT) 
- 
    IFF_UP =
    # File 'ext/socket/constdefs.c', line 4923interface is up INTEGER2NUM(IFF_UP) 
- 
    IFF_VOLATILE =
    # File 'ext/socket/constdefs.c', line 4941volatile flags INTEGER2NUM(IFF_VOLATILE) 
- 
    IFF_WAN_HDLC =
    # File 'ext/socket/constdefs.c', line 4929WAN HDLC device INTEGER2NUM(IFF_WAN_HDLC) 
- 
    IFF_XMIT_DST_RELEASE =
    # File 'ext/socket/constdefs.c', line 4935dev_hard_start_xmit() is allowed to release skb->dst INTEGER2NUM(IFF_XMIT_DST_RELEASE) 
- 
    IFNAMSIZ =
    # File 'ext/socket/constdefs.c', line 4515Maximum interface name size INTEGER2NUM(IFNAMSIZ) 
- 
    IF_NAMESIZE =
    # File 'ext/socket/constdefs.c', line 4521Maximum interface name size INTEGER2NUM(IF_NAMESIZE) 
- 
    INADDR_ALLHOSTS_GROUP =
    # File 'ext/socket/constdefs.c', line 3195Multicast group for all systems on this subset INTEGER2NUM(INADDR_ALLHOSTS_GROUP) 
- 
    INADDR_ANY =
    # File 'ext/socket/constdefs.c', line 3171A 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 3177The network broadcast address INTEGER2NUM(INADDR_BROADCAST) 
- 
    INADDR_LOOPBACK =
    # File 'ext/socket/constdefs.c', line 3183The loopback address INTEGER2NUM(INADDR_LOOPBACK) 
- 
    INADDR_MAX_LOCAL_GROUP =
    # File 'ext/socket/constdefs.c', line 3201The last local network multicast group INTEGER2NUM(INADDR_MAX_LOCAL_GROUP) 
- 
    INADDR_NONE =
    # File 'ext/socket/constdefs.c', line 3207A bitmask for matching no valid IP address INTEGER2NUM(INADDR_NONE) 
- 
    INADDR_UNSPEC_GROUP =
    # File 'ext/socket/constdefs.c', line 3189The reserved multicast group INTEGER2NUM(INADDR_UNSPEC_GROUP) 
- 
    INET6_ADDRSTRLEN =
    # File 'ext/socket/constdefs.c', line 4509Maximum length of an IPv6 address string INTEGER2NUM(INET6_ADDRSTRLEN) 
- 
    INET_ADDRSTRLEN =
    # File 'ext/socket/constdefs.c', line 4503Maximum length of an IPv4 address string INTEGER2NUM(INET_ADDRSTRLEN) 
- 
    IPPORT_RESERVED =
    # File 'ext/socket/constdefs.c', line 3159Default minimum address for bind or connect INTEGER2NUM(IPPORT_RESERVED) 
- 
    IPPORT_USERRESERVED =
    # File 'ext/socket/constdefs.c', line 3165Default maximum address for bind or connect INTEGER2NUM(IPPORT_USERRESERVED) 
- 
    IPPROTO_AH =
    # File 'ext/socket/constdefs.c', line 3093IP6 auth header INTEGER2NUM(IPPROTO_AH) 
- 
    IPPROTO_BIP =
    
 # File 'ext/socket/constdefs.c', line 3087INTEGER2NUM(IPPROTO_BIP) 
- 
    IPPROTO_DSTOPTS =
    # File 'ext/socket/constdefs.c', line 3099IP6 destination option INTEGER2NUM(IPPROTO_DSTOPTS) 
- 
    IPPROTO_EGP =
    # File 'ext/socket/constdefs.c', line 3033Exterior Gateway Protocol INTEGER2NUM(IPPROTO_EGP) 
- 
    IPPROTO_EON =
    # File 'ext/socket/constdefs.c', line 3081ISO cnlp INTEGER2NUM(IPPROTO_EON) 
- 
    IPPROTO_ESP =
    # File 'ext/socket/constdefs.c', line 3105IP6 Encapsulated Security Payload INTEGER2NUM(IPPROTO_ESP) 
- 
    IPPROTO_FRAGMENT =
    # File 'ext/socket/constdefs.c', line 3111IP6 fragmentation header INTEGER2NUM(IPPROTO_FRAGMENT) 
- 
    IPPROTO_GGP =
    # File 'ext/socket/constdefs.c', line 3021Gateway to Gateway Protocol INTEGER2NUM(IPPROTO_GGP) 
- 
    IPPROTO_HELLO =
    # File 'ext/socket/constdefs.c', line 3057“hello” routing protocol INTEGER2NUM(IPPROTO_HELLO) 
- 
    IPPROTO_HOPOPTS =
    # File 'ext/socket/constdefs.c', line 3117IP6 hop-by-hop options INTEGER2NUM(IPPROTO_HOPOPTS) 
- 
    IPPROTO_ICMP =
    # File 'ext/socket/constdefs.c', line 3009Control message protocol INTEGER2NUM(IPPROTO_ICMP) 
- 
    IPPROTO_ICMPV6 =
    # File 'ext/socket/constdefs.c', line 3123ICMP6 INTEGER2NUM(IPPROTO_ICMPV6) 
- 
    IPPROTO_IDP =
    # File 'ext/socket/constdefs.c', line 3051XNS IDP INTEGER2NUM(IPPROTO_IDP) 
- 
    IPPROTO_IGMP =
    # File 'ext/socket/constdefs.c', line 3015Group Management Protocol INTEGER2NUM(IPPROTO_IGMP) 
- 
    IPPROTO_IP =
    # File 'ext/socket/constdefs.c', line 3003Dummy protocol for IP INTEGER2NUM(IPPROTO_IP) 
- 
    IPPROTO_IPV6 =
    # File 'ext/socket/constdefs.c', line 3129IP6 header INTEGER2NUM(IPPROTO_IPV6) 
- 
    IPPROTO_MAX =
    # File 'ext/socket/constdefs.c', line 3153Maximum IPPROTO constant INTEGER2NUM(IPPROTO_MAX) 
- 
    IPPROTO_ND =
    # File 'ext/socket/constdefs.c', line 3063Sun net disk protocol INTEGER2NUM(IPPROTO_ND) 
- 
    IPPROTO_NONE =
    # File 'ext/socket/constdefs.c', line 3135IP6 no next header INTEGER2NUM(IPPROTO_NONE) 
- 
    IPPROTO_PUP =
    # File 'ext/socket/constdefs.c', line 3039PARC Universal Packet protocol INTEGER2NUM(IPPROTO_PUP) 
- 
    IPPROTO_RAW =
    # File 'ext/socket/constdefs.c', line 3147Raw IP packet INTEGER2NUM(IPPROTO_RAW) 
- 
    IPPROTO_ROUTING =
    # File 'ext/socket/constdefs.c', line 3141IP6 routing header INTEGER2NUM(IPPROTO_ROUTING) 
- 
    IPPROTO_TCP =
    # File 'ext/socket/constdefs.c', line 3027TCP INTEGER2NUM(IPPROTO_TCP) 
- 
    IPPROTO_TP =
    # File 'ext/socket/constdefs.c', line 3069ISO transport protocol class 4 INTEGER2NUM(IPPROTO_TP) 
- 
    IPPROTO_UDP =
    # File 'ext/socket/constdefs.c', line 3045UDP INTEGER2NUM(IPPROTO_UDP) 
- 
    IPPROTO_XTP =
    # File 'ext/socket/constdefs.c', line 3075Xpress Transport Protocol INTEGER2NUM(IPPROTO_XTP) 
- 
    IPV6_CHECKSUM =
    # File 'ext/socket/constdefs.c', line 4344Checksum offset for raw sockets INTEGER2NUM(IPV6_CHECKSUM) 
- 
    IPV6_DONTFRAG =
    # File 'ext/socket/constdefs.c', line 4352Don't fragment packets INTEGER2NUM(IPV6_DONTFRAG) 
- 
    IPV6_DSTOPTS =
    # File 'ext/socket/constdefs.c', line 4360Destination option INTEGER2NUM(IPV6_DSTOPTS) 
- 
    IPV6_HOPLIMIT =
    # File 'ext/socket/constdefs.c', line 4368Hop limit INTEGER2NUM(IPV6_HOPLIMIT) 
- 
    IPV6_HOPOPTS =
    # File 'ext/socket/constdefs.c', line 4376Hop-by-hop option INTEGER2NUM(IPV6_HOPOPTS) 
- 
    IPV6_JOIN_GROUP =
    # File 'ext/socket/constdefs.c', line 4288Join a group membership INTEGER2NUM(IPV6_JOIN_GROUP) 
- 
    IPV6_LEAVE_GROUP =
    # File 'ext/socket/constdefs.c', line 4296Leave a group membership INTEGER2NUM(IPV6_LEAVE_GROUP) 
- 
    IPV6_MULTICAST_HOPS =
    # File 'ext/socket/constdefs.c', line 4304IP6 multicast hops INTEGER2NUM(IPV6_MULTICAST_HOPS) 
- 
    IPV6_MULTICAST_IF =
    # File 'ext/socket/constdefs.c', line 4312IP6 multicast interface INTEGER2NUM(IPV6_MULTICAST_IF) 
- 
    IPV6_MULTICAST_LOOP =
    # File 'ext/socket/constdefs.c', line 4320IP6 multicast loopback INTEGER2NUM(IPV6_MULTICAST_LOOP) 
- 
    IPV6_NEXTHOP =
    # File 'ext/socket/constdefs.c', line 4384Next hop address INTEGER2NUM(IPV6_NEXTHOP) 
- 
    IPV6_PATHMTU =
    # File 'ext/socket/constdefs.c', line 4392Retrieve current path MTU INTEGER2NUM(IPV6_PATHMTU) 
- 
    IPV6_PKTINFO =
    # File 'ext/socket/constdefs.c', line 4400Receive packet information with datagram INTEGER2NUM(IPV6_PKTINFO) 
- 
    IPV6_RECVDSTOPTS =
    # File 'ext/socket/constdefs.c', line 4408Receive all IP6 options for response INTEGER2NUM(IPV6_RECVDSTOPTS) 
- 
    IPV6_RECVHOPLIMIT =
    # File 'ext/socket/constdefs.c', line 4416Receive hop limit with datagram INTEGER2NUM(IPV6_RECVHOPLIMIT) 
- 
    IPV6_RECVHOPOPTS =
    # File 'ext/socket/constdefs.c', line 4424Receive hop-by-hop options INTEGER2NUM(IPV6_RECVHOPOPTS) 
- 
    IPV6_RECVPATHMTU =
    # File 'ext/socket/constdefs.c', line 4480Receive current path MTU with datagram INTEGER2NUM(IPV6_RECVPATHMTU) 
- 
    IPV6_RECVPKTINFO =
    # File 'ext/socket/constdefs.c', line 4432Receive destination IP address and incoming interface INTEGER2NUM(IPV6_RECVPKTINFO) 
- 
    IPV6_RECVRTHDR =
    # File 'ext/socket/constdefs.c', line 4440Receive routing header INTEGER2NUM(IPV6_RECVRTHDR) 
- 
    IPV6_RECVTCLASS =
    # File 'ext/socket/constdefs.c', line 4448Receive traffic class INTEGER2NUM(IPV6_RECVTCLASS) 
- 
    IPV6_RTHDR =
    # File 'ext/socket/constdefs.c', line 4456Allows removal of sticky routing headers INTEGER2NUM(IPV6_RTHDR) 
- 
    IPV6_RTHDRDSTOPTS =
    # File 'ext/socket/constdefs.c', line 4464Allows removal of sticky destination options header INTEGER2NUM(IPV6_RTHDRDSTOPTS) 
- 
    IPV6_RTHDR_TYPE_0 =
    # File 'ext/socket/constdefs.c', line 4472Routing header type 0 INTEGER2NUM(IPV6_RTHDR_TYPE_0) 
- 
    IPV6_TCLASS =
    # File 'ext/socket/constdefs.c', line 4488Specify the traffic class INTEGER2NUM(IPV6_TCLASS) 
- 
    IPV6_UNICAST_HOPS =
    # File 'ext/socket/constdefs.c', line 4328IP6 unicast hops INTEGER2NUM(IPV6_UNICAST_HOPS) 
- 
    IPV6_USE_MIN_MTU =
    # File 'ext/socket/constdefs.c', line 4496Use the minimum MTU size INTEGER2NUM(IPV6_USE_MIN_MTU) 
- 
    IPV6_V6ONLY =
    # File 'ext/socket/constdefs.c', line 4336Only bind IPv6 with a wildcard bind INTEGER2NUM(IPV6_V6ONLY) 
- 
    IPX_TYPE =
    
 # File 'ext/socket/constdefs.c', line 3909INTEGER2NUM(IPX_TYPE) 
- 
    IP_ADD_MEMBERSHIP =
    # File 'ext/socket/constdefs.c', line 3327Add a multicast group membership INTEGER2NUM(IP_ADD_MEMBERSHIP) 
- 
    IP_ADD_SOURCE_MEMBERSHIP =
    # File 'ext/socket/constdefs.c', line 3459Add a multicast group membership INTEGER2NUM(IP_ADD_SOURCE_MEMBERSHIP) 
- 
    IP_BLOCK_SOURCE =
    # File 'ext/socket/constdefs.c', line 3453Block IPv4 multicast packets with a give source address INTEGER2NUM(IP_BLOCK_SOURCE) 
- 
    IP_DEFAULT_MULTICAST_LOOP =
    # File 'ext/socket/constdefs.c', line 3345Default multicast loopback INTEGER2NUM(IP_DEFAULT_MULTICAST_LOOP) 
- 
    IP_DEFAULT_MULTICAST_TTL =
    # File 'ext/socket/constdefs.c', line 3339Default multicast TTL INTEGER2NUM(IP_DEFAULT_MULTICAST_TTL) 
- 
    IP_DONTFRAG =
    # File 'ext/socket/constdefs.c', line 3267Don't fragment packets INTEGER2NUM(IP_DONTFRAG) 
- 
    IP_DROP_MEMBERSHIP =
    # File 'ext/socket/constdefs.c', line 3333Drop a multicast group membership INTEGER2NUM(IP_DROP_MEMBERSHIP) 
- 
    IP_DROP_SOURCE_MEMBERSHIP =
    # File 'ext/socket/constdefs.c', line 3465Drop a multicast group membership INTEGER2NUM(IP_DROP_SOURCE_MEMBERSHIP) 
- 
    IP_FREEBIND =
    # File 'ext/socket/constdefs.c', line 3399Allow binding to nonexistent IP addresses INTEGER2NUM(IP_FREEBIND) 
- 
    IP_HDRINCL =
    # File 'ext/socket/constdefs.c', line 3219Header is included with data INTEGER2NUM(IP_HDRINCL) 
- 
    IP_IPSEC_POLICY =
    # File 'ext/socket/constdefs.c', line 3405IPsec security policy INTEGER2NUM(IP_IPSEC_POLICY) 
- 
    IP_MAX_MEMBERSHIPS =
    # File 'ext/socket/constdefs.c', line 3351Maximum number multicast groups a socket can join INTEGER2NUM(IP_MAX_MEMBERSHIPS) 
- 
    IP_MINTTL =
    # File 'ext/socket/constdefs.c', line 3261Minimum TTL allowed for received packets INTEGER2NUM(IP_MINTTL) 
- 
    IP_MSFILTER =
    # File 'ext/socket/constdefs.c', line 3471Multicast source filtering INTEGER2NUM(IP_MSFILTER) 
- 
    IP_MTU =
    # File 'ext/socket/constdefs.c', line 3393The Maximum Transmission Unit of the socket INTEGER2NUM(IP_MTU) 
- 
    IP_MTU_DISCOVER =
    # File 'ext/socket/constdefs.c', line 3375Path MTU discovery INTEGER2NUM(IP_MTU_DISCOVER) 
- 
    IP_MULTICAST_IF =
    # File 'ext/socket/constdefs.c', line 3309IP multicast interface INTEGER2NUM(IP_MULTICAST_IF) 
- 
    IP_MULTICAST_LOOP =
    # File 'ext/socket/constdefs.c', line 3321IP multicast loopback INTEGER2NUM(IP_MULTICAST_LOOP) 
- 
    IP_MULTICAST_TTL =
    # File 'ext/socket/constdefs.c', line 3315IP multicast TTL INTEGER2NUM(IP_MULTICAST_TTL) 
- 
    IP_ONESBCAST =
    # File 'ext/socket/constdefs.c', line 3279Force outgoing broadcast datagrams to have the undirected broadcast address INTEGER2NUM(IP_ONESBCAST) 
- 
    IP_OPTIONS =
    # File 'ext/socket/constdefs.c', line 3213IP options to be included in packets INTEGER2NUM(IP_OPTIONS) 
- 
    IP_PASSSEC =
    # File 'ext/socket/constdefs.c', line 3417Retrieve security context with datagram INTEGER2NUM(IP_PASSSEC) 
- 
    IP_PKTINFO =
    # File 'ext/socket/constdefs.c', line 3363Receive packet information with datagrams INTEGER2NUM(IP_PKTINFO) 
- 
    IP_PKTOPTIONS =
    # File 'ext/socket/constdefs.c', line 3369Receive packet options with datagrams INTEGER2NUM(IP_PKTOPTIONS) 
- 
    IP_PMTUDISC_DO =
    # File 'ext/socket/constdefs.c', line 3441Always send DF frames INTEGER2NUM(IP_PMTUDISC_DO) 
- 
    IP_PMTUDISC_DONT =
    # File 'ext/socket/constdefs.c', line 3429Never send DF frames INTEGER2NUM(IP_PMTUDISC_DONT) 
- 
    IP_PMTUDISC_WANT =
    # File 'ext/socket/constdefs.c', line 3435Use per-route hints INTEGER2NUM(IP_PMTUDISC_WANT) 
- 
    IP_PORTRANGE =
    # File 'ext/socket/constdefs.c', line 3303Set the port range for sockets with unspecified port numbers INTEGER2NUM(IP_PORTRANGE) 
- 
    IP_RECVDSTADDR =
    # File 'ext/socket/constdefs.c', line 3249Receive IP destination address with datagram INTEGER2NUM(IP_RECVDSTADDR) 
- 
    IP_RECVERR =
    # File 'ext/socket/constdefs.c', line 3381Enable extended reliable error message passing INTEGER2NUM(IP_RECVERR) 
- 
    IP_RECVIF =
    # File 'ext/socket/constdefs.c', line 3291Receive interface information with datagrams INTEGER2NUM(IP_RECVIF) 
- 
    IP_RECVOPTS =
    # File 'ext/socket/constdefs.c', line 3237Receive all IP options with datagram INTEGER2NUM(IP_RECVOPTS) 
- 
    IP_RECVRETOPTS =
    # File 'ext/socket/constdefs.c', line 3243Receive all IP options for response INTEGER2NUM(IP_RECVRETOPTS) 
- 
    IP_RECVSLLA =
    # File 'ext/socket/constdefs.c', line 3297Receive link-layer address with datagrams INTEGER2NUM(IP_RECVSLLA) 
- 
    IP_RECVTOS =
    # File 'ext/socket/constdefs.c', line 3387Receive TOS with incoming packets INTEGER2NUM(IP_RECVTOS) 
- 
    IP_RECVTTL =
    # File 'ext/socket/constdefs.c', line 3285Receive IP TTL with datagrams INTEGER2NUM(IP_RECVTTL) 
- 
    IP_RETOPTS =
    # File 'ext/socket/constdefs.c', line 3255IP options to be included in datagrams INTEGER2NUM(IP_RETOPTS) 
- 
    IP_ROUTER_ALERT =
    # File 'ext/socket/constdefs.c', line 3357Notify transit routers to more closely examine the contents of an IP packet INTEGER2NUM(IP_ROUTER_ALERT) 
- 
    IP_SENDSRCADDR =
    # File 'ext/socket/constdefs.c', line 3273Source address for outgoing UDP datagrams INTEGER2NUM(IP_SENDSRCADDR) 
- 
    IP_TOS =
    # File 'ext/socket/constdefs.c', line 3225IP type-of-service INTEGER2NUM(IP_TOS) 
- 
    IP_TRANSPARENT =
    # File 'ext/socket/constdefs.c', line 3423Transparent proxy INTEGER2NUM(IP_TRANSPARENT) 
- 
    IP_TTL =
    # File 'ext/socket/constdefs.c', line 3231IP time-to-live INTEGER2NUM(IP_TTL) 
- 
    IP_UNBLOCK_SOURCE =
    # File 'ext/socket/constdefs.c', line 3447Unblock IPv4 multicast packets with a give source address INTEGER2NUM(IP_UNBLOCK_SOURCE) 
- 
    IP_XFRM_POLICY =
    
 # File 'ext/socket/constdefs.c', line 3411INTEGER2NUM(IP_XFRM_POLICY) 
- 
    LOCAL_CONNWAIT =
    # File 'ext/socket/constdefs.c', line 4599Connect blocks until accepted INTEGER2NUM(LOCAL_CONNWAIT) 
- 
    LOCAL_CREDS =
    # File 'ext/socket/constdefs.c', line 4593Pass credentials to receiver INTEGER2NUM(LOCAL_CREDS) 
- 
    LOCAL_PEERCRED =
    # File 'ext/socket/constdefs.c', line 4587Retrieve peer credentials INTEGER2NUM(LOCAL_PEERCRED) 
- 
    MCAST_BLOCK_SOURCE =
    # File 'ext/socket/constdefs.c', line 3483Block multicast packets from this source INTEGER2NUM(MCAST_BLOCK_SOURCE) 
- 
    MCAST_EXCLUDE =
    # File 'ext/socket/constdefs.c', line 3519Exclusive multicast source filter INTEGER2NUM(MCAST_EXCLUDE) 
- 
    MCAST_INCLUDE =
    # File 'ext/socket/constdefs.c', line 3525Inclusive multicast source filter INTEGER2NUM(MCAST_INCLUDE) 
- 
    MCAST_JOIN_GROUP =
    # File 'ext/socket/constdefs.c', line 3477Join a multicast group INTEGER2NUM(MCAST_JOIN_GROUP) 
- 
    MCAST_JOIN_SOURCE_GROUP =
    # File 'ext/socket/constdefs.c', line 3501Join a multicast source group INTEGER2NUM(MCAST_JOIN_SOURCE_GROUP) 
- 
    MCAST_LEAVE_GROUP =
    # File 'ext/socket/constdefs.c', line 3495Leave a multicast group INTEGER2NUM(MCAST_LEAVE_GROUP) 
- 
    MCAST_LEAVE_SOURCE_GROUP =
    # File 'ext/socket/constdefs.c', line 3507Leave a multicast source group INTEGER2NUM(MCAST_LEAVE_SOURCE_GROUP) 
- 
    MCAST_MSFILTER =
    # File 'ext/socket/constdefs.c', line 3513Multicast source filtering INTEGER2NUM(MCAST_MSFILTER) 
- 
    MCAST_UNBLOCK_SOURCE =
    # File 'ext/socket/constdefs.c', line 3489Unblock multicast packets from this source INTEGER2NUM(MCAST_UNBLOCK_SOURCE) 
- 
    MSG_COMPAT =
    # File 'ext/socket/constdefs.c', line 2901End of record INTEGER2NUM(MSG_COMPAT) 
- 
    MSG_CONFIRM =
    # File 'ext/socket/constdefs.c', line 2925Confirm path validity INTEGER2NUM(MSG_CONFIRM) 
- 
    MSG_CTRUNC =
    # File 'ext/socket/constdefs.c', line 2847Control data lost before delivery INTEGER2NUM(MSG_CTRUNC) 
- 
    MSG_DONTROUTE =
    # File 'ext/socket/constdefs.c', line 2829Send without using the routing tables INTEGER2NUM(MSG_DONTROUTE) 
- 
    MSG_DONTWAIT =
    # File 'ext/socket/constdefs.c', line 2859This message should be non-blocking INTEGER2NUM(MSG_DONTWAIT) 
- 
    MSG_EOF =
    # File 'ext/socket/constdefs.c', line 2865::Data completes connection INTEGER2NUM(MSG_EOF) 
- 
    MSG_EOR =
    # File 'ext/socket/constdefs.c', line 2835::Data completes record INTEGER2NUM(MSG_EOR) 
- 
    MSG_ERRQUEUE =
    # File 'ext/socket/constdefs.c', line 2937Fetch message from error queue INTEGER2NUM(MSG_ERRQUEUE) 
- 
    MSG_FASTOPEN =
    # File 'ext/socket/constdefs.c', line 2955Reduce step of the handshake process INTEGER2NUM(MSG_FASTOPEN) 
- 
    MSG_FIN =
    
 # File 'ext/socket/constdefs.c', line 2913INTEGER2NUM(MSG_FIN) 
- 
    MSG_FLUSH =
    # File 'ext/socket/constdefs.c', line 2871Start of a hold sequence. Dumps to so_temp INTEGER2NUM(MSG_FLUSH) 
- 
    MSG_HAVEMORE =
    # File 'ext/socket/constdefs.c', line 2889::Data ready to be read INTEGER2NUM(MSG_HAVEMORE) 
- 
    MSG_HOLD =
    # File 'ext/socket/constdefs.c', line 2877Hold fragment in so_temp INTEGER2NUM(MSG_HOLD) 
- 
    MSG_MORE =
    # File 'ext/socket/constdefs.c', line 2949Sender will send more INTEGER2NUM(MSG_MORE) 
- 
    MSG_NOSIGNAL =
    # File 'ext/socket/constdefs.c', line 2943Do not generate SIGPIPE INTEGER2NUM(MSG_NOSIGNAL) 
- 
    MSG_OOB =
    # File 'ext/socket/constdefs.c', line 2817Process out-of-band data INTEGER2NUM(MSG_OOB) 
- 
    MSG_PEEK =
    # File 'ext/socket/constdefs.c', line 2823Peek at incoming message INTEGER2NUM(MSG_PEEK) 
- 
    MSG_PROXY =
    # File 'ext/socket/constdefs.c', line 2907Wait for full request INTEGER2NUM(MSG_PROXY) 
- 
    MSG_RCVMORE =
    # File 'ext/socket/constdefs.c', line 2895::Data remains in the current packet INTEGER2NUM(MSG_RCVMORE) 
- 
    MSG_RST =
    
 # File 'ext/socket/constdefs.c', line 2931INTEGER2NUM(MSG_RST) 
- 
    MSG_SEND =
    # File 'ext/socket/constdefs.c', line 2883Send the packet in so_temp INTEGER2NUM(MSG_SEND) 
- 
    MSG_SYN =
    
 # File 'ext/socket/constdefs.c', line 2919INTEGER2NUM(MSG_SYN) 
- 
    MSG_TRUNC =
    # File 'ext/socket/constdefs.c', line 2841::Data discarded before delivery INTEGER2NUM(MSG_TRUNC) 
- 
    MSG_WAITALL =
    # File 'ext/socket/constdefs.c', line 2853Wait for full request or error INTEGER2NUM(MSG_WAITALL) 
- 
    NI_DGRAM =
    # File 'ext/socket/constdefs.c', line 4263The service specified is a datagram service (looks up UDP ports) INTEGER2NUM(NI_DGRAM) 
- 
    NI_MAXHOST =
    # File 'ext/socket/constdefs.c', line 4227Maximum length of a hostname INTEGER2NUM(NI_MAXHOST) 
- 
    NI_MAXSERV =
    # File 'ext/socket/constdefs.c', line 4233Maximum length of a service name INTEGER2NUM(NI_MAXSERV) 
- 
    NI_NAMEREQD =
    # File 'ext/socket/constdefs.c', line 4251A name is required INTEGER2NUM(NI_NAMEREQD) 
- 
    NI_NOFQDN =
    # File 'ext/socket/constdefs.c', line 4239An FQDN is not required for local hosts, return only the local part INTEGER2NUM(NI_NOFQDN) 
- 
    NI_NUMERICHOST =
    # File 'ext/socket/constdefs.c', line 4245Return a numeric address INTEGER2NUM(NI_NUMERICHOST) 
- 
    NI_NUMERICSERV =
    # File 'ext/socket/constdefs.c', line 4257Return the service name as a digit string INTEGER2NUM(NI_NUMERICSERV) 
- 
    PF_APPLETALK =
    # File 'ext/socket/constdefs.c', line 2421AppleTalk protocol INTEGER2NUM(PF_APPLETALK) 
- 
    PF_ATM =
    # File 'ext/socket/constdefs.c', line 2745Asynchronous Transfer Mode INTEGER2NUM(PF_ATM) 
- 
    PF_AX25 =
    # File 'ext/socket/constdefs.c', line 2397AX.25 protocol INTEGER2NUM(PF_AX25) 
- 
    PF_CCITT =
    # File 'ext/socket/constdefs.c', line 2541CCITT (now ITU-T) protocols INTEGER2NUM(PF_CCITT) 
- 
    PF_CHAOS =
    # File 'ext/socket/constdefs.c', line 2469MIT CHAOS protocols INTEGER2NUM(PF_CHAOS) 
- 
    PF_CNT =
    # File 'ext/socket/constdefs.c', line 2649Computer Network Technology INTEGER2NUM(PF_CNT) 
- 
    PF_COIP =
    # File 'ext/socket/constdefs.c', line 2637Connection-oriented IP INTEGER2NUM(PF_COIP) 
- 
    PF_DATAKIT =
    # File 'ext/socket/constdefs.c', line 2529Datakit protocol INTEGER2NUM(PF_DATAKIT) 
- 
    PF_DEC =
    # File 'ext/socket/constdefs.c', line 2565DECnet protocol INTEGER2NUM(PF_DEC) 
- 
    PF_DLI =
    # File 'ext/socket/constdefs.c', line 2577DEC Direct ::Data Link Interface protocol INTEGER2NUM(PF_DLI) 
- 
    PF_ECMA =
    # File 'ext/socket/constdefs.c', line 2517European Computer Manufacturers protocols INTEGER2NUM(PF_ECMA) 
- 
    PF_HYLINK =
    # File 'ext/socket/constdefs.c', line 2601NSC Hyperchannel protocol INTEGER2NUM(PF_HYLINK) 
- 
    PF_IMPLINK =
    # File 'ext/socket/constdefs.c', line 2445ARPANET IMP protocol INTEGER2NUM(PF_IMPLINK) 
- 
    PF_INET =
    # File 'ext/socket/constdefs.c', line 2357IPv4 protocol INTEGER2NUM(PF_INET) 
- 
    PF_INET6 =
    # File 'ext/socket/constdefs.c', line 2372IPv6 protocol INTEGER2NUM(PF_INET6) 
- 
    PF_IPX =
    # File 'ext/socket/constdefs.c', line 2409IPX protocol INTEGER2NUM(PF_IPX) 
- 
    PF_ISDN =
    # File 'ext/socket/constdefs.c', line 2685Integrated Services Digital Network INTEGER2NUM(PF_ISDN) 
- 
    PF_ISO =
    # File 'ext/socket/constdefs.c', line 2493ISO Open Systems Interconnection protocols INTEGER2NUM(PF_ISO) 
- 
    PF_KEY =
    
 # File 'ext/socket/constdefs.c', line 2811INTEGER2NUM(PF_KEY) 
- 
    PF_LAT =
    # File 'ext/socket/constdefs.c', line 2589Local Area Transport protocol INTEGER2NUM(PF_LAT) 
- 
    PF_LINK =
    # File 'ext/socket/constdefs.c', line 2625Link layer interface INTEGER2NUM(PF_LINK) 
- 
    PF_LOCAL =
    # File 'ext/socket/constdefs.c', line 2433Host-internal protocols INTEGER2NUM(PF_LOCAL) 
- 
    PF_MAX =
    # File 'ext/socket/constdefs.c', line 2769Maximum address family for this platform INTEGER2NUM(PF_MAX) 
- 
    PF_NATM =
    # File 'ext/socket/constdefs.c', line 2697Native ATM access INTEGER2NUM(PF_NATM) 
- 
    PF_NDRV =
    # File 'ext/socket/constdefs.c', line 2673Network driver raw access INTEGER2NUM(PF_NDRV) 
- 
    PF_NETBIOS =
    # File 'ext/socket/constdefs.c', line 2721NetBIOS INTEGER2NUM(PF_NETBIOS) 
- 
    PF_NETGRAPH =
    # File 'ext/socket/constdefs.c', line 2757Netgraph sockets INTEGER2NUM(PF_NETGRAPH) 
- 
    PF_NS =
    # File 'ext/socket/constdefs.c', line 2481XEROX NS protocols INTEGER2NUM(PF_NS) 
- 
    PF_OSI =
    # File 'ext/socket/constdefs.c', line 2505ISO Open Systems Interconnection protocols INTEGER2NUM(PF_OSI) 
- 
    PF_PACKET =
    # File 'ext/socket/constdefs.c', line 2781Direct link-layer access INTEGER2NUM(PF_PACKET) 
- 
    PF_PIP =
    
 # File 'ext/socket/constdefs.c', line 2805INTEGER2NUM(PF_PIP) 
- 
    PF_PPP =
    # File 'ext/socket/constdefs.c', line 2733Point-to-Point Protocol INTEGER2NUM(PF_PPP) 
- 
    PF_PUP =
    # File 'ext/socket/constdefs.c', line 2457PARC Universal Packet protocol INTEGER2NUM(PF_PUP) 
- 
    PF_ROUTE =
    # File 'ext/socket/constdefs.c', line 2613Internal routing protocol INTEGER2NUM(PF_ROUTE) 
- 
    PF_RTIP =
    
 # File 'ext/socket/constdefs.c', line 2799INTEGER2NUM(PF_RTIP) 
- 
    PF_SIP =
    # File 'ext/socket/constdefs.c', line 2661Simple Internet Protocol INTEGER2NUM(PF_SIP) 
- 
    PF_SNA =
    # File 'ext/socket/constdefs.c', line 2553IBM SNA protocol INTEGER2NUM(PF_SNA) 
- 
    PF_SYSTEM =
    
 # File 'ext/socket/constdefs.c', line 2709INTEGER2NUM(PF_SYSTEM) 
- 
    PF_UNIX =
    # File 'ext/socket/constdefs.c', line 2385UNIX sockets INTEGER2NUM(PF_UNIX) 
- 
    PF_UNSPEC =
    # File 'ext/socket/constdefs.c', line 2345Unspecified protocol, any supported address family INTEGER2NUM(PF_UNSPEC) 
- 
    PF_XTP =
    # File 'ext/socket/constdefs.c', line 2793eXpress Transfer Protocol INTEGER2NUM(PF_XTP) 
- 
    SCM_BINTIME =
    # File 'ext/socket/constdefs.c', line 4557Timestamp (bintime) INTEGER2NUM(SCM_BINTIME) 
- 
    SCM_CREDENTIALS =
    # File 'ext/socket/constdefs.c', line 4563The sender's credentials INTEGER2NUM(SCM_CREDENTIALS) 
- 
    SCM_CREDS =
    # File 'ext/socket/constdefs.c', line 4569Process credentials INTEGER2NUM(SCM_CREDS) 
- 
    SCM_RIGHTS =
    # File 'ext/socket/constdefs.c', line 4533Access rights INTEGER2NUM(SCM_RIGHTS) 
- 
    SCM_TIMESTAMP =
    # File 'ext/socket/constdefs.c', line 4539Timestamp (timeval) INTEGER2NUM(SCM_TIMESTAMP) 
- 
    SCM_TIMESTAMPING =
    # File 'ext/socket/constdefs.c', line 4551Timestamp (timespec list) (Linux 2.6.30) INTEGER2NUM(SCM_TIMESTAMPING) 
- 
    SCM_TIMESTAMPNS =
    # File 'ext/socket/constdefs.c', line 4545Timespec (timespec) INTEGER2NUM(SCM_TIMESTAMPNS) 
- 
    SCM_UCRED =
    # File 'ext/socket/constdefs.c', line 4575User credentials INTEGER2NUM(SCM_UCRED) 
- 
    SCM_WIFI_STATUS =
    # File 'ext/socket/constdefs.c', line 4581Wifi status (Linux 3.3) INTEGER2NUM(SCM_WIFI_STATUS) 
- 
    SHUT_RD =
    # File 'ext/socket/constdefs.c', line 4269Shut down the reading side of the socket INTEGER2NUM(SHUT_RD) 
- 
    SHUT_RDWR =
    # File 'ext/socket/constdefs.c', line 4281Shut down the both sides of the socket INTEGER2NUM(SHUT_RDWR) 
- 
    SHUT_WR =
    # File 'ext/socket/constdefs.c', line 4275Shut down the writing side of the socket INTEGER2NUM(SHUT_WR) 
- 
    SOCK_DGRAM =
    # File 'ext/socket/constdefs.c', line 2309A datagram socket provides connectionless, unreliable messaging INTEGER2NUM(SOCK_DGRAM) 
- 
    SOCK_PACKET =
    # File 'ext/socket/constdefs.c', line 2333Device-level packet access INTEGER2NUM(SOCK_PACKET) 
- 
    SOCK_RAW =
    # File 'ext/socket/constdefs.c', line 2315A raw socket provides low-level access for direct access or implementing network protocols INTEGER2NUM(SOCK_RAW) 
- 
    SOCK_RDM =
    # File 'ext/socket/constdefs.c', line 2321A reliable datagram socket provides reliable delivery of messages INTEGER2NUM(SOCK_RDM) 
- 
    SOCK_SEQPACKET =
    # File 'ext/socket/constdefs.c', line 2327A sequential packet socket provides sequenced, reliable two-way connection for datagrams INTEGER2NUM(SOCK_SEQPACKET) 
- 
    SOCK_STREAM =
    # File 'ext/socket/constdefs.c', line 2303A stream socket provides a sequenced, reliable two-way connection for a byte stream INTEGER2NUM(SOCK_STREAM) 
- 
    SOL_ATALK =
    # File 'ext/socket/constdefs.c', line 2985AppleTalk socket options INTEGER2NUM(SOL_ATALK) 
- 
    SOL_AX25 =
    # File 'ext/socket/constdefs.c', line 2979AX.25 socket options INTEGER2NUM(SOL_AX25) 
- 
    SOL_IP =
    # File 'ext/socket/constdefs.c', line 2967IP socket options INTEGER2NUM(SOL_IP) 
- 
    SOL_IPX =
    # File 'ext/socket/constdefs.c', line 2973IPX socket options INTEGER2NUM(SOL_IPX) 
- 
    SOL_SOCKET =
    # File 'ext/socket/constdefs.c', line 2961Socket-level options INTEGER2NUM(SOL_SOCKET) 
- 
    SOL_TCP =
    # File 'ext/socket/constdefs.c', line 2991TCP socket options INTEGER2NUM(SOL_TCP) 
- 
    SOL_UDP =
    # File 'ext/socket/constdefs.c', line 2997UDP socket options INTEGER2NUM(SOL_UDP) 
- 
    SOMAXCONN =
    # File 'ext/socket/constdefs.c', line 4527Maximum connection requests that may be queued for a socket INTEGER2NUM(SOMAXCONN) 
- 
    SOPRI_BACKGROUND =
    # File 'ext/socket/constdefs.c', line 3903Background socket priority INTEGER2NUM(SOPRI_BACKGROUND) 
- 
    SOPRI_INTERACTIVE =
    # File 'ext/socket/constdefs.c', line 3891Interactive socket priority INTEGER2NUM(SOPRI_INTERACTIVE) 
- 
    SOPRI_NORMAL =
    # File 'ext/socket/constdefs.c', line 3897Normal socket priority INTEGER2NUM(SOPRI_NORMAL) 
- 
    SO_ACCEPTCONN =
    # File 'ext/socket/constdefs.c', line 3663::Socket has had listen() called on it INTEGER2NUM(SO_ACCEPTCONN) 
- 
    SO_ACCEPTFILTER =
    # File 'ext/socket/constdefs.c', line 3675There is an accept filter INTEGER2NUM(SO_ACCEPTFILTER) 
- 
    SO_ALLZONES =
    # File 'ext/socket/constdefs.c', line 3795Bypass zone boundaries INTEGER2NUM(SO_ALLZONES) 
- 
    SO_ATTACH_FILTER =
    # File 'ext/socket/constdefs.c', line 3741Attach an accept filter INTEGER2NUM(SO_ATTACH_FILTER) 
- 
    SO_BINDTODEVICE =
    # File 'ext/socket/constdefs.c', line 3735Only send packets from the given interface INTEGER2NUM(SO_BINDTODEVICE) 
- 
    SO_BINTIME =
    # File 'ext/socket/constdefs.c', line 3777Receive timestamp with datagrams (bintime) INTEGER2NUM(SO_BINTIME) 
- 
    SO_BPF_EXTENSIONS =
    # File 'ext/socket/constdefs.c', line 3885Query supported BPF extensions (Linux 3.14) INTEGER2NUM(SO_BPF_EXTENSIONS) 
- 
    SO_BROADCAST =
    # File 'ext/socket/constdefs.c', line 3567Permit sending of broadcast messages INTEGER2NUM(SO_BROADCAST) 
- 
    SO_BUSY_POLL =
    # File 'ext/socket/constdefs.c', line 3873Set the threshold in microseconds for low latency polling (Linux 3.11) INTEGER2NUM(SO_BUSY_POLL) 
- 
    SO_DEBUG =
    # File 'ext/socket/constdefs.c', line 3531Debug info recording INTEGER2NUM(SO_DEBUG) 
- 
    SO_DETACH_FILTER =
    # File 'ext/socket/constdefs.c', line 3747Detach an accept filter INTEGER2NUM(SO_DETACH_FILTER) 
- 
    SO_DOMAIN =
    # File 'ext/socket/constdefs.c', line 3831Domain given for socket() (Linux 2.6.32) INTEGER2NUM(SO_DOMAIN) 
- 
    SO_DONTROUTE =
    # File 'ext/socket/constdefs.c', line 3561Use interface addresses INTEGER2NUM(SO_DONTROUTE) 
- 
    SO_DONTTRUNC =
    # File 'ext/socket/constdefs.c', line 3681Retain unread data INTEGER2NUM(SO_DONTTRUNC) 
- 
    SO_ERROR =
    # File 'ext/socket/constdefs.c', line 3555Get and clear the error status INTEGER2NUM(SO_ERROR) 
- 
    SO_GET_FILTER =
    # File 'ext/socket/constdefs.c', line 3753Obtain filter set by SO_ATTACH_FILTER (Linux 3.8) INTEGER2NUM(SO_GET_FILTER) 
- 
    SO_KEEPALIVE =
    # File 'ext/socket/constdefs.c', line 3597Keep connections alive INTEGER2NUM(SO_KEEPALIVE) 
- 
    SO_LINGER =
    # File 'ext/socket/constdefs.c', line 3621Linger on close if data is present INTEGER2NUM(SO_LINGER) 
- 
    SO_LOCK_FILTER =
    # File 'ext/socket/constdefs.c', line 3861Lock the filter attached to a socket (Linux 3.9) INTEGER2NUM(SO_LOCK_FILTER) 
- 
    SO_MAC_EXEMPT =
    # File 'ext/socket/constdefs.c', line 3789Mandatory Access Control exemption for unlabeled peers INTEGER2NUM(SO_MAC_EXEMPT) 
- 
    SO_MARK =
    # File 'ext/socket/constdefs.c', line 3813Set the mark for mark-based routing (Linux 2.6.25) INTEGER2NUM(SO_MARK) 
- 
    SO_MAX_PACING_RATE =
    # File 'ext/socket/constdefs.c', line 3879Cap 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 3705Install socket-level Network Kernel Extension INTEGER2NUM(SO_NKE) 
- 
    SO_NOFCS =
    # File 'ext/socket/constdefs.c', line 3855Set netns of a socket (Linux 3.4) INTEGER2NUM(SO_NOFCS) 
- 
    SO_NOSIGPIPE =
    # File 'ext/socket/constdefs.c', line 3711Don't SIGPIPE on EPIPE INTEGER2NUM(SO_NOSIGPIPE) 
- 
    SO_NO_CHECK =
    # File 'ext/socket/constdefs.c', line 3609Disable checksums INTEGER2NUM(SO_NO_CHECK) 
- 
    SO_NREAD =
    # File 'ext/socket/constdefs.c', line 3699Get first packet byte count INTEGER2NUM(SO_NREAD) 
- 
    SO_OOBINLINE =
    # File 'ext/socket/constdefs.c', line 3603Leave received out-of-band data in-line INTEGER2NUM(SO_OOBINLINE) 
- 
    SO_PASSCRED =
    # File 'ext/socket/constdefs.c', line 3627Receive SCM_CREDENTIALS messages INTEGER2NUM(SO_PASSCRED) 
- 
    SO_PASSSEC =
    # File 'ext/socket/constdefs.c', line 3807Toggle security context passing (Linux 2.6.18) INTEGER2NUM(SO_PASSSEC) 
- 
    SO_PEEK_OFF =
    # File 'ext/socket/constdefs.c', line 3849Set the peek offset (Linux 3.4) INTEGER2NUM(SO_PEEK_OFF) 
- 
    SO_PEERCRED =
    # File 'ext/socket/constdefs.c', line 3633The credentials of the foreign process connected to this socket INTEGER2NUM(SO_PEERCRED) 
- 
    SO_PEERNAME =
    # File 'ext/socket/constdefs.c', line 3759Name of the connecting user INTEGER2NUM(SO_PEERNAME) 
- 
    SO_PEERSEC =
    # File 'ext/socket/constdefs.c', line 3801Obtain the security credentials (Linux 2.6.2) INTEGER2NUM(SO_PEERSEC) 
- 
    SO_PRIORITY =
    # File 'ext/socket/constdefs.c', line 3615The protocol-defined priority for all packets on this socket INTEGER2NUM(SO_PRIORITY) 
- 
    SO_PROTOCOL =
    # File 'ext/socket/constdefs.c', line 3825Protocol given for socket() (Linux 2.6.32) INTEGER2NUM(SO_PROTOCOL) 
- 
    SO_RCVBUF =
    # File 'ext/socket/constdefs.c', line 3579Receive buffer size INTEGER2NUM(SO_RCVBUF) 
- 
    SO_RCVBUFFORCE =
    # File 'ext/socket/constdefs.c', line 3591Receive buffer size without rmem_max limit (Linux 2.6.14) INTEGER2NUM(SO_RCVBUFFORCE) 
- 
    SO_RCVLOWAT =
    # File 'ext/socket/constdefs.c', line 3639Receive low-water mark INTEGER2NUM(SO_RCVLOWAT) 
- 
    SO_RCVTIMEO =
    # File 'ext/socket/constdefs.c', line 3651Receive timeout INTEGER2NUM(SO_RCVTIMEO) 
- 
    SO_RECVUCRED =
    # File 'ext/socket/constdefs.c', line 3783Receive user credentials with datagram INTEGER2NUM(SO_RECVUCRED) 
- 
    SO_REUSEADDR =
    # File 'ext/socket/constdefs.c', line 3537Allow local address reuse INTEGER2NUM(SO_REUSEADDR) 
- 
    SO_REUSEPORT =
    # File 'ext/socket/constdefs.c', line 3543Allow local address and port reuse INTEGER2NUM(SO_REUSEPORT) 
- 
    SO_RXQ_OVFL =
    # File 'ext/socket/constdefs.c', line 3837Toggle cmsg for number of packets dropped (Linux 2.6.33) INTEGER2NUM(SO_RXQ_OVFL) 
- 
    SO_SECURITY_AUTHENTICATION =
    
 # File 'ext/socket/constdefs.c', line 3717INTEGER2NUM(SO_SECURITY_AUTHENTICATION) 
- 
    SO_SECURITY_ENCRYPTION_NETWORK =
    
 # File 'ext/socket/constdefs.c', line 3729INTEGER2NUM(SO_SECURITY_ENCRYPTION_NETWORK) 
- 
    SO_SECURITY_ENCRYPTION_TRANSPORT =
    
 # File 'ext/socket/constdefs.c', line 3723INTEGER2NUM(SO_SECURITY_ENCRYPTION_TRANSPORT) 
- 
    SO_SELECT_ERR_QUEUE =
    # File 'ext/socket/constdefs.c', line 3867Make select() detect socket error queue with errorfds (Linux 3.10) INTEGER2NUM(SO_SELECT_ERR_QUEUE) 
- 
    SO_SNDBUF =
    # File 'ext/socket/constdefs.c', line 3573Send buffer size INTEGER2NUM(SO_SNDBUF) 
- 
    SO_SNDBUFFORCE =
    # File 'ext/socket/constdefs.c', line 3585Send buffer size without wmem_max limit (Linux 2.6.14) INTEGER2NUM(SO_SNDBUFFORCE) 
- 
    SO_SNDLOWAT =
    # File 'ext/socket/constdefs.c', line 3645Send low-water mark INTEGER2NUM(SO_SNDLOWAT) 
- 
    SO_SNDTIMEO =
    # File 'ext/socket/constdefs.c', line 3657Send timeout INTEGER2NUM(SO_SNDTIMEO) 
- 
    SO_TIMESTAMP =
    # File 'ext/socket/constdefs.c', line 3765Receive timestamp with datagrams (timeval) INTEGER2NUM(SO_TIMESTAMP) 
- 
    SO_TIMESTAMPING =
    # File 'ext/socket/constdefs.c', line 3819Time stamping of incoming and outgoing packets (Linux 2.6.30) INTEGER2NUM(SO_TIMESTAMPING) 
- 
    SO_TIMESTAMPNS =
    # File 'ext/socket/constdefs.c', line 3771Receive nanosecond timestamp with datagrams (timespec) INTEGER2NUM(SO_TIMESTAMPNS) 
- 
    SO_TYPE =
    # File 'ext/socket/constdefs.c', line 3549Get the socket type INTEGER2NUM(SO_TYPE) 
- 
    SO_USELOOPBACK =
    # File 'ext/socket/constdefs.c', line 3669Bypass hardware when possible INTEGER2NUM(SO_USELOOPBACK) 
- 
    SO_WANTMORE =
    # File 'ext/socket/constdefs.c', line 3687Give a hint when more data is ready INTEGER2NUM(SO_WANTMORE) 
- 
    SO_WANTOOBFLAG =
    # File 'ext/socket/constdefs.c', line 3693OOB data is wanted in MSG_FLAG on receive INTEGER2NUM(SO_WANTOOBFLAG) 
- 
    SO_WIFI_STATUS =
    # File 'ext/socket/constdefs.c', line 3843Toggle cmsg for wifi status (Linux 3.3) INTEGER2NUM(SO_WIFI_STATUS) 
- 
    TCP_CONGESTION =
    # File 'ext/socket/constdefs.c', line 4011TCP congestion control algorithm (Linux 2.6.13, glibc 2.6) INTEGER2NUM(TCP_CONGESTION) 
- 
    TCP_COOKIE_TRANSACTIONS =
    # File 'ext/socket/constdefs.c', line 4017TCP Cookie Transactions (Linux 2.6.33, glibc 2.18) INTEGER2NUM(TCP_COOKIE_TRANSACTIONS) 
- 
    TCP_CORK =
    # File 'ext/socket/constdefs.c', line 3927Don't send partial frames (Linux 2.2, glibc 2.2) INTEGER2NUM(TCP_CORK) 
- 
    TCP_DEFER_ACCEPT =
    # File 'ext/socket/constdefs.c', line 3933Don'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 4005Reduce step of the handshake process (Linux 3.7, glibc 2.18) INTEGER2NUM(TCP_FASTOPEN) 
- 
    TCP_INFO =
    # File 'ext/socket/constdefs.c', line 3939Retrieve information about this socket (Linux 2.4, glibc 2.2) INTEGER2NUM(TCP_INFO) 
- 
    TCP_KEEPCNT =
    # File 'ext/socket/constdefs.c', line 3945Maximum 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 3951Idle time before keepalive probes are sent (Linux 2.4, glibc 2.2) INTEGER2NUM(TCP_KEEPIDLE) 
- 
    TCP_KEEPINTVL =
    # File 'ext/socket/constdefs.c', line 3957Time between keepalive probes (Linux 2.4, glibc 2.2) INTEGER2NUM(TCP_KEEPINTVL) 
- 
    TCP_LINGER2 =
    # File 'ext/socket/constdefs.c', line 3963Lifetime of orphaned FIN_WAIT2 sockets (Linux 2.4, glibc 2.2) INTEGER2NUM(TCP_LINGER2) 
- 
    TCP_MAXSEG =
    # File 'ext/socket/constdefs.c', line 3921Set maximum segment size INTEGER2NUM(TCP_MAXSEG) 
- 
    TCP_MD5SIG =
    # File 'ext/socket/constdefs.c', line 3969Use MD5 digests (RFC2385, Linux 2.6.20, glibc 2.7) INTEGER2NUM(TCP_MD5SIG) 
- 
    TCP_NODELAY =
    # File 'ext/socket/constdefs.c', line 3915Don't delay sending to coalesce packets INTEGER2NUM(TCP_NODELAY) 
- 
    TCP_NOOPT =
    # File 'ext/socket/constdefs.c', line 3975Don't use TCP options INTEGER2NUM(TCP_NOOPT) 
- 
    TCP_NOPUSH =
    # File 'ext/socket/constdefs.c', line 3981Don't push the last block of write INTEGER2NUM(TCP_NOPUSH) 
- 
    TCP_QUEUE_SEQ =
    # File 'ext/socket/constdefs.c', line 4023Sequence of a queue for repair mode (Linux 3.5, glibc 2.18) INTEGER2NUM(TCP_QUEUE_SEQ) 
- 
    TCP_QUICKACK =
    # File 'ext/socket/constdefs.c', line 3987Enable quickack mode (Linux 2.4.4, glibc 2.3) INTEGER2NUM(TCP_QUICKACK) 
- 
    TCP_REPAIR =
    # File 'ext/socket/constdefs.c', line 4029Repair mode (Linux 3.5, glibc 2.18) INTEGER2NUM(TCP_REPAIR) 
- 
    TCP_REPAIR_OPTIONS =
    # File 'ext/socket/constdefs.c', line 4035Options for repair mode (Linux 3.5, glibc 2.18) INTEGER2NUM(TCP_REPAIR_OPTIONS) 
- 
    TCP_REPAIR_QUEUE =
    # File 'ext/socket/constdefs.c', line 4041Queue for repair mode (Linux 3.5, glibc 2.18) INTEGER2NUM(TCP_REPAIR_QUEUE) 
- 
    TCP_SYNCNT =
    # File 'ext/socket/constdefs.c', line 3993Number 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 4047Duplicated 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 4053Linear timeouts for thin-streams (Linux 2.6.34, glibc 2.18) INTEGER2NUM(TCP_THIN_LINEAR_TIMEOUTS) 
- 
    TCP_TIMESTAMP =
    # File 'ext/socket/constdefs.c', line 4059TCP timestamp (Linux 3.9, glibc 2.18) INTEGER2NUM(TCP_TIMESTAMP) 
- 
    TCP_USER_TIMEOUT =
    # File 'ext/socket/constdefs.c', line 4065Max 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 3999Clamp the size of the advertised window (Linux 2.4, glibc 2.2) INTEGER2NUM(TCP_WINDOW_CLAMP) 
- 
    UDP_CORK =
    # File 'ext/socket/constdefs.c', line 4071Don't send partial frames (Linux 2.5.44, glibc 2.11) INTEGER2NUM(UDP_CORK)