rbs 2.7.0 → 2.8.0.pre.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +29 -0
- data/Gemfile.lock +18 -18
- data/Steepfile +2 -4
- data/core/io/buffer.rbs +15 -0
- data/core/io.rbs +6 -0
- data/docs/syntax.md +77 -32
- data/docs/tools.md +16 -0
- data/ext/rbs_extension/lexer.h +2 -0
- data/ext/rbs_extension/lexstate.c +9 -3
- data/ext/rbs_extension/parser.c +28 -11
- data/ext/rbs_extension/parserstate.c +7 -3
- data/ext/rbs_extension/parserstate.h +1 -1
- data/lib/rbs/cli.rb +4 -3
- data/lib/rbs/collection/config/lockfile_generator.rb +28 -2
- data/lib/rbs/collection/config.rb +21 -0
- data/lib/rbs/definition_builder/ancestor_builder.rb +6 -0
- data/lib/rbs/errors.rb +21 -1
- data/lib/rbs/parser_aux.rb +9 -6
- data/lib/rbs/version.rb +1 -1
- data/sig/collection/config.rbs +8 -0
- data/sig/errors.rbs +14 -0
- data/sig/manifest.yaml +0 -1
- data/sig/parser.rbs +41 -11
- data/stdlib/ipaddr/0/ipaddr.rbs +15 -0
- data/stdlib/socket/0/addrinfo.rbs +2 -1
- data/stdlib/socket/0/constants.rbs +2295 -0
- data/stdlib/socket/0/socket.rbs +899 -8
- data/stdlib/socket/0/socket_error.rbs +5 -0
- data/stdlib/yaml/0/dbm.rbs +1 -49
- data/stdlib/yaml/0/yaml.rbs +171 -0
- data/steep/Gemfile.lock +21 -9
- metadata +8 -4
data/stdlib/socket/0/socket.rbs
CHANGED
@@ -165,6 +165,7 @@ class Socket < BasicSocket
|
|
165
165
|
# If Addrinfo object is preferred, use Addrinfo.getaddrinfo.
|
166
166
|
#
|
167
167
|
def self.getaddrinfo: (String peer, String | Integer | nil protocol, ?Integer | Symbol | nil family, ?Integer | Symbol | nil socktype, ?Integer | Symbol | nil protocol, ?Integer | nil flags) -> [ String, Integer, String, String, Integer, Integer, Integer ]
|
168
|
+
| (String? peer, String | Integer protocol, ?Integer | Symbol | nil family, ?Integer | Symbol | nil socktype, ?Integer | Symbol | nil protocol, ?Integer | nil flags) -> [ String, Integer, String, String, Integer, Integer, Integer ]
|
168
169
|
|
169
170
|
# <!--
|
170
171
|
# rdoc-file=ext/socket/socket.c
|
@@ -1418,11 +1419,36 @@ class Socket < BasicSocket
|
|
1418
1419
|
def initialize: (Symbol domain, Symbol socktype, ?Integer protocol) -> untyped
|
1419
1420
|
end
|
1420
1421
|
|
1422
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1423
|
+
# Interface to kernel crypto API
|
1424
|
+
#
|
1425
|
+
Socket::AF_ALG: Integer
|
1426
|
+
|
1421
1427
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1422
1428
|
# AppleTalk protocol
|
1423
1429
|
#
|
1424
1430
|
Socket::AF_APPLETALK: Integer
|
1425
1431
|
|
1432
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1433
|
+
# Asynchronous Transfer Mode
|
1434
|
+
#
|
1435
|
+
Socket::AF_ATM: Integer
|
1436
|
+
|
1437
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1438
|
+
# AX.25 protocol
|
1439
|
+
#
|
1440
|
+
Socket::AF_AX25: Integer
|
1441
|
+
|
1442
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1443
|
+
# Bluetooth low-level socket protocol
|
1444
|
+
#
|
1445
|
+
Socket::AF_BLUETOOTH: Integer
|
1446
|
+
|
1447
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1448
|
+
# Controller Area Network automotive bus protocol
|
1449
|
+
#
|
1450
|
+
Socket::AF_CAN: Integer
|
1451
|
+
|
1426
1452
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1427
1453
|
# CCITT (now ITU-T) protocols
|
1428
1454
|
#
|
@@ -1448,6 +1474,16 @@ Socket::AF_COIP: Integer
|
|
1448
1474
|
#
|
1449
1475
|
Socket::AF_DATAKIT: Integer
|
1450
1476
|
|
1477
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1478
|
+
# DECnet protocol
|
1479
|
+
#
|
1480
|
+
Socket::AF_DEC: Integer
|
1481
|
+
|
1482
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1483
|
+
# DECnet protocol
|
1484
|
+
#
|
1485
|
+
Socket::AF_DECnet: Integer
|
1486
|
+
|
1451
1487
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1452
1488
|
# DEC Direct Data Link Interface protocol
|
1453
1489
|
#
|
@@ -1468,6 +1504,11 @@ Socket::AF_ECMA: Integer
|
|
1468
1504
|
#
|
1469
1505
|
Socket::AF_HYLINK: Integer
|
1470
1506
|
|
1507
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1508
|
+
# InfiniBand native addressing
|
1509
|
+
#
|
1510
|
+
Socket::AF_IB: Integer
|
1511
|
+
|
1471
1512
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1472
1513
|
# ARPANET IMP protocol
|
1473
1514
|
#
|
@@ -1498,6 +1539,16 @@ Socket::AF_ISDN: Integer
|
|
1498
1539
|
#
|
1499
1540
|
Socket::AF_ISO: Integer
|
1500
1541
|
|
1542
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1543
|
+
# KCM (kernel connection multiplexor) interface
|
1544
|
+
#
|
1545
|
+
Socket::AF_KCM: Integer
|
1546
|
+
|
1547
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1548
|
+
# Key management protocol, originally developed for usage with IPsec
|
1549
|
+
#
|
1550
|
+
Socket::AF_KEY: Integer
|
1551
|
+
|
1501
1552
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1502
1553
|
# Local Area Transport protocol
|
1503
1554
|
#
|
@@ -1508,6 +1559,11 @@ Socket::AF_LAT: Integer
|
|
1508
1559
|
#
|
1509
1560
|
Socket::AF_LINK: Integer
|
1510
1561
|
|
1562
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1563
|
+
# Logical link control (IEEE 802.2 LLC) protocol
|
1564
|
+
#
|
1565
|
+
Socket::AF_LLC: Integer
|
1566
|
+
|
1511
1567
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1512
1568
|
# Host-internal protocols
|
1513
1569
|
#
|
@@ -1518,6 +1574,11 @@ Socket::AF_LOCAL: Integer
|
|
1518
1574
|
#
|
1519
1575
|
Socket::AF_MAX: Integer
|
1520
1576
|
|
1577
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1578
|
+
# Multiprotocol Label Switching
|
1579
|
+
#
|
1580
|
+
Socket::AF_MPLS: Integer
|
1581
|
+
|
1521
1582
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1522
1583
|
# Native ATM access
|
1523
1584
|
#
|
@@ -1533,6 +1594,16 @@ Socket::AF_NDRV: Integer
|
|
1533
1594
|
#
|
1534
1595
|
Socket::AF_NETBIOS: Integer
|
1535
1596
|
|
1597
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1598
|
+
# Netgraph sockets
|
1599
|
+
#
|
1600
|
+
Socket::AF_NETGRAPH: Integer
|
1601
|
+
|
1602
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1603
|
+
# Kernel user interface device
|
1604
|
+
#
|
1605
|
+
Socket::AF_NETLINK: Integer
|
1606
|
+
|
1536
1607
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1537
1608
|
# XEROX NS protocols
|
1538
1609
|
#
|
@@ -1543,16 +1614,31 @@ Socket::AF_NS: Integer
|
|
1543
1614
|
#
|
1544
1615
|
Socket::AF_OSI: Integer
|
1545
1616
|
|
1617
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1618
|
+
# Direct link-layer access
|
1619
|
+
#
|
1620
|
+
Socket::AF_PACKET: Integer
|
1621
|
+
|
1546
1622
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1547
1623
|
# Point-to-Point Protocol
|
1548
1624
|
#
|
1549
1625
|
Socket::AF_PPP: Integer
|
1550
1626
|
|
1627
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1628
|
+
# Generic PPP transport layer, for setting up L2 tunnels (L2TP and PPPoE)
|
1629
|
+
#
|
1630
|
+
Socket::AF_PPPOX: Integer
|
1631
|
+
|
1551
1632
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1552
1633
|
# PARC Universal Packet protocol
|
1553
1634
|
#
|
1554
1635
|
Socket::AF_PUP: Integer
|
1555
1636
|
|
1637
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1638
|
+
# Reliable Datagram Sockets (RDS) protocol
|
1639
|
+
#
|
1640
|
+
Socket::AF_RDS: Integer
|
1641
|
+
|
1556
1642
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1557
1643
|
# Internal routing protocol
|
1558
1644
|
#
|
@@ -1567,9 +1653,13 @@ Socket::AF_SIP: Integer
|
|
1567
1653
|
# IBM SNA protocol
|
1568
1654
|
#
|
1569
1655
|
Socket::AF_SNA: Integer
|
1570
|
-
|
1571
1656
|
Socket::AF_SYSTEM: Integer
|
1572
1657
|
|
1658
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1659
|
+
# TIPC, "cluster domain sockets" protocol
|
1660
|
+
#
|
1661
|
+
Socket::AF_TIPC: Integer
|
1662
|
+
|
1573
1663
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1574
1664
|
# UNIX sockets
|
1575
1665
|
#
|
@@ -1580,6 +1670,17 @@ Socket::AF_UNIX: Integer
|
|
1580
1670
|
#
|
1581
1671
|
Socket::AF_UNSPEC: Integer
|
1582
1672
|
|
1673
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1674
|
+
# VSOCK (originally "VMWare VSockets") protocol for hypervisor-guest
|
1675
|
+
# communication
|
1676
|
+
#
|
1677
|
+
Socket::AF_VSOCK: Integer
|
1678
|
+
|
1679
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1680
|
+
# XDP (express data path) interface
|
1681
|
+
#
|
1682
|
+
Socket::AF_XDP: Integer
|
1683
|
+
|
1583
1684
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1584
1685
|
# Accept only if any address is assigned
|
1585
1686
|
#
|
@@ -1705,6 +1806,11 @@ Socket::EAI_SOCKTYPE: Integer
|
|
1705
1806
|
#
|
1706
1807
|
Socket::EAI_SYSTEM: Integer
|
1707
1808
|
|
1809
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1810
|
+
# 802.1Q VLAN device
|
1811
|
+
#
|
1812
|
+
Socket::IFF_802_1Q_VLAN: Integer
|
1813
|
+
|
1708
1814
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1709
1815
|
# receive all multicast packets
|
1710
1816
|
#
|
@@ -1715,16 +1821,91 @@ Socket::IFF_ALLMULTI: Integer
|
|
1715
1821
|
#
|
1716
1822
|
Socket::IFF_ALTPHYS: Integer
|
1717
1823
|
|
1824
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1825
|
+
# auto media select active
|
1826
|
+
#
|
1827
|
+
Socket::IFF_AUTOMEDIA: Integer
|
1828
|
+
|
1829
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1830
|
+
# bonding master or slave
|
1831
|
+
#
|
1832
|
+
Socket::IFF_BONDING: Integer
|
1833
|
+
|
1834
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1835
|
+
# device used as bridge port
|
1836
|
+
#
|
1837
|
+
Socket::IFF_BRIDGE_PORT: Integer
|
1838
|
+
|
1718
1839
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1719
1840
|
# broadcast address valid
|
1720
1841
|
#
|
1721
1842
|
Socket::IFF_BROADCAST: Integer
|
1722
1843
|
|
1844
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1845
|
+
# flags not changeable
|
1846
|
+
#
|
1847
|
+
Socket::IFF_CANTCHANGE: Integer
|
1848
|
+
|
1849
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1850
|
+
# unconfigurable using ioctl(2)
|
1851
|
+
#
|
1852
|
+
Socket::IFF_CANTCONFIG: Integer
|
1853
|
+
|
1723
1854
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1724
1855
|
# turn on debugging
|
1725
1856
|
#
|
1726
1857
|
Socket::IFF_DEBUG: Integer
|
1727
1858
|
|
1859
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1860
|
+
# disable netpoll at run-time
|
1861
|
+
#
|
1862
|
+
Socket::IFF_DISABLE_NETPOLL: Integer
|
1863
|
+
|
1864
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1865
|
+
# disallow bridging this ether dev
|
1866
|
+
#
|
1867
|
+
Socket::IFF_DONT_BRIDGE: Integer
|
1868
|
+
|
1869
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1870
|
+
# driver signals dormant
|
1871
|
+
#
|
1872
|
+
Socket::IFF_DORMANT: Integer
|
1873
|
+
|
1874
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1875
|
+
# tx hardware queue is full
|
1876
|
+
#
|
1877
|
+
Socket::IFF_DRV_OACTIVE: Integer
|
1878
|
+
|
1879
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1880
|
+
# resources allocated
|
1881
|
+
#
|
1882
|
+
Socket::IFF_DRV_RUNNING: Integer
|
1883
|
+
|
1884
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1885
|
+
# interface is winding down
|
1886
|
+
#
|
1887
|
+
Socket::IFF_DYING: Integer
|
1888
|
+
|
1889
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1890
|
+
# dialup device with changing addresses
|
1891
|
+
#
|
1892
|
+
Socket::IFF_DYNAMIC: Integer
|
1893
|
+
|
1894
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1895
|
+
# ethernet bridging device
|
1896
|
+
#
|
1897
|
+
Socket::IFF_EBRIDGE: Integer
|
1898
|
+
|
1899
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1900
|
+
# echo sent packets
|
1901
|
+
#
|
1902
|
+
Socket::IFF_ECHO: Integer
|
1903
|
+
|
1904
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1905
|
+
# ISATAP interface (RFC4214)
|
1906
|
+
#
|
1907
|
+
Socket::IFF_ISATAP: Integer
|
1908
|
+
|
1728
1909
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1729
1910
|
# per link layer defined bit 0
|
1730
1911
|
#
|
@@ -1740,11 +1921,51 @@ Socket::IFF_LINK1: Integer
|
|
1740
1921
|
#
|
1741
1922
|
Socket::IFF_LINK2: Integer
|
1742
1923
|
|
1924
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1925
|
+
# hardware address change when it's running
|
1926
|
+
#
|
1927
|
+
Socket::IFF_LIVE_ADDR_CHANGE: Integer
|
1928
|
+
|
1743
1929
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1744
1930
|
# loopback net
|
1745
1931
|
#
|
1746
1932
|
Socket::IFF_LOOPBACK: Integer
|
1747
1933
|
|
1934
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1935
|
+
# driver signals L1 up
|
1936
|
+
#
|
1937
|
+
Socket::IFF_LOWER_UP: Integer
|
1938
|
+
|
1939
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1940
|
+
# device used as macvlan port
|
1941
|
+
#
|
1942
|
+
Socket::IFF_MACVLAN_PORT: Integer
|
1943
|
+
|
1944
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1945
|
+
# master of a load balancer
|
1946
|
+
#
|
1947
|
+
Socket::IFF_MASTER: Integer
|
1948
|
+
|
1949
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1950
|
+
# bonding master, 802.3ad.
|
1951
|
+
#
|
1952
|
+
Socket::IFF_MASTER_8023AD: Integer
|
1953
|
+
|
1954
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1955
|
+
# bonding master, balance-alb.
|
1956
|
+
#
|
1957
|
+
Socket::IFF_MASTER_ALB: Integer
|
1958
|
+
|
1959
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1960
|
+
# bonding master, ARP mon in use
|
1961
|
+
#
|
1962
|
+
Socket::IFF_MASTER_ARPMON: Integer
|
1963
|
+
|
1964
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1965
|
+
# user-requested monitor mode
|
1966
|
+
#
|
1967
|
+
Socket::IFF_MONITOR: Integer
|
1968
|
+
|
1748
1969
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1749
1970
|
# supports multicast
|
1750
1971
|
#
|
@@ -1765,16 +1986,41 @@ Socket::IFF_NOTRAILERS: Integer
|
|
1765
1986
|
#
|
1766
1987
|
Socket::IFF_OACTIVE: Integer
|
1767
1988
|
|
1989
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1990
|
+
# device used as Open vSwitch datapath port
|
1991
|
+
#
|
1992
|
+
Socket::IFF_OVS_DATAPATH: Integer
|
1993
|
+
|
1768
1994
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1769
1995
|
# point-to-point link
|
1770
1996
|
#
|
1771
1997
|
Socket::IFF_POINTOPOINT: Integer
|
1772
1998
|
|
1999
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2000
|
+
# can set media type
|
2001
|
+
#
|
2002
|
+
Socket::IFF_PORTSEL: Integer
|
2003
|
+
|
2004
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2005
|
+
# user-requested promisc mode
|
2006
|
+
#
|
2007
|
+
Socket::IFF_PPROMISC: Integer
|
2008
|
+
|
1773
2009
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1774
2010
|
# receive all packets
|
1775
2011
|
#
|
1776
2012
|
Socket::IFF_PROMISC: Integer
|
1777
2013
|
|
2014
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2015
|
+
# interface is being renamed
|
2016
|
+
#
|
2017
|
+
Socket::IFF_RENAMING: Integer
|
2018
|
+
|
2019
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2020
|
+
# routing entry installed
|
2021
|
+
#
|
2022
|
+
Socket::IFF_ROUTE: Integer
|
2023
|
+
|
1778
2024
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1779
2025
|
# resources allocated
|
1780
2026
|
#
|
@@ -1785,11 +2031,71 @@ Socket::IFF_RUNNING: Integer
|
|
1785
2031
|
#
|
1786
2032
|
Socket::IFF_SIMPLEX: Integer
|
1787
2033
|
|
2034
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2035
|
+
# slave of a load balancer
|
2036
|
+
#
|
2037
|
+
Socket::IFF_SLAVE: Integer
|
2038
|
+
|
2039
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2040
|
+
# bonding slave not the curr. active
|
2041
|
+
#
|
2042
|
+
Socket::IFF_SLAVE_INACTIVE: Integer
|
2043
|
+
|
2044
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2045
|
+
# need ARPs for validation
|
2046
|
+
#
|
2047
|
+
Socket::IFF_SLAVE_NEEDARP: Integer
|
2048
|
+
|
2049
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2050
|
+
# interface manages own routes
|
2051
|
+
#
|
2052
|
+
Socket::IFF_SMART: Integer
|
2053
|
+
|
2054
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2055
|
+
# static ARP
|
2056
|
+
#
|
2057
|
+
Socket::IFF_STATICARP: Integer
|
2058
|
+
|
2059
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2060
|
+
# sending custom FCS
|
2061
|
+
#
|
2062
|
+
Socket::IFF_SUPP_NOFCS: Integer
|
2063
|
+
|
2064
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2065
|
+
# used as team port
|
2066
|
+
#
|
2067
|
+
Socket::IFF_TEAM_PORT: Integer
|
2068
|
+
|
2069
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2070
|
+
# sharing skbs on transmit
|
2071
|
+
#
|
2072
|
+
Socket::IFF_TX_SKB_SHARING: Integer
|
2073
|
+
|
2074
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2075
|
+
# unicast filtering
|
2076
|
+
#
|
2077
|
+
Socket::IFF_UNICAST_FLT: Integer
|
2078
|
+
|
1788
2079
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1789
2080
|
# interface is up
|
1790
2081
|
#
|
1791
2082
|
Socket::IFF_UP: Integer
|
1792
2083
|
|
2084
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2085
|
+
# volatile flags
|
2086
|
+
#
|
2087
|
+
Socket::IFF_VOLATILE: Integer
|
2088
|
+
|
2089
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2090
|
+
# WAN HDLC device
|
2091
|
+
#
|
2092
|
+
Socket::IFF_WAN_HDLC: Integer
|
2093
|
+
|
2094
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2095
|
+
# dev_hard_start_xmit() is allowed to release skb->dst
|
2096
|
+
#
|
2097
|
+
Socket::IFF_XMIT_DST_RELEASE: Integer
|
2098
|
+
|
1793
2099
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1794
2100
|
# Maximum interface name size
|
1795
2101
|
#
|
@@ -1860,6 +2166,7 @@ Socket::IPPORT_USERRESERVED: Integer
|
|
1860
2166
|
# IP6 auth header
|
1861
2167
|
#
|
1862
2168
|
Socket::IPPROTO_AH: Integer
|
2169
|
+
Socket::IPPROTO_BIP: Integer
|
1863
2170
|
|
1864
2171
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
1865
2172
|
# IP6 destination option
|
@@ -2115,6 +2422,7 @@ Socket::IPV6_USE_MIN_MTU: Integer
|
|
2115
2422
|
# Only bind IPv6 with a wildcard bind
|
2116
2423
|
#
|
2117
2424
|
Socket::IPV6_V6ONLY: Integer
|
2425
|
+
Socket::IPX_TYPE: Integer
|
2118
2426
|
|
2119
2427
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2120
2428
|
# Add a multicast group membership
|
@@ -2141,6 +2449,11 @@ Socket::IP_DEFAULT_MULTICAST_LOOP: Integer
|
|
2141
2449
|
#
|
2142
2450
|
Socket::IP_DEFAULT_MULTICAST_TTL: Integer
|
2143
2451
|
|
2452
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2453
|
+
# Don't fragment packets
|
2454
|
+
#
|
2455
|
+
Socket::IP_DONTFRAG: Integer
|
2456
|
+
|
2144
2457
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2145
2458
|
# Drop a multicast group membership
|
2146
2459
|
#
|
@@ -2151,6 +2464,11 @@ Socket::IP_DROP_MEMBERSHIP: Integer
|
|
2151
2464
|
#
|
2152
2465
|
Socket::IP_DROP_SOURCE_MEMBERSHIP: Integer
|
2153
2466
|
|
2467
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2468
|
+
# Allow binding to nonexistent IP addresses
|
2469
|
+
#
|
2470
|
+
Socket::IP_FREEBIND: Integer
|
2471
|
+
|
2154
2472
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2155
2473
|
# Header is included with data
|
2156
2474
|
#
|
@@ -2166,11 +2484,26 @@ Socket::IP_IPSEC_POLICY: Integer
|
|
2166
2484
|
#
|
2167
2485
|
Socket::IP_MAX_MEMBERSHIPS: Integer
|
2168
2486
|
|
2487
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2488
|
+
# Minimum TTL allowed for received packets
|
2489
|
+
#
|
2490
|
+
Socket::IP_MINTTL: Integer
|
2491
|
+
|
2169
2492
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2170
2493
|
# Multicast source filtering
|
2171
2494
|
#
|
2172
2495
|
Socket::IP_MSFILTER: Integer
|
2173
2496
|
|
2497
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2498
|
+
# The Maximum Transmission Unit of the socket
|
2499
|
+
#
|
2500
|
+
Socket::IP_MTU: Integer
|
2501
|
+
|
2502
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2503
|
+
# Path MTU discovery
|
2504
|
+
#
|
2505
|
+
Socket::IP_MTU_DISCOVER: Integer
|
2506
|
+
|
2174
2507
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2175
2508
|
# IP multicast interface
|
2176
2509
|
#
|
@@ -2186,16 +2519,46 @@ Socket::IP_MULTICAST_LOOP: Integer
|
|
2186
2519
|
#
|
2187
2520
|
Socket::IP_MULTICAST_TTL: Integer
|
2188
2521
|
|
2522
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2523
|
+
# Force outgoing broadcast datagrams to have the undirected broadcast address
|
2524
|
+
#
|
2525
|
+
Socket::IP_ONESBCAST: Integer
|
2526
|
+
|
2189
2527
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2190
2528
|
# IP options to be included in packets
|
2191
2529
|
#
|
2192
2530
|
Socket::IP_OPTIONS: Integer
|
2193
2531
|
|
2532
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2533
|
+
# Retrieve security context with datagram
|
2534
|
+
#
|
2535
|
+
Socket::IP_PASSSEC: Integer
|
2536
|
+
|
2194
2537
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2195
2538
|
# Receive packet information with datagrams
|
2196
2539
|
#
|
2197
2540
|
Socket::IP_PKTINFO: Integer
|
2198
2541
|
|
2542
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2543
|
+
# Receive packet options with datagrams
|
2544
|
+
#
|
2545
|
+
Socket::IP_PKTOPTIONS: Integer
|
2546
|
+
|
2547
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2548
|
+
# Always send DF frames
|
2549
|
+
#
|
2550
|
+
Socket::IP_PMTUDISC_DO: Integer
|
2551
|
+
|
2552
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2553
|
+
# Never send DF frames
|
2554
|
+
#
|
2555
|
+
Socket::IP_PMTUDISC_DONT: Integer
|
2556
|
+
|
2557
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2558
|
+
# Use per-route hints
|
2559
|
+
#
|
2560
|
+
Socket::IP_PMTUDISC_WANT: Integer
|
2561
|
+
|
2199
2562
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2200
2563
|
# Set the port range for sockets with unspecified port numbers
|
2201
2564
|
#
|
@@ -2206,6 +2569,11 @@ Socket::IP_PORTRANGE: Integer
|
|
2206
2569
|
#
|
2207
2570
|
Socket::IP_RECVDSTADDR: Integer
|
2208
2571
|
|
2572
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2573
|
+
# Enable extended reliable error message passing
|
2574
|
+
#
|
2575
|
+
Socket::IP_RECVERR: Integer
|
2576
|
+
|
2209
2577
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2210
2578
|
# Receive interface information with datagrams
|
2211
2579
|
#
|
@@ -2221,6 +2589,11 @@ Socket::IP_RECVOPTS: Integer
|
|
2221
2589
|
#
|
2222
2590
|
Socket::IP_RECVRETOPTS: Integer
|
2223
2591
|
|
2592
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2593
|
+
# Receive link-layer address with datagrams
|
2594
|
+
#
|
2595
|
+
Socket::IP_RECVSLLA: Integer
|
2596
|
+
|
2224
2597
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2225
2598
|
# Receive TOS with incoming packets
|
2226
2599
|
#
|
@@ -2236,11 +2609,26 @@ Socket::IP_RECVTTL: Integer
|
|
2236
2609
|
#
|
2237
2610
|
Socket::IP_RETOPTS: Integer
|
2238
2611
|
|
2612
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2613
|
+
# Notify transit routers to more closely examine the contents of an IP packet
|
2614
|
+
#
|
2615
|
+
Socket::IP_ROUTER_ALERT: Integer
|
2616
|
+
|
2617
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2618
|
+
# Source address for outgoing UDP datagrams
|
2619
|
+
#
|
2620
|
+
Socket::IP_SENDSRCADDR: Integer
|
2621
|
+
|
2239
2622
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2240
2623
|
# IP type-of-service
|
2241
2624
|
#
|
2242
2625
|
Socket::IP_TOS: Integer
|
2243
2626
|
|
2627
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2628
|
+
# Transparent proxy
|
2629
|
+
#
|
2630
|
+
Socket::IP_TRANSPARENT: Integer
|
2631
|
+
|
2244
2632
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2245
2633
|
# IP time-to-live
|
2246
2634
|
#
|
@@ -2250,6 +2638,17 @@ Socket::IP_TTL: Integer
|
|
2250
2638
|
# Unblock IPv4 multicast packets with a give source address
|
2251
2639
|
#
|
2252
2640
|
Socket::IP_UNBLOCK_SOURCE: Integer
|
2641
|
+
Socket::IP_XFRM_POLICY: Integer
|
2642
|
+
|
2643
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2644
|
+
# Connect blocks until accepted
|
2645
|
+
#
|
2646
|
+
Socket::LOCAL_CONNWAIT: Integer
|
2647
|
+
|
2648
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2649
|
+
# Pass credentials to receiver
|
2650
|
+
#
|
2651
|
+
Socket::LOCAL_CREDS: Integer
|
2253
2652
|
|
2254
2653
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2255
2654
|
# Retrieve peer credentials
|
@@ -2291,11 +2690,26 @@ Socket::MCAST_LEAVE_GROUP: Integer
|
|
2291
2690
|
#
|
2292
2691
|
Socket::MCAST_LEAVE_SOURCE_GROUP: Integer
|
2293
2692
|
|
2693
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2694
|
+
# Multicast source filtering
|
2695
|
+
#
|
2696
|
+
Socket::MCAST_MSFILTER: Integer
|
2697
|
+
|
2294
2698
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2295
2699
|
# Unblock multicast packets from this source
|
2296
2700
|
#
|
2297
2701
|
Socket::MCAST_UNBLOCK_SOURCE: Integer
|
2298
2702
|
|
2703
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2704
|
+
# End of record
|
2705
|
+
#
|
2706
|
+
Socket::MSG_COMPAT: Integer
|
2707
|
+
|
2708
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2709
|
+
# Confirm path validity
|
2710
|
+
#
|
2711
|
+
Socket::MSG_CONFIRM: Integer
|
2712
|
+
|
2299
2713
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2300
2714
|
# Control data lost before delivery
|
2301
2715
|
#
|
@@ -2322,20 +2736,41 @@ Socket::MSG_EOF: Integer
|
|
2322
2736
|
Socket::MSG_EOR: Integer
|
2323
2737
|
|
2324
2738
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2325
|
-
#
|
2739
|
+
# Fetch message from error queue
|
2326
2740
|
#
|
2327
|
-
Socket::
|
2741
|
+
Socket::MSG_ERRQUEUE: Integer
|
2328
2742
|
|
2329
2743
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2330
|
-
#
|
2744
|
+
# Reduce step of the handshake process
|
2331
2745
|
#
|
2332
|
-
Socket::
|
2746
|
+
Socket::MSG_FASTOPEN: Integer
|
2747
|
+
Socket::MSG_FIN: Integer
|
2333
2748
|
|
2334
2749
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2335
|
-
#
|
2750
|
+
# Start of a hold sequence. Dumps to so_temp
|
2751
|
+
#
|
2752
|
+
Socket::MSG_FLUSH: Integer
|
2753
|
+
|
2754
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2755
|
+
# Data ready to be read
|
2756
|
+
#
|
2757
|
+
Socket::MSG_HAVEMORE: Integer
|
2758
|
+
|
2759
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2760
|
+
# Hold fragment in so_temp
|
2336
2761
|
#
|
2337
2762
|
Socket::MSG_HOLD: Integer
|
2338
2763
|
|
2764
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2765
|
+
# Sender will send more
|
2766
|
+
#
|
2767
|
+
Socket::MSG_MORE: Integer
|
2768
|
+
|
2769
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2770
|
+
# Do not generate SIGPIPE
|
2771
|
+
#
|
2772
|
+
Socket::MSG_NOSIGNAL: Integer
|
2773
|
+
|
2339
2774
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2340
2775
|
# Process out-of-band data
|
2341
2776
|
#
|
@@ -2346,15 +2781,22 @@ Socket::MSG_OOB: Integer
|
|
2346
2781
|
#
|
2347
2782
|
Socket::MSG_PEEK: Integer
|
2348
2783
|
|
2784
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2785
|
+
# Wait for full request
|
2786
|
+
#
|
2787
|
+
Socket::MSG_PROXY: Integer
|
2788
|
+
|
2349
2789
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2350
2790
|
# Data remains in the current packet
|
2351
2791
|
#
|
2352
2792
|
Socket::MSG_RCVMORE: Integer
|
2793
|
+
Socket::MSG_RST: Integer
|
2353
2794
|
|
2354
2795
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2355
2796
|
# Send the packet in so_temp
|
2356
2797
|
#
|
2357
2798
|
Socket::MSG_SEND: Integer
|
2799
|
+
Socket::MSG_SYN: Integer
|
2358
2800
|
|
2359
2801
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2360
2802
|
# Data discarded before delivery
|
@@ -2401,11 +2843,36 @@ Socket::NI_NUMERICHOST: Integer
|
|
2401
2843
|
#
|
2402
2844
|
Socket::NI_NUMERICSERV: Integer
|
2403
2845
|
|
2846
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2847
|
+
# Interface to kernel crypto API
|
2848
|
+
#
|
2849
|
+
Socket::PF_ALG: Integer
|
2850
|
+
|
2404
2851
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2405
2852
|
# AppleTalk protocol
|
2406
2853
|
#
|
2407
2854
|
Socket::PF_APPLETALK: Integer
|
2408
2855
|
|
2856
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2857
|
+
# Asynchronous Transfer Mode
|
2858
|
+
#
|
2859
|
+
Socket::PF_ATM: Integer
|
2860
|
+
|
2861
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2862
|
+
# AX.25 protocol
|
2863
|
+
#
|
2864
|
+
Socket::PF_AX25: Integer
|
2865
|
+
|
2866
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2867
|
+
# Bluetooth low-level socket protocol
|
2868
|
+
#
|
2869
|
+
Socket::PF_BLUETOOTH: Integer
|
2870
|
+
|
2871
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2872
|
+
# Controller Area Network automotive bus protocol
|
2873
|
+
#
|
2874
|
+
Socket::PF_CAN: Integer
|
2875
|
+
|
2409
2876
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2410
2877
|
# CCITT (now ITU-T) protocols
|
2411
2878
|
#
|
@@ -2431,6 +2898,16 @@ Socket::PF_COIP: Integer
|
|
2431
2898
|
#
|
2432
2899
|
Socket::PF_DATAKIT: Integer
|
2433
2900
|
|
2901
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2902
|
+
# DECnet protocol
|
2903
|
+
#
|
2904
|
+
Socket::PF_DEC: Integer
|
2905
|
+
|
2906
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2907
|
+
# DECnet protocol
|
2908
|
+
#
|
2909
|
+
Socket::PF_DECnet: Integer
|
2910
|
+
|
2434
2911
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2435
2912
|
# DEC Direct Data Link Interface protocol
|
2436
2913
|
#
|
@@ -2446,6 +2923,11 @@ Socket::PF_ECMA: Integer
|
|
2446
2923
|
#
|
2447
2924
|
Socket::PF_HYLINK: Integer
|
2448
2925
|
|
2926
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2927
|
+
# InfiniBand native addressing
|
2928
|
+
#
|
2929
|
+
Socket::PF_IB: Integer
|
2930
|
+
|
2449
2931
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2450
2932
|
# ARPANET IMP protocol
|
2451
2933
|
#
|
@@ -2476,6 +2958,11 @@ Socket::PF_ISDN: Integer
|
|
2476
2958
|
#
|
2477
2959
|
Socket::PF_ISO: Integer
|
2478
2960
|
|
2961
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2962
|
+
# KCM (kernel connection multiplexor) interface
|
2963
|
+
#
|
2964
|
+
Socket::PF_KCM: Integer
|
2965
|
+
|
2479
2966
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2480
2967
|
# Key management protocol, originally developed for usage with IPsec
|
2481
2968
|
#
|
@@ -2491,6 +2978,11 @@ Socket::PF_LAT: Integer
|
|
2491
2978
|
#
|
2492
2979
|
Socket::PF_LINK: Integer
|
2493
2980
|
|
2981
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2982
|
+
# Logical link control (IEEE 802.2 LLC) protocol
|
2983
|
+
#
|
2984
|
+
Socket::PF_LLC: Integer
|
2985
|
+
|
2494
2986
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2495
2987
|
# Host-internal protocols
|
2496
2988
|
#
|
@@ -2501,6 +2993,11 @@ Socket::PF_LOCAL: Integer
|
|
2501
2993
|
#
|
2502
2994
|
Socket::PF_MAX: Integer
|
2503
2995
|
|
2996
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2997
|
+
# Multiprotocol Label Switching
|
2998
|
+
#
|
2999
|
+
Socket::PF_MPLS: Integer
|
3000
|
+
|
2504
3001
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2505
3002
|
# Native ATM access
|
2506
3003
|
#
|
@@ -2516,6 +3013,16 @@ Socket::PF_NDRV: Integer
|
|
2516
3013
|
#
|
2517
3014
|
Socket::PF_NETBIOS: Integer
|
2518
3015
|
|
3016
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3017
|
+
# Netgraph sockets
|
3018
|
+
#
|
3019
|
+
Socket::PF_NETGRAPH: Integer
|
3020
|
+
|
3021
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3022
|
+
# Kernel user interface device
|
3023
|
+
#
|
3024
|
+
Socket::PF_NETLINK: Integer
|
3025
|
+
|
2519
3026
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2520
3027
|
# XEROX NS protocols
|
2521
3028
|
#
|
@@ -2526,6 +3033,10 @@ Socket::PF_NS: Integer
|
|
2526
3033
|
#
|
2527
3034
|
Socket::PF_OSI: Integer
|
2528
3035
|
|
3036
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3037
|
+
# Direct link-layer access
|
3038
|
+
#
|
3039
|
+
Socket::PF_PACKET: Integer
|
2529
3040
|
Socket::PF_PIP: Integer
|
2530
3041
|
|
2531
3042
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
@@ -2533,16 +3044,25 @@ Socket::PF_PIP: Integer
|
|
2533
3044
|
#
|
2534
3045
|
Socket::PF_PPP: Integer
|
2535
3046
|
|
3047
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3048
|
+
# Generic PPP transport layer, for setting up L2 tunnels (L2TP and PPPoE)
|
3049
|
+
#
|
3050
|
+
Socket::PF_PPPOX: Integer
|
3051
|
+
|
2536
3052
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2537
3053
|
# PARC Universal Packet protocol
|
2538
3054
|
#
|
2539
3055
|
Socket::PF_PUP: Integer
|
2540
3056
|
|
3057
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3058
|
+
# Reliable Datagram Sockets (RDS) protocol
|
3059
|
+
#
|
3060
|
+
Socket::PF_RDS: Integer
|
3061
|
+
|
2541
3062
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2542
3063
|
# Internal routing protocol
|
2543
3064
|
#
|
2544
3065
|
Socket::PF_ROUTE: Integer
|
2545
|
-
|
2546
3066
|
Socket::PF_RTIP: Integer
|
2547
3067
|
|
2548
3068
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
@@ -2554,9 +3074,13 @@ Socket::PF_SIP: Integer
|
|
2554
3074
|
# IBM SNA protocol
|
2555
3075
|
#
|
2556
3076
|
Socket::PF_SNA: Integer
|
2557
|
-
|
2558
3077
|
Socket::PF_SYSTEM: Integer
|
2559
3078
|
|
3079
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3080
|
+
# TIPC, "cluster domain sockets" protocol
|
3081
|
+
#
|
3082
|
+
Socket::PF_TIPC: Integer
|
3083
|
+
|
2560
3084
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2561
3085
|
# UNIX sockets
|
2562
3086
|
#
|
@@ -2567,11 +3091,32 @@ Socket::PF_UNIX: Integer
|
|
2567
3091
|
#
|
2568
3092
|
Socket::PF_UNSPEC: Integer
|
2569
3093
|
|
3094
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3095
|
+
# VSOCK (originally "VMWare VSockets") protocol for hypervisor-guest
|
3096
|
+
# communication
|
3097
|
+
#
|
3098
|
+
Socket::PF_VSOCK: Integer
|
3099
|
+
|
3100
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3101
|
+
# XDP (express data path) interface
|
3102
|
+
#
|
3103
|
+
Socket::PF_XDP: Integer
|
3104
|
+
|
2570
3105
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2571
3106
|
# eXpress Transfer Protocol
|
2572
3107
|
#
|
2573
3108
|
Socket::PF_XTP: Integer
|
2574
3109
|
|
3110
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3111
|
+
# Timestamp (bintime)
|
3112
|
+
#
|
3113
|
+
Socket::SCM_BINTIME: Integer
|
3114
|
+
|
3115
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3116
|
+
# The sender's credentials
|
3117
|
+
#
|
3118
|
+
Socket::SCM_CREDENTIALS: Integer
|
3119
|
+
|
2575
3120
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2576
3121
|
# Process credentials
|
2577
3122
|
#
|
@@ -2587,6 +3132,26 @@ Socket::SCM_RIGHTS: Integer
|
|
2587
3132
|
#
|
2588
3133
|
Socket::SCM_TIMESTAMP: Integer
|
2589
3134
|
|
3135
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3136
|
+
# Timestamp (timespec list) (Linux 2.6.30)
|
3137
|
+
#
|
3138
|
+
Socket::SCM_TIMESTAMPING: Integer
|
3139
|
+
|
3140
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3141
|
+
# Timespec (timespec)
|
3142
|
+
#
|
3143
|
+
Socket::SCM_TIMESTAMPNS: Integer
|
3144
|
+
|
3145
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3146
|
+
# User credentials
|
3147
|
+
#
|
3148
|
+
Socket::SCM_UCRED: Integer
|
3149
|
+
|
3150
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3151
|
+
# Wifi status (Linux 3.3)
|
3152
|
+
#
|
3153
|
+
Socket::SCM_WIFI_STATUS: Integer
|
3154
|
+
|
2590
3155
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2591
3156
|
# Shut down the reading side of the socket
|
2592
3157
|
#
|
@@ -2602,11 +3167,27 @@ Socket::SHUT_RDWR: Integer
|
|
2602
3167
|
#
|
2603
3168
|
Socket::SHUT_WR: Integer
|
2604
3169
|
|
3170
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3171
|
+
# Set the close-on-exec (FD_CLOEXEC) flag on the new file descriptor.
|
3172
|
+
#
|
3173
|
+
Socket::SOCK_CLOEXEC: Integer
|
3174
|
+
|
2605
3175
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2606
3176
|
# A datagram socket provides connectionless, unreliable messaging
|
2607
3177
|
#
|
2608
3178
|
Socket::SOCK_DGRAM: Integer
|
2609
3179
|
|
3180
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3181
|
+
# Set the O_NONBLOCK file status flag on the open file description (see open(2))
|
3182
|
+
# referred to by the new file descriptor.
|
3183
|
+
#
|
3184
|
+
Socket::SOCK_NONBLOCK: Integer
|
3185
|
+
|
3186
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3187
|
+
# Device-level packet access
|
3188
|
+
#
|
3189
|
+
Socket::SOCK_PACKET: Integer
|
3190
|
+
|
2610
3191
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2611
3192
|
# A raw socket provides low-level access for direct access or implementing
|
2612
3193
|
# network protocols
|
@@ -2630,31 +3211,121 @@ Socket::SOCK_SEQPACKET: Integer
|
|
2630
3211
|
#
|
2631
3212
|
Socket::SOCK_STREAM: Integer
|
2632
3213
|
|
3214
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3215
|
+
# AppleTalk socket options
|
3216
|
+
#
|
3217
|
+
Socket::SOL_ATALK: Integer
|
3218
|
+
|
3219
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3220
|
+
# AX.25 socket options
|
3221
|
+
#
|
3222
|
+
Socket::SOL_AX25: Integer
|
3223
|
+
|
3224
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3225
|
+
# IP socket options
|
3226
|
+
#
|
3227
|
+
Socket::SOL_IP: Integer
|
3228
|
+
|
3229
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3230
|
+
# IPX socket options
|
3231
|
+
#
|
3232
|
+
Socket::SOL_IPX: Integer
|
3233
|
+
|
2633
3234
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2634
3235
|
# Socket-level options
|
2635
3236
|
#
|
2636
3237
|
Socket::SOL_SOCKET: Integer
|
2637
3238
|
|
3239
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3240
|
+
# TCP socket options
|
3241
|
+
#
|
3242
|
+
Socket::SOL_TCP: Integer
|
3243
|
+
|
3244
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3245
|
+
# UDP socket options
|
3246
|
+
#
|
3247
|
+
Socket::SOL_UDP: Integer
|
3248
|
+
|
2638
3249
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2639
3250
|
# Maximum connection requests that may be queued for a socket
|
2640
3251
|
#
|
2641
3252
|
Socket::SOMAXCONN: Integer
|
2642
3253
|
|
3254
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3255
|
+
# Background socket priority
|
3256
|
+
#
|
3257
|
+
Socket::SOPRI_BACKGROUND: Integer
|
3258
|
+
|
3259
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3260
|
+
# Interactive socket priority
|
3261
|
+
#
|
3262
|
+
Socket::SOPRI_INTERACTIVE: Integer
|
3263
|
+
|
3264
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3265
|
+
# Normal socket priority
|
3266
|
+
#
|
3267
|
+
Socket::SOPRI_NORMAL: Integer
|
3268
|
+
|
2643
3269
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2644
3270
|
# Socket has had listen() called on it
|
2645
3271
|
#
|
2646
3272
|
Socket::SO_ACCEPTCONN: Integer
|
2647
3273
|
|
3274
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3275
|
+
# There is an accept filter
|
3276
|
+
#
|
3277
|
+
Socket::SO_ACCEPTFILTER: Integer
|
3278
|
+
|
3279
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3280
|
+
# Bypass zone boundaries
|
3281
|
+
#
|
3282
|
+
Socket::SO_ALLZONES: Integer
|
3283
|
+
|
3284
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3285
|
+
# Attach an accept filter
|
3286
|
+
#
|
3287
|
+
Socket::SO_ATTACH_FILTER: Integer
|
3288
|
+
|
3289
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3290
|
+
# Only send packets from the given interface
|
3291
|
+
#
|
3292
|
+
Socket::SO_BINDTODEVICE: Integer
|
3293
|
+
|
3294
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3295
|
+
# Receive timestamp with datagrams (bintime)
|
3296
|
+
#
|
3297
|
+
Socket::SO_BINTIME: Integer
|
3298
|
+
|
3299
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3300
|
+
# Query supported BPF extensions (Linux 3.14)
|
3301
|
+
#
|
3302
|
+
Socket::SO_BPF_EXTENSIONS: Integer
|
3303
|
+
|
2648
3304
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2649
3305
|
# Permit sending of broadcast messages
|
2650
3306
|
#
|
2651
3307
|
Socket::SO_BROADCAST: Integer
|
2652
3308
|
|
3309
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3310
|
+
# Set the threshold in microseconds for low latency polling (Linux 3.11)
|
3311
|
+
#
|
3312
|
+
Socket::SO_BUSY_POLL: Integer
|
3313
|
+
|
2653
3314
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2654
3315
|
# Debug info recording
|
2655
3316
|
#
|
2656
3317
|
Socket::SO_DEBUG: Integer
|
2657
3318
|
|
3319
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3320
|
+
# Detach an accept filter
|
3321
|
+
#
|
3322
|
+
Socket::SO_DETACH_FILTER: Integer
|
3323
|
+
|
3324
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3325
|
+
# Domain given for socket() (Linux 2.6.32)
|
3326
|
+
#
|
3327
|
+
Socket::SO_DOMAIN: Integer
|
3328
|
+
|
2658
3329
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2659
3330
|
# Use interface addresses
|
2660
3331
|
#
|
@@ -2670,6 +3341,11 @@ Socket::SO_DONTTRUNC: Integer
|
|
2670
3341
|
#
|
2671
3342
|
Socket::SO_ERROR: Integer
|
2672
3343
|
|
3344
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3345
|
+
# Obtain filter set by SO_ATTACH_FILTER (Linux 3.8)
|
3346
|
+
#
|
3347
|
+
Socket::SO_GET_FILTER: Integer
|
3348
|
+
|
2673
3349
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2674
3350
|
# Keep connections alive
|
2675
3351
|
#
|
@@ -2680,16 +3356,46 @@ Socket::SO_KEEPALIVE: Integer
|
|
2680
3356
|
#
|
2681
3357
|
Socket::SO_LINGER: Integer
|
2682
3358
|
|
3359
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3360
|
+
# Lock the filter attached to a socket (Linux 3.9)
|
3361
|
+
#
|
3362
|
+
Socket::SO_LOCK_FILTER: Integer
|
3363
|
+
|
3364
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3365
|
+
# Mandatory Access Control exemption for unlabeled peers
|
3366
|
+
#
|
3367
|
+
Socket::SO_MAC_EXEMPT: Integer
|
3368
|
+
|
3369
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3370
|
+
# Set the mark for mark-based routing (Linux 2.6.25)
|
3371
|
+
#
|
3372
|
+
Socket::SO_MARK: Integer
|
3373
|
+
|
3374
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3375
|
+
# Cap the rate computed by transport layer. [bytes per second] (Linux 3.13)
|
3376
|
+
#
|
3377
|
+
Socket::SO_MAX_PACING_RATE: Integer
|
3378
|
+
|
2683
3379
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2684
3380
|
# Install socket-level Network Kernel Extension
|
2685
3381
|
#
|
2686
3382
|
Socket::SO_NKE: Integer
|
2687
3383
|
|
3384
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3385
|
+
# Set netns of a socket (Linux 3.4)
|
3386
|
+
#
|
3387
|
+
Socket::SO_NOFCS: Integer
|
3388
|
+
|
2688
3389
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2689
3390
|
# Don't SIGPIPE on EPIPE
|
2690
3391
|
#
|
2691
3392
|
Socket::SO_NOSIGPIPE: Integer
|
2692
3393
|
|
3394
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3395
|
+
# Disable checksums
|
3396
|
+
#
|
3397
|
+
Socket::SO_NO_CHECK: Integer
|
3398
|
+
|
2693
3399
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2694
3400
|
# Get first packet byte count
|
2695
3401
|
#
|
@@ -2700,11 +3406,56 @@ Socket::SO_NREAD: Integer
|
|
2700
3406
|
#
|
2701
3407
|
Socket::SO_OOBINLINE: Integer
|
2702
3408
|
|
3409
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3410
|
+
# Receive SCM_CREDENTIALS messages
|
3411
|
+
#
|
3412
|
+
Socket::SO_PASSCRED: Integer
|
3413
|
+
|
3414
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3415
|
+
# Toggle security context passing (Linux 2.6.18)
|
3416
|
+
#
|
3417
|
+
Socket::SO_PASSSEC: Integer
|
3418
|
+
|
3419
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3420
|
+
# Set the peek offset (Linux 3.4)
|
3421
|
+
#
|
3422
|
+
Socket::SO_PEEK_OFF: Integer
|
3423
|
+
|
3424
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3425
|
+
# The credentials of the foreign process connected to this socket
|
3426
|
+
#
|
3427
|
+
Socket::SO_PEERCRED: Integer
|
3428
|
+
|
3429
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3430
|
+
# Name of the connecting user
|
3431
|
+
#
|
3432
|
+
Socket::SO_PEERNAME: Integer
|
3433
|
+
|
3434
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3435
|
+
# Obtain the security credentials (Linux 2.6.2)
|
3436
|
+
#
|
3437
|
+
Socket::SO_PEERSEC: Integer
|
3438
|
+
|
3439
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3440
|
+
# The protocol-defined priority for all packets on this socket
|
3441
|
+
#
|
3442
|
+
Socket::SO_PRIORITY: Integer
|
3443
|
+
|
3444
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3445
|
+
# Protocol given for socket() (Linux 2.6.32)
|
3446
|
+
#
|
3447
|
+
Socket::SO_PROTOCOL: Integer
|
3448
|
+
|
2703
3449
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2704
3450
|
# Receive buffer size
|
2705
3451
|
#
|
2706
3452
|
Socket::SO_RCVBUF: Integer
|
2707
3453
|
|
3454
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3455
|
+
# Receive buffer size without rmem_max limit (Linux 2.6.14)
|
3456
|
+
#
|
3457
|
+
Socket::SO_RCVBUFFORCE: Integer
|
3458
|
+
|
2708
3459
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2709
3460
|
# Receive low-water mark
|
2710
3461
|
#
|
@@ -2715,6 +3466,11 @@ Socket::SO_RCVLOWAT: Integer
|
|
2715
3466
|
#
|
2716
3467
|
Socket::SO_RCVTIMEO: Integer
|
2717
3468
|
|
3469
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3470
|
+
# Receive user credentials with datagram
|
3471
|
+
#
|
3472
|
+
Socket::SO_RECVUCRED: Integer
|
3473
|
+
|
2718
3474
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2719
3475
|
# Allow local address reuse
|
2720
3476
|
#
|
@@ -2725,11 +3481,29 @@ Socket::SO_REUSEADDR: Integer
|
|
2725
3481
|
#
|
2726
3482
|
Socket::SO_REUSEPORT: Integer
|
2727
3483
|
|
3484
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3485
|
+
# Toggle cmsg for number of packets dropped (Linux 2.6.33)
|
3486
|
+
#
|
3487
|
+
Socket::SO_RXQ_OVFL: Integer
|
3488
|
+
Socket::SO_SECURITY_AUTHENTICATION: Integer
|
3489
|
+
Socket::SO_SECURITY_ENCRYPTION_NETWORK: Integer
|
3490
|
+
Socket::SO_SECURITY_ENCRYPTION_TRANSPORT: Integer
|
3491
|
+
|
3492
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3493
|
+
# Make select() detect socket error queue with errorfds (Linux 3.10)
|
3494
|
+
#
|
3495
|
+
Socket::SO_SELECT_ERR_QUEUE: Integer
|
3496
|
+
|
2728
3497
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2729
3498
|
# Send buffer size
|
2730
3499
|
#
|
2731
3500
|
Socket::SO_SNDBUF: Integer
|
2732
3501
|
|
3502
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3503
|
+
# Send buffer size without wmem_max limit (Linux 2.6.14)
|
3504
|
+
#
|
3505
|
+
Socket::SO_SNDBUFFORCE: Integer
|
3506
|
+
|
2733
3507
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2734
3508
|
# Send low-water mark
|
2735
3509
|
#
|
@@ -2745,6 +3519,16 @@ Socket::SO_SNDTIMEO: Integer
|
|
2745
3519
|
#
|
2746
3520
|
Socket::SO_TIMESTAMP: Integer
|
2747
3521
|
|
3522
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3523
|
+
# Time stamping of incoming and outgoing packets (Linux 2.6.30)
|
3524
|
+
#
|
3525
|
+
Socket::SO_TIMESTAMPING: Integer
|
3526
|
+
|
3527
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3528
|
+
# Receive nanosecond timestamp with datagrams (timespec)
|
3529
|
+
#
|
3530
|
+
Socket::SO_TIMESTAMPNS: Integer
|
3531
|
+
|
2748
3532
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2749
3533
|
# Get the socket type
|
2750
3534
|
#
|
@@ -2765,27 +3549,72 @@ Socket::SO_WANTMORE: Integer
|
|
2765
3549
|
#
|
2766
3550
|
Socket::SO_WANTOOBFLAG: Integer
|
2767
3551
|
|
3552
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3553
|
+
# Toggle cmsg for wifi status (Linux 3.3)
|
3554
|
+
#
|
3555
|
+
Socket::SO_WIFI_STATUS: Integer
|
3556
|
+
|
3557
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3558
|
+
# TCP congestion control algorithm (Linux 2.6.13, glibc 2.6)
|
3559
|
+
#
|
3560
|
+
Socket::TCP_CONGESTION: Integer
|
3561
|
+
|
3562
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3563
|
+
# TCP Cookie Transactions (Linux 2.6.33, glibc 2.18)
|
3564
|
+
#
|
3565
|
+
Socket::TCP_COOKIE_TRANSACTIONS: Integer
|
3566
|
+
|
3567
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3568
|
+
# Don't send partial frames (Linux 2.2, glibc 2.2)
|
3569
|
+
#
|
3570
|
+
Socket::TCP_CORK: Integer
|
3571
|
+
|
3572
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3573
|
+
# Don't notify a listening socket until data is ready (Linux 2.4, glibc 2.2)
|
3574
|
+
#
|
3575
|
+
Socket::TCP_DEFER_ACCEPT: Integer
|
3576
|
+
|
2768
3577
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2769
3578
|
# Reduce step of the handshake process (Linux 3.7, glibc 2.18)
|
2770
3579
|
#
|
2771
3580
|
Socket::TCP_FASTOPEN: Integer
|
2772
3581
|
|
3582
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3583
|
+
# Retrieve information about this socket (Linux 2.4, glibc 2.2)
|
3584
|
+
#
|
3585
|
+
Socket::TCP_INFO: Integer
|
3586
|
+
|
2773
3587
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2774
3588
|
# Maximum number of keepalive probes allowed before dropping a connection (Linux
|
2775
3589
|
# 2.4, glibc 2.2)
|
2776
3590
|
#
|
2777
3591
|
Socket::TCP_KEEPCNT: Integer
|
2778
3592
|
|
3593
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3594
|
+
# Idle time before keepalive probes are sent (Linux 2.4, glibc 2.2)
|
3595
|
+
#
|
3596
|
+
Socket::TCP_KEEPIDLE: Integer
|
3597
|
+
|
2779
3598
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2780
3599
|
# Time between keepalive probes (Linux 2.4, glibc 2.2)
|
2781
3600
|
#
|
2782
3601
|
Socket::TCP_KEEPINTVL: Integer
|
2783
3602
|
|
3603
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3604
|
+
# Lifetime of orphaned FIN_WAIT2 sockets (Linux 2.4, glibc 2.2)
|
3605
|
+
#
|
3606
|
+
Socket::TCP_LINGER2: Integer
|
3607
|
+
|
2784
3608
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2785
3609
|
# Set maximum segment size
|
2786
3610
|
#
|
2787
3611
|
Socket::TCP_MAXSEG: Integer
|
2788
3612
|
|
3613
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3614
|
+
# Use MD5 digests (RFC2385, Linux 2.6.20, glibc 2.7)
|
3615
|
+
#
|
3616
|
+
Socket::TCP_MD5SIG: Integer
|
3617
|
+
|
2789
3618
|
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
2790
3619
|
# Don't delay sending to coalesce packets
|
2791
3620
|
#
|
@@ -2801,6 +3630,68 @@ Socket::TCP_NOOPT: Integer
|
|
2801
3630
|
#
|
2802
3631
|
Socket::TCP_NOPUSH: Integer
|
2803
3632
|
|
3633
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3634
|
+
# Sequence of a queue for repair mode (Linux 3.5, glibc 2.18)
|
3635
|
+
#
|
3636
|
+
Socket::TCP_QUEUE_SEQ: Integer
|
3637
|
+
|
3638
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3639
|
+
# Enable quickack mode (Linux 2.4.4, glibc 2.3)
|
3640
|
+
#
|
3641
|
+
Socket::TCP_QUICKACK: Integer
|
3642
|
+
|
3643
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3644
|
+
# Repair mode (Linux 3.5, glibc 2.18)
|
3645
|
+
#
|
3646
|
+
Socket::TCP_REPAIR: Integer
|
3647
|
+
|
3648
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3649
|
+
# Options for repair mode (Linux 3.5, glibc 2.18)
|
3650
|
+
#
|
3651
|
+
Socket::TCP_REPAIR_OPTIONS: Integer
|
3652
|
+
|
3653
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3654
|
+
# Queue for repair mode (Linux 3.5, glibc 2.18)
|
3655
|
+
#
|
3656
|
+
Socket::TCP_REPAIR_QUEUE: Integer
|
3657
|
+
|
3658
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3659
|
+
# Number of SYN retransmits before a connection is dropped (Linux 2.4, glibc
|
3660
|
+
# 2.2)
|
3661
|
+
#
|
3662
|
+
Socket::TCP_SYNCNT: Integer
|
3663
|
+
|
3664
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3665
|
+
# Duplicated acknowledgments handling for thin-streams (Linux 2.6.34, glibc
|
3666
|
+
# 2.18)
|
3667
|
+
#
|
3668
|
+
Socket::TCP_THIN_DUPACK: Integer
|
3669
|
+
|
3670
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3671
|
+
# Linear timeouts for thin-streams (Linux 2.6.34, glibc 2.18)
|
3672
|
+
#
|
3673
|
+
Socket::TCP_THIN_LINEAR_TIMEOUTS: Integer
|
3674
|
+
|
3675
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3676
|
+
# TCP timestamp (Linux 3.9, glibc 2.18)
|
3677
|
+
#
|
3678
|
+
Socket::TCP_TIMESTAMP: Integer
|
3679
|
+
|
3680
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3681
|
+
# Max timeout before a TCP connection is aborted (Linux 2.6.37, glibc 2.18)
|
3682
|
+
#
|
3683
|
+
Socket::TCP_USER_TIMEOUT: Integer
|
3684
|
+
|
3685
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3686
|
+
# Clamp the size of the advertised window (Linux 2.4, glibc 2.2)
|
3687
|
+
#
|
3688
|
+
Socket::TCP_WINDOW_CLAMP: Integer
|
3689
|
+
|
3690
|
+
# <!-- rdoc-file=ext/socket/constdefs.c -->
|
3691
|
+
# Don't send partial frames (Linux 2.5.44, glibc 2.11)
|
3692
|
+
#
|
3693
|
+
Socket::UDP_CORK: Integer
|
3694
|
+
|
2804
3695
|
# <!-- rdoc-file=ext/socket/ifaddr.c -->
|
2805
3696
|
# Socket::Ifaddr represents a result of getifaddrs() function.
|
2806
3697
|
#
|