mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
Improve socket option story
This commit is contained in:
parent
b14dddcc18
commit
bb7942e557
101 changed files with 208 additions and 567 deletions
|
@ -21,6 +21,7 @@ extern const struct MagnumStr kErrnoDocs[];
|
|||
extern const struct MagnumStr kErrnoNames[];
|
||||
extern const struct MagnumStr kFcntlCmds[];
|
||||
extern const struct MagnumStr kIpOptnames[];
|
||||
extern const struct MagnumStr kIpv6Optnames[];
|
||||
extern const struct MagnumStr kOpenFlags[];
|
||||
extern const struct MagnumStr kRlimitNames[];
|
||||
extern const struct MagnumStr kSignalNames[];
|
||||
|
|
|
@ -125,6 +125,8 @@ o/$(MODE)/libc/intrin/kerrnodocs.o: libc/intrin/kerrnodocs.S
|
|||
@$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(OUTPUT_OPTION) -c $<
|
||||
o/$(MODE)/libc/intrin/kipoptnames.o: libc/intrin/kipoptnames.S
|
||||
@$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(OUTPUT_OPTION) -c $<
|
||||
o/$(MODE)/libc/intrin/kipv6optnames.o: libc/intrin/kipv6optnames.S
|
||||
@$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(OUTPUT_OPTION) -c $<
|
||||
o/$(MODE)/libc/intrin/kerrnonames.o: libc/intrin/kerrnonames.S
|
||||
@$(COMPILE) -AOBJECTIFY.S $(OBJECTIFY.S) $(OUTPUT_OPTION) -c $<
|
||||
o/$(MODE)/libc/intrin/kfcntlcmds.o: libc/intrin/kfcntlcmds.S
|
||||
|
|
|
@ -49,6 +49,14 @@ const char *_DescribeSockOptname(char buf[32], int l, int x) {
|
|||
*p++ = '_';
|
||||
*p = 0;
|
||||
ms = kIpOptnames;
|
||||
} else if (l == SOL_IPV6) {
|
||||
*p++ = 'I';
|
||||
*p++ = 'P';
|
||||
*p++ = 'V';
|
||||
*p++ = '6';
|
||||
*p++ = '_';
|
||||
*p = 0;
|
||||
ms = kIpv6Optnames;
|
||||
} else {
|
||||
ms = 0;
|
||||
}
|
||||
|
|
|
@ -32,9 +32,18 @@
|
|||
.underrun
|
||||
kIpOptnames:
|
||||
.e IP_TOS,"TOS" // int
|
||||
.e IP_MTU,"MTU" // int
|
||||
.e IP_TTL,"TTL" // int
|
||||
.e IP_MTU,"MTU" // int
|
||||
.e IP_HDRINCL,"HDRINCL" // bool32
|
||||
.e IP_OPTIONS,"OPTIONS"
|
||||
.e IP_RECVTTL,"RECVTTL"
|
||||
.e IP_ADD_MEMBERSHIP,"ADD_MEMBERSHIP"
|
||||
.e IP_DROP_MEMBERSHIP,"DROP_MEMBERSHIP"
|
||||
.e IP_MULTICAST_IF,"MULTICAST_IF"
|
||||
.e IP_MULTICAST_LOOP,"MULTICAST_LOOP"
|
||||
.e IP_MULTICAST_TTL,"MULTICAST_TTL"
|
||||
.e IP_PKTINFO,"PKTINFO"
|
||||
.e IP_RECVTOS,"RECVTOS"
|
||||
.long MAGNUM_TERMINATOR
|
||||
.endobj kIpOptnames,globl,hidden
|
||||
.overrun
|
||||
|
|
52
libc/intrin/kipv6optnames.S
Normal file
52
libc/intrin/kipv6optnames.S
Normal file
|
@ -0,0 +1,52 @@
|
|||
/*-*- mode:unix-assembly; indent-tabs-mode:t; tab-width:8; coding:utf-8 -*-│
|
||||
│ vi: set noet ft=asm ts=8 sw=8 fenc=utf-8 :vi │
|
||||
╞══════════════════════════════════════════════════════════════════════════════╡
|
||||
│ Copyright 2021 Justine Alexandra Roberts Tunney │
|
||||
│ │
|
||||
│ Permission to use, copy, modify, and/or distribute this software for │
|
||||
│ any purpose with or without fee is hereby granted, provided that the │
|
||||
│ above copyright notice and this permission notice appear in all copies. │
|
||||
│ │
|
||||
│ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL │
|
||||
│ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED │
|
||||
│ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE │
|
||||
│ AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL │
|
||||
│ DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR │
|
||||
│ PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER │
|
||||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/fmt/magnumstrs.internal.h"
|
||||
#include "libc/macros.h"
|
||||
|
||||
.macro .e e s
|
||||
.long \e - kIpv6Optnames
|
||||
.long .L\@ - kIpv6Optnames
|
||||
.rodata.str1.1
|
||||
.L\@: .string "\s"
|
||||
.previous
|
||||
.endm
|
||||
|
||||
.section .rodata
|
||||
.balign 4
|
||||
.underrun
|
||||
kIpv6Optnames:
|
||||
.e IPV6_V6ONLY,"V6ONLY"
|
||||
.e IPV6_CHECKSUM,"CHECKSUM"
|
||||
.e IPV6_JOIN_GROUP,"JOIN_GROUP"
|
||||
.e IPV6_LEAVE_GROUP,"LEAVE_GROUP"
|
||||
.e IPV6_MULTICAST_HOPS,"MULTICAST_HOPS"
|
||||
.e IPV6_MULTICAST_IF,"MULTICAST_IF"
|
||||
.e IPV6_MULTICAST_LOOP,"MULTICAST_LOOP"
|
||||
.e IPV6_UNICAST_HOPS,"UNICAST_HOPS"
|
||||
.e IPV6_RECVTCLASS,"RECVTCLASS"
|
||||
.e IPV6_TCLASS,"TCLASS"
|
||||
.e IPV6_DONTFRAG,"DONTFRAG"
|
||||
.e IPV6_HOPLIMIT,"HOPLIMIT"
|
||||
.e IPV6_HOPOPTS,"HOPOPTS"
|
||||
.e IPV6_PKTINFO,"PKTINFO"
|
||||
.e IPV6_RECVRTHDR,"RECVRTHDR"
|
||||
.e IPV6_RTHDR,"RTHDR"
|
||||
.long MAGNUM_TERMINATOR
|
||||
.endobj kIpv6Optnames,globl,hidden
|
||||
.overrun
|
|
@ -47,6 +47,7 @@ kSockOptnames:
|
|||
.e SO_RCVLOWAT,"RCVLOWAT" // int
|
||||
.e SO_SNDLOWAT,"SNDLOWAT" // int
|
||||
.e SO_ERROR,"ERROR" // int
|
||||
.e SO_OOBINLINE,"OOBINLINE" // int
|
||||
.long MAGNUM_TERMINATOR
|
||||
.endobj kSockOptnames,globl,hidden
|
||||
.overrun
|
||||
|
|
|
@ -651,14 +651,14 @@ syscon so SO_DEBUG 1 1 1 1 1 1 1 1 # debugging is enabled; co
|
|||
syscon so SO_TYPE 3 3 0x1008 0x1008 0x1008 0x1008 0x1008 0x1008 # bsd consensus
|
||||
syscon so SO_ERROR 4 4 0x1007 0x1007 0x1007 0x1007 0x1007 0x1007 # takes int pointer and stores/clears the pending error code; bsd consensus
|
||||
syscon so SO_ACCEPTCONN 30 30 2 2 2 2 2 2 # takes int pointer and stores boolean indicating if listen() was called on fd; bsd consensus
|
||||
syscon so SO_REUSEPORT 15 15 0x0200 0x0200 0x0200 0x0200 0x0200 0 # bsd consensus; no windows support
|
||||
syscon so SO_REUSEPORT 15 15 512 512 512 512 512 0 # bsd consensus; no windows support
|
||||
syscon so SO_REUSEADDR 2 2 4 4 4 4 4 -5 # SO_EXCLUSIVEADDRUSE on Windows (see third_party/python/Lib/test/support/__init__.py)
|
||||
syscon so SO_KEEPALIVE 9 9 8 8 8 8 8 8 # bsd consensus
|
||||
syscon so SO_DONTROUTE 5 5 0x10 0x10 0x10 0x10 0x10 0x10 # bsd consensus
|
||||
syscon so SO_BROADCAST 6 6 0x20 0x20 0x20 0x20 0x20 0x20 # socket is configured for broadcast messages; bsd consensus
|
||||
syscon so SO_USELOOPBACK 0 0 0x40 0x40 0x40 0x40 0x40 0x40 # bsd consensus
|
||||
syscon so SO_LINGER 13 13 0x1080 0x1080 0x80 0x80 0x80 0x80 # takes struct linger; causes close() return value to actually mean something; SO_LINGER_SEC on XNU; bsd consensus
|
||||
syscon so SO_OOBINLINE 10 10 0x0100 0x0100 0x0100 0x0100 0x0100 0x0100 # bsd consensus
|
||||
syscon so SO_DONTROUTE 5 5 16 16 16 16 16 16 # bsd consensus
|
||||
syscon so SO_BROADCAST 6 6 32 32 32 32 32 32 # socket is configured for broadcast messages; bsd consensus
|
||||
syscon so SO_USELOOPBACK 0 0 64 64 64 64 64 64 # bsd consensus
|
||||
syscon so SO_LINGER 13 13 4224 4224 128 128 128 128 # takes struct linger; causes close() return value to actually mean something; SO_LINGER_SEC on XNU; bsd consensus
|
||||
syscon so SO_OOBINLINE 10 10 256 256 256 256 256 256 # bsd consensus
|
||||
syscon so SO_SNDBUF 7 7 0x1001 0x1001 0x1001 0x1001 0x1001 0x1001 # bsd consensus
|
||||
syscon so SO_RCVBUF 8 8 0x1002 0x1002 0x1002 0x1002 0x1002 0x1002 # bsd consensus
|
||||
syscon so SO_RCVTIMEO 20 20 0x1006 0x1006 0x1006 0x1006 0x100c 0x1006 # recv timeout; takes struct timeval (overrides SA_RESTART restoring EINTR behavior on recv/send/connect/accept/etc.; bsd consensus)
|
||||
|
@ -705,6 +705,79 @@ syscon tcp TCP_REPAIR_OPTIONS 22 22 0 0 0 0 0 0 # what is it
|
|||
syscon tcp TCP_REPAIR_QUEUE 20 20 0 0 0 0 0 0 # what is it
|
||||
syscon tcp TCP_THIN_LINEAR_TIMEOUTS 16 16 0 0 0 0 0 0 # what is it
|
||||
|
||||
# IPPROTO_IP (or SOL_IP) socket options
|
||||
#
|
||||
# group name GNU/Systemd GNU/Systemd (Aarch64) XNU's Not UNIX! MacOS (Arm64) FreeBSD OpenBSD NetBSD The New Technology Commentary
|
||||
syscon ip IP_TOS 1 1 3 3 3 3 3 3 # bsd consensus
|
||||
syscon ip IP_TTL 2 2 4 4 4 4 4 4 # bsd consensus
|
||||
syscon ip IP_MTU 14 14 0 0 0 0 0 73 # bsd consensus
|
||||
syscon ip IP_HDRINCL 3 3 2 2 2 2 2 2 # bsd consensus
|
||||
syscon ip IP_OPTIONS 4 4 1 1 1 1 1 1 # bsd consensus
|
||||
syscon ip IP_RECVTTL 12 12 24 24 65 31 23 21
|
||||
syscon ip IP_ADD_MEMBERSHIP 35 35 12 12 12 12 12 12 # bsd consensus
|
||||
syscon ip IP_DROP_MEMBERSHIP 36 36 13 13 13 13 13 13 # bsd consensus
|
||||
syscon ip IP_MULTICAST_IF 32 32 9 9 9 9 9 9 # bsd consensus
|
||||
syscon ip IP_MULTICAST_LOOP 34 34 11 11 11 11 11 11 # bsd consensus
|
||||
syscon ip IP_MULTICAST_TTL 33 33 10 10 10 10 10 10 # bsd consensus
|
||||
syscon ip IP_PKTINFO 8 8 26 26 0 0 25 19
|
||||
syscon ip IP_RECVTOS 13 13 0 0 68 0 0 40
|
||||
|
||||
# IPPROTO_IPV6 (or SOL_IPV6) socket options
|
||||
#
|
||||
# group name GNU/Systemd GNU/Systemd (Aarch64) XNU's Not UNIX! MacOS (Arm64) FreeBSD OpenBSD NetBSD The New Technology Commentary
|
||||
syscon ipv6 IPV6_V6ONLY 26 26 27 27 27 27 27 27 # bsd consensus
|
||||
syscon ipv6 IPV6_CHECKSUM 7 7 26 26 26 26 26 26 # bsd consensus
|
||||
syscon ipv6 IPV6_JOIN_GROUP 20 20 12 12 12 12 12 12 # bsd consensus
|
||||
syscon ipv6 IPV6_LEAVE_GROUP 21 21 13 13 13 13 13 13 # bsd consensus
|
||||
syscon ipv6 IPV6_MULTICAST_HOPS 18 18 10 10 10 10 10 10 # bsd consensus
|
||||
syscon ipv6 IPV6_MULTICAST_IF 17 17 9 9 9 9 9 9 # bsd consensus
|
||||
syscon ipv6 IPV6_MULTICAST_LOOP 19 19 11 11 11 11 11 11 # bsd consensus
|
||||
syscon ipv6 IPV6_UNICAST_HOPS 16 16 4 4 4 4 4 4 # bsd consensus
|
||||
syscon ipv6 IPV6_RECVTCLASS 66 66 35 35 57 57 57 40
|
||||
syscon ipv6 IPV6_TCLASS 67 67 36 36 61 61 61 39
|
||||
syscon ipv6 IPV6_DONTFRAG 62 62 0 0 62 62 62 14
|
||||
syscon ipv6 IPV6_HOPLIMIT 52 52 0 0 47 47 47 21
|
||||
syscon ipv6 IPV6_HOPOPTS 54 54 0 0 49 49 49 1
|
||||
syscon ipv6 IPV6_PKTINFO 50 50 0 0 46 46 46 19
|
||||
syscon ipv6 IPV6_RECVRTHDR 56 56 0 0 38 38 38 38
|
||||
syscon ipv6 IPV6_RTHDR 57 57 0 0 51 51 51 32
|
||||
|
||||
# IPPROTO_ICMPV6 (or SOL_ICMPV6) socket options
|
||||
#
|
||||
# group name GNU/Systemd GNU/Systemd (Aarch64) XNU's Not UNIX! MacOS (Arm64) FreeBSD OpenBSD NetBSD The New Technology Commentary
|
||||
syscon icmp6 ICMP6_DST_UNREACH_NOROUTE 0 0 0 0 0 0 0 0 # consensus
|
||||
syscon icmp6 ICMP6_PARAMPROB_HEADER 0 0 0 0 0 0 0 0 # consensus
|
||||
syscon icmp6 ICMP6_TIME_EXCEED_TRANSIT 0 0 0 0 0 0 0 0 # consensus
|
||||
syscon icmp6 ICMP6_DST_UNREACH_ADMIN 1 1 1 1 1 1 1 1 # consensus
|
||||
syscon icmp6 ICMP6_PARAMPROB_NEXTHEADER 1 1 1 1 1 1 1 1 # consensus
|
||||
syscon icmp6 ICMP6_TIME_EXCEED_REASSEMBLY 1 1 1 1 1 1 1 1 # consensus
|
||||
syscon icmp6 ICMP6_DST_UNREACH 1 1 1 1 1 1 1 0 # unix consensus
|
||||
syscon icmp6 ICMP6_FILTER 1 1 18 18 18 18 18 0 # bsd consensus
|
||||
syscon icmp6 ICMP6_DST_UNREACH_BEYONDSCOPE 2 2 2 2 2 2 2 2 # consensus
|
||||
syscon icmp6 ICMP6_PARAMPROB_OPTION 2 2 2 2 2 2 2 2 # consensus
|
||||
syscon icmp6 ICMP6_PACKET_TOO_BIG 2 2 2 2 2 2 2 0 # unix consensus
|
||||
syscon icmp6 ICMP6_DST_UNREACH_ADDR 3 3 3 3 3 3 3 3 # consensus
|
||||
syscon icmp6 ICMP6_TIME_EXCEEDED 3 3 3 3 3 3 3 0 # unix consensus
|
||||
syscon icmp6 ICMP6_DST_UNREACH_NOPORT 4 4 4 4 4 4 4 4 # consensus
|
||||
syscon icmp6 ICMP6_PARAM_PROB 4 4 4 4 4 4 4 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_FLAGS_PREVDONE 8 8 8 8 8 8 8 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_FLAGS_SPECSITE 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_PCOUSE_RAFLAGS_AUTO 0x10 0x10 0x40 0x40 0x40 0x40 0x40 0 # bsd consensus
|
||||
syscon icmp6 ICMP6_RR_FLAGS_FORCEAPPLY 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_PCOUSE_RAFLAGS_ONLINK 0x20 0x20 0x80 0x80 0x80 0x80 0x80 0 # bsd consensus
|
||||
syscon icmp6 ICMP6_RR_FLAGS_REQRESULT 0x40 0x40 0x40 0x40 0x40 0x40 0x40 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME 0x40 0x40 0x40 0x40 0x40 0x40 0x40 0 # unix consensus
|
||||
syscon icmp6 ICMP6_INFOMSG_MASK 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0x80 # consensus
|
||||
syscon icmp6 ICMP6_ECHO_REQUEST 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_FLAGS_TEST 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0 # unix consensus
|
||||
syscon icmp6 ICMP6_ECHO_REPLY 129 129 129 129 129 129 129 0 # unix consensus
|
||||
syscon icmp6 ICMP6_ROUTER_RENUMBERING 138 138 138 138 138 138 138 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_RESULT_FLAGS_FORBIDDEN 0x0100 0x0100 0x0100 0x0100 0x0100 0x0100 0x0100 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_RESULT_FLAGS_OOB 0x0200 0x0200 0x0200 0x0200 0x0200 0x0200 0x0200 0 # unix consensus
|
||||
|
||||
syscon ipport IPPORT_USERRESERVED 5000 5000 5000 5000 5000 49151 5000 5000
|
||||
|
||||
# https://blog.cloudflare.com/know-your-scm_rights/
|
||||
#
|
||||
# group name GNU/Systemd GNU/Systemd (Aarch64) XNU's Not UNIX! MacOS (Arm64) FreeBSD OpenBSD NetBSD The New Technology Commentary
|
||||
|
@ -715,60 +788,6 @@ syscon scm SCM_TIMESTAMPING 37 37 0 0 0 0 0 0
|
|||
syscon scm SCM_TIMESTAMPNS 35 35 0 0 0 0 0 0
|
||||
syscon scm SCM_WIFI_STATUS 41 41 0 0 0 0 0 0
|
||||
|
||||
# group name GNU/Systemd GNU/Systemd (Aarch64) XNU's Not UNIX! MacOS (Arm64) FreeBSD OpenBSD NetBSD The New Technology Commentary
|
||||
syscon ip IP_TOS 1 1 3 3 3 3 3 3 # bsd consensus
|
||||
syscon ip IP_TTL 2 2 4 4 4 4 4 4 # bsd consensus
|
||||
syscon ip IP_HDRINCL 3 3 2 2 2 2 2 2 # bsd consensus
|
||||
syscon ip IP_DEFAULT_MULTICAST_LOOP 1 1 1 1 1 1 1 1 # consensus
|
||||
syscon ip IP_DEFAULT_MULTICAST_TTL 1 1 1 1 1 1 1 1 # consensus
|
||||
syscon ip IP_PMTUDISC_DONT 0 0 0 0 0 0 0 0 # consensus
|
||||
syscon ip IP_MAX_MEMBERSHIPS 20 20 0x0fff 0x0fff 0x0fff 0x0fff 0x0fff 20 # bsd consensus
|
||||
syscon ip IP_OPTIONS 4 4 1 1 1 1 1 1 # bsd consensus
|
||||
syscon ip IP_RECVTTL 12 12 24 24 65 31 23 21
|
||||
syscon ip IP_ADD_MEMBERSHIP 35 35 12 12 12 12 12 12 # bsd consensus
|
||||
syscon ip IP_DROP_MEMBERSHIP 36 36 13 13 13 13 13 13 # bsd consensus
|
||||
syscon ip IP_MULTICAST_IF 0x20 0x20 9 9 9 9 9 9 # bsd consensus
|
||||
syscon ip IP_MULTICAST_LOOP 34 34 11 11 11 11 11 11 # bsd consensus
|
||||
syscon ip IP_MULTICAST_TTL 33 33 10 10 10 10 10 10 # bsd consensus
|
||||
syscon ip IP_RECVOPTS 6 6 5 5 5 5 5 0 # bsd consensus
|
||||
syscon ip IP_RECVRETOPTS 7 7 6 6 6 6 6 0 # bsd consensus
|
||||
syscon ip IP_RECVDSTADDR 0 0 7 7 7 7 7 0 # bsd consensus
|
||||
syscon ip IP_RETOPTS 7 7 8 8 8 8 8 0 # bsd consensus
|
||||
syscon ip IP_ADD_SOURCE_MEMBERSHIP 39 39 70 70 70 0 0 15
|
||||
syscon ip IP_BLOCK_SOURCE 38 38 72 72 72 0 0 17
|
||||
syscon ip IP_DROP_SOURCE_MEMBERSHIP 40 40 71 71 71 0 0 16
|
||||
syscon ip IP_UNBLOCK_SOURCE 37 37 73 73 73 0 0 18
|
||||
syscon ip IP_IPSEC_POLICY 0x10 0x10 21 21 21 0 0 0
|
||||
syscon ip IP_MINTTL 21 21 0 0 66 32 24 0 # minimum ttl for packet or drop
|
||||
syscon ip IP_MSFILTER 41 41 74 74 74 0 0 0
|
||||
syscon ip IP_PKTINFO 8 8 26 26 0 0 25 19
|
||||
syscon ip IP_RECVTOS 13 13 0 0 68 0 0 40
|
||||
syscon ip IP_MTU 14 14 0 0 0 0 0 73 # bsd consensus
|
||||
syscon ip IP_MTU_DISCOVER 10 10 0 0 0 0 0 71 # bsd consensus
|
||||
syscon ip IP_RECVERR 11 11 0 0 0 0 0 75 # bsd consensus
|
||||
syscon ip IP_UNICAST_IF 50 50 0 0 0 0 0 31 # bsd consensus
|
||||
syscon ip IP_ORIGDSTADDR 20 20 0 0 27 0 0 0
|
||||
syscon ip IP_RECVORIGDSTADDR 20 20 0 0 27 0 0 0
|
||||
syscon ip IP_BIND_ADDRESS_NO_PORT 24 24 0 0 0 0 0 0
|
||||
syscon ip IP_CHECKSUM 23 23 0 0 0 0 0 0
|
||||
syscon ip IP_FREEBIND 15 15 0 0 0 0 0 0
|
||||
syscon ip IP_MULTICAST_ALL 49 49 0 0 0 0 0 0
|
||||
syscon ip IP_NODEFRAG 22 22 0 0 0 0 0 0
|
||||
syscon ip IP_PASSSEC 18 18 0 0 0 0 0 0
|
||||
syscon ip IP_PKTOPTIONS 9 9 0 0 0 0 0 0
|
||||
syscon ip IP_PMTUDISC 10 10 0 0 0 0 0 0
|
||||
syscon ip IP_PMTUDISC_DO 2 2 0 0 0 0 0 0
|
||||
syscon ip IP_PMTUDISC_INTERFACE 4 4 0 0 0 0 0 0
|
||||
syscon ip IP_PMTUDISC_OMIT 5 5 0 0 0 0 0 0
|
||||
syscon ip IP_PMTUDISC_PROBE 3 3 0 0 0 0 0 0
|
||||
syscon ip IP_PMTUDISC_WANT 1 1 0 0 0 0 0 0
|
||||
syscon ip IP_ROUTER_ALERT 5 5 0 0 0 0 0 0
|
||||
syscon ip IP_TRANSPARENT 19 19 0 0 0 0 0 0
|
||||
syscon ip IP_XFRM_POLICY 17 17 0 0 0 0 0 0
|
||||
syscon ip INET_ADDRSTRLEN 0x10 0x10 0x10 0x10 0x10 0x10 0x10 22 # unix consensus
|
||||
|
||||
syscon ipport IPPORT_USERRESERVED 5000 5000 5000 5000 5000 49151 5000 5000
|
||||
|
||||
# ptrace() codes
|
||||
#
|
||||
# group name GNU/Systemd GNU/Systemd (Aarch64) XNU's Not UNIX! MacOS (Arm64) FreeBSD OpenBSD NetBSD The New Technology Commentary
|
||||
|
@ -1944,100 +1963,6 @@ syscon junkerr EKEYREJECTED 129 129 -1 -1 -1 -1 -1 -1
|
|||
syscon junkerr ERFKILL 132 132 -1 -1 -1 -1 -1 -1
|
||||
syscon junkerr EHWPOISON 133 133 -1 -1 -1 -1 -1 -1
|
||||
|
||||
# arpanet fork combating human-induced exhaustion of our ipv4 address space
|
||||
#
|
||||
# group name GNU/Systemd GNU/Systemd (Aarch64) XNU's Not UNIX! MacOS (Arm64) FreeBSD OpenBSD NetBSD The New Technology Commentary
|
||||
syscon ipv6 IPV6_PMTUDISC_DONT 0 0 0 0 0 0 0 0 # consensus
|
||||
syscon ipv6 IPV6_RTHDR_LOOSE 0 0 0 0 0 0 0 0 # consensus
|
||||
syscon ipv6 IPV6_RTHDR_TYPE_0 0 0 0 0 0 0 0 0 # consensus
|
||||
syscon ipv6 IPV6_CHECKSUM 7 7 26 26 26 26 26 26 # bsd consensus
|
||||
syscon ipv6 IPV6_JOIN_GROUP 20 20 12 12 12 12 12 12 # bsd consensus
|
||||
syscon ipv6 IPV6_LEAVE_GROUP 21 21 13 13 13 13 13 13 # bsd consensus
|
||||
syscon ipv6 IPV6_MULTICAST_HOPS 18 18 10 10 10 10 10 10 # bsd consensus
|
||||
syscon ipv6 IPV6_MULTICAST_IF 17 17 9 9 9 9 9 9 # bsd consensus
|
||||
syscon ipv6 IPV6_MULTICAST_LOOP 19 19 11 11 11 11 11 11 # bsd consensus
|
||||
syscon ipv6 IPV6_UNICAST_HOPS 0x10 0x10 4 4 4 4 4 4 # bsd consensus
|
||||
syscon ipv6 IPV6_V6ONLY 26 26 27 27 27 27 27 27 # bsd consensus
|
||||
syscon ipv6 IPV6_RECVTCLASS 66 66 35 35 57 57 57 40
|
||||
syscon ipv6 IPV6_TCLASS 67 67 36 36 61 61 61 39
|
||||
syscon ipv6 IPV6_DONTFRAG 62 62 0 0 62 62 62 14
|
||||
syscon ipv6 IPV6_HOPLIMIT 52 52 0 0 47 47 47 21
|
||||
syscon ipv6 IPV6_HOPOPTS 54 54 0 0 49 49 49 1
|
||||
syscon ipv6 IPV6_PKTINFO 50 50 0 0 46 46 46 19
|
||||
syscon ipv6 IPV6_RECVRTHDR 56 56 0 0 38 38 38 38
|
||||
syscon ipv6 IPV6_RTHDR 57 57 0 0 51 51 51 0x20
|
||||
syscon ipv6 IPV6_DSTOPTS 59 59 0 0 50 50 50 0
|
||||
syscon ipv6 IPV6_IPSEC_POLICY 34 34 28 28 28 0 0 0
|
||||
syscon ipv6 IPV6_NEXTHOP 9 9 0 0 48 48 48 0
|
||||
syscon ipv6 IPV6_PATHMTU 61 61 0 0 44 44 44 0
|
||||
syscon ipv6 IPV6_RECVDSTOPTS 58 58 0 0 40 40 40 0
|
||||
syscon ipv6 IPV6_RECVHOPLIMIT 51 51 0 0 37 37 37 0
|
||||
syscon ipv6 IPV6_RECVHOPOPTS 53 53 0 0 39 39 39 0
|
||||
syscon ipv6 IPV6_RECVPATHMTU 60 60 0 0 43 43 43 0
|
||||
syscon ipv6 IPV6_RECVPKTINFO 49 49 0 0 36 36 36 0
|
||||
syscon ipv6 IPV6_RTHDRDSTOPTS 55 55 0 0 35 35 35 0
|
||||
syscon ipv6 IPV6_RTHDR_STRICT 1 1 1 1 1 0 0 0
|
||||
syscon ipv6 IPV6_ADD_MEMBERSHIP 20 20 0 0 0 0 0 12 # bsd consensus
|
||||
syscon ipv6 IPV6_DROP_MEMBERSHIP 21 21 0 0 0 0 0 13 # bsd consensus
|
||||
syscon ipv6 IPV6_HDRINCL 36 36 0 0 0 0 0 2 # bsd consensus
|
||||
syscon ipv6 IPV6_MTU 24 24 0 0 0 0 0 72 # bsd consensus
|
||||
syscon ipv6 IPV6_MTU_DISCOVER 23 23 0 0 0 0 0 71 # bsd consensus
|
||||
syscon ipv6 IPV6_RECVERR 25 25 0 0 0 0 0 75 # bsd consensus
|
||||
syscon ipv6 IPV6_2292DSTOPTS 4 4 23 23 0 0 0 0
|
||||
syscon ipv6 IPV6_2292HOPLIMIT 8 8 20 20 0 0 0 0
|
||||
syscon ipv6 IPV6_2292HOPOPTS 3 3 22 22 0 0 0 0
|
||||
syscon ipv6 IPV6_2292PKTINFO 2 2 19 19 0 0 0 0
|
||||
syscon ipv6 IPV6_2292PKTOPTIONS 6 6 25 25 0 0 0 0
|
||||
syscon ipv6 IPV6_2292RTHDR 5 5 24 24 0 0 0 0
|
||||
syscon ipv6 IPV6_AUTOFLOWLABEL 0 0 0 0 59 59 59 0
|
||||
syscon ipv6 IPV6_ADDRFORM 1 1 0 0 0 0 0 0
|
||||
syscon ipv6 IPV6_AUTHHDR 10 10 0 0 0 0 0 0
|
||||
syscon ipv6 IPV6_JOIN_ANYCAST 27 27 0 0 0 0 0 0
|
||||
syscon ipv6 IPV6_LEAVE_ANYCAST 28 28 0 0 0 0 0 0
|
||||
syscon ipv6 IPV6_PMTUDISC_DO 2 2 0 0 0 0 0 0
|
||||
syscon ipv6 IPV6_PMTUDISC_INTERFACE 4 4 0 0 0 0 0 0
|
||||
syscon ipv6 IPV6_PMTUDISC_OMIT 5 5 0 0 0 0 0 0
|
||||
syscon ipv6 IPV6_PMTUDISC_PROBE 3 3 0 0 0 0 0 0
|
||||
syscon ipv6 IPV6_PMTUDISC_WANT 1 1 0 0 0 0 0 0
|
||||
syscon ipv6 IPV6_ROUTER_ALERT 22 22 0 0 0 0 0 0
|
||||
syscon ipv6 IPV6_RXDSTOPTS 59 59 0 0 0 0 0 0
|
||||
syscon ipv6 IPV6_RXHOPOPTS 54 54 0 0 0 0 0 0
|
||||
syscon ipv6 IPV6_XFRM_POLICY 35 35 0 0 0 0 0 0
|
||||
syscon ipv6 IPV6_MINHOPCOUNT 0 0 0 0 0 65 65 0
|
||||
syscon ipv6 IPV6_ORIGDSTADDR 0 0 0 0 72 0 0 0
|
||||
syscon ipv6 IPV6_RECVORIGDSTADDR 0 0 0 0 72 0 0 0
|
||||
syscon ipv6 INET6_ADDRSTRLEN 46 46 46 46 46 46 46 65 # unix consensus
|
||||
syscon icmp6 ICMP6_DST_UNREACH_NOROUTE 0 0 0 0 0 0 0 0 # consensus
|
||||
syscon icmp6 ICMP6_PARAMPROB_HEADER 0 0 0 0 0 0 0 0 # consensus
|
||||
syscon icmp6 ICMP6_TIME_EXCEED_TRANSIT 0 0 0 0 0 0 0 0 # consensus
|
||||
syscon icmp6 ICMP6_DST_UNREACH_ADMIN 1 1 1 1 1 1 1 1 # consensus
|
||||
syscon icmp6 ICMP6_PARAMPROB_NEXTHEADER 1 1 1 1 1 1 1 1 # consensus
|
||||
syscon icmp6 ICMP6_TIME_EXCEED_REASSEMBLY 1 1 1 1 1 1 1 1 # consensus
|
||||
syscon icmp6 ICMP6_DST_UNREACH 1 1 1 1 1 1 1 0 # unix consensus
|
||||
syscon icmp6 ICMP6_FILTER 1 1 18 18 18 18 18 0 # bsd consensus
|
||||
syscon icmp6 ICMP6_DST_UNREACH_BEYONDSCOPE 2 2 2 2 2 2 2 2 # consensus
|
||||
syscon icmp6 ICMP6_PARAMPROB_OPTION 2 2 2 2 2 2 2 2 # consensus
|
||||
syscon icmp6 ICMP6_PACKET_TOO_BIG 2 2 2 2 2 2 2 0 # unix consensus
|
||||
syscon icmp6 ICMP6_DST_UNREACH_ADDR 3 3 3 3 3 3 3 3 # consensus
|
||||
syscon icmp6 ICMP6_TIME_EXCEEDED 3 3 3 3 3 3 3 0 # unix consensus
|
||||
syscon icmp6 ICMP6_DST_UNREACH_NOPORT 4 4 4 4 4 4 4 4 # consensus
|
||||
syscon icmp6 ICMP6_PARAM_PROB 4 4 4 4 4 4 4 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_FLAGS_PREVDONE 8 8 8 8 8 8 8 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_FLAGS_SPECSITE 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_PCOUSE_RAFLAGS_AUTO 0x10 0x10 0x40 0x40 0x40 0x40 0x40 0 # bsd consensus
|
||||
syscon icmp6 ICMP6_RR_FLAGS_FORCEAPPLY 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_PCOUSE_RAFLAGS_ONLINK 0x20 0x20 0x80 0x80 0x80 0x80 0x80 0 # bsd consensus
|
||||
syscon icmp6 ICMP6_RR_FLAGS_REQRESULT 0x40 0x40 0x40 0x40 0x40 0x40 0x40 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME 0x40 0x40 0x40 0x40 0x40 0x40 0x40 0 # unix consensus
|
||||
syscon icmp6 ICMP6_INFOMSG_MASK 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0x80 # consensus
|
||||
syscon icmp6 ICMP6_ECHO_REQUEST 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_FLAGS_TEST 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME 0x80 0x80 0x80 0x80 0x80 0x80 0x80 0 # unix consensus
|
||||
syscon icmp6 ICMP6_ECHO_REPLY 129 129 129 129 129 129 129 0 # unix consensus
|
||||
syscon icmp6 ICMP6_ROUTER_RENUMBERING 138 138 138 138 138 138 138 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_RESULT_FLAGS_FORBIDDEN 0x0100 0x0100 0x0100 0x0100 0x0100 0x0100 0x0100 0 # unix consensus
|
||||
syscon icmp6 ICMP6_RR_RESULT_FLAGS_OOB 0x0200 0x0200 0x0200 0x0200 0x0200 0x0200 0x0200 0 # unix consensus
|
||||
|
||||
syscon misc FIFOTYPE 54 54 54 54 54 54 54 0 # unix consensus
|
||||
syscon misc GRPQUOTA 1 1 1 1 1 1 1 0 # unix consensus
|
||||
syscon misc IF_NAMESIZE 0x10 0x10 0x10 0x10 0x10 0x10 0x10 0 # unix consensus
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,INET6_ADDRSTRLEN,46,46,46,46,46,46,46,65
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,INET_ADDRSTRLEN,0x10,0x10,0x10,0x10,0x10,0x10,0x10,22
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_2292DSTOPTS,4,4,23,23,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_2292HOPLIMIT,8,8,20,20,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_2292HOPOPTS,3,3,22,22,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_2292PKTINFO,2,2,19,19,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_2292PKTOPTIONS,6,6,25,25,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_2292RTHDR,5,5,24,24,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_ADDRFORM,1,1,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_ADD_MEMBERSHIP,20,20,0,0,0,0,0,12
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_AUTHHDR,10,10,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_AUTOFLOWLABEL,0,0,0,0,59,59,59,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_DROP_MEMBERSHIP,21,21,0,0,0,0,0,13
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_DSTOPTS,59,59,0,0,50,50,50,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_HDRINCL,36,36,0,0,0,0,0,2
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_IPSEC_POLICY,34,34,28,28,28,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_JOIN_ANYCAST,27,27,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_LEAVE_ANYCAST,28,28,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_MINHOPCOUNT,0,0,0,0,0,65,65,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_MTU,24,24,0,0,0,0,0,72
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_MTU_DISCOVER,23,23,0,0,0,0,0,71
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_NEXTHOP,9,9,0,0,48,48,48,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_ORIGDSTADDR,0,0,0,0,72,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_PATHMTU,61,61,0,0,44,44,44,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_PMTUDISC_DO,2,2,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_PMTUDISC_DONT,0,0,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_PMTUDISC_INTERFACE,4,4,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_PMTUDISC_OMIT,5,5,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_PMTUDISC_PROBE,3,3,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_PMTUDISC_WANT,1,1,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_RECVDSTOPTS,58,58,0,0,40,40,40,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_RECVERR,25,25,0,0,0,0,0,75
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_RECVHOPLIMIT,51,51,0,0,37,37,37,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_RECVHOPOPTS,53,53,0,0,39,39,39,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_RECVORIGDSTADDR,0,0,0,0,72,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_RECVPATHMTU,60,60,0,0,43,43,43,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_RECVPKTINFO,49,49,0,0,36,36,36,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_ROUTER_ALERT,22,22,0,0,0,0,0,0
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_RTHDR,57,57,0,0,51,51,51,0x20
|
||||
.syscon ipv6,IPV6_RTHDR,57,57,0,0,51,51,51,32
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_RTHDRDSTOPTS,55,55,0,0,35,35,35,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_RTHDR_LOOSE,0,0,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_RTHDR_STRICT,1,1,1,1,1,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_RTHDR_TYPE_0,0,0,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_RXDSTOPTS,59,59,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_RXHOPOPTS,54,54,0,0,0,0,0,0
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_UNICAST_HOPS,0x10,0x10,4,4,4,4,4,4
|
||||
.syscon ipv6,IPV6_UNICAST_HOPS,16,16,4,4,4,4,4,4
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ipv6,IPV6_XFRM_POLICY,35,35,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_ADD_SOURCE_MEMBERSHIP,39,39,70,70,70,0,0,15
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_BIND_ADDRESS_NO_PORT,24,24,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_BLOCK_SOURCE,38,38,72,72,72,0,0,17
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_CHECKSUM,23,23,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_DEFAULT_MULTICAST_LOOP,1,1,1,1,1,1,1,1
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_DEFAULT_MULTICAST_TTL,1,1,1,1,1,1,1,1
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_DROP_SOURCE_MEMBERSHIP,40,40,71,71,71,0,0,16
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_FREEBIND,15,15,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_IPSEC_POLICY,0x10,0x10,21,21,21,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_MAX_MEMBERSHIPS,20,20,0x0fff,0x0fff,0x0fff,0x0fff,0x0fff,20
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_MINTTL,21,21,0,0,66,32,24,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_MSFILTER,41,41,74,74,74,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_MTU_DISCOVER,10,10,0,0,0,0,0,71
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_MULTICAST_ALL,49,49,0,0,0,0,0,0
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_MULTICAST_IF,0x20,0x20,9,9,9,9,9,9
|
||||
.syscon ip,IP_MULTICAST_IF,32,32,9,9,9,9,9,9
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_NODEFRAG,22,22,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_ORIGDSTADDR,20,20,0,0,27,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_PASSSEC,18,18,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_PKTOPTIONS,9,9,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_PMTUDISC,10,10,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_PMTUDISC_DO,2,2,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_PMTUDISC_DONT,0,0,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_PMTUDISC_INTERFACE,4,4,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_PMTUDISC_OMIT,5,5,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_PMTUDISC_PROBE,3,3,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_PMTUDISC_WANT,1,1,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_RECVDSTADDR,0,0,7,7,7,7,7,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_RECVERR,11,11,0,0,0,0,0,75
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_RECVOPTS,6,6,5,5,5,5,5,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_RECVORIGDSTADDR,20,20,0,0,27,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_RECVRETOPTS,7,7,6,6,6,6,6,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_RETOPTS,7,7,8,8,8,8,8,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_ROUTER_ALERT,5,5,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_TRANSPARENT,19,19,0,0,0,0,0,0
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_UNBLOCK_SOURCE,37,37,73,73,73,0,0,18
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_UNICAST_IF,50,50,0,0,0,0,0,31
|
|
@ -1,2 +0,0 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon ip,IP_XFRM_POLICY,17,17,0,0,0,0,0,0
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon so,SO_BROADCAST,6,6,0x20,0x20,0x20,0x20,0x20,0x20
|
||||
.syscon so,SO_BROADCAST,6,6,32,32,32,32,32,32
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon so,SO_DONTROUTE,5,5,0x10,0x10,0x10,0x10,0x10,0x10
|
||||
.syscon so,SO_DONTROUTE,5,5,16,16,16,16,16,16
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon so,SO_LINGER,13,13,0x1080,0x1080,0x80,0x80,0x80,0x80
|
||||
.syscon so,SO_LINGER,13,13,4224,4224,128,128,128,128
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon so,SO_OOBINLINE,10,10,0x0100,0x0100,0x0100,0x0100,0x0100,0x0100
|
||||
.syscon so,SO_OOBINLINE,10,10,256,256,256,256,256,256
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon so,SO_REUSEPORT,15,15,0x0200,0x0200,0x0200,0x0200,0x0200,0
|
||||
.syscon so,SO_REUSEPORT,15,15,512,512,512,512,512,0
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
#include "libc/sysv/consts/syscon.internal.h"
|
||||
.syscon so,SO_USELOOPBACK,0,0,0x40,0x40,0x40,0x40,0x40,0x40
|
||||
.syscon so,SO_USELOOPBACK,0,0,64,64,64,64,64,64
|
||||
|
|
|
@ -1,37 +1,5 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_ICMP6_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_ICMP6_H_
|
||||
|
||||
#define ICMP6_DST_UNREACH ICMP6_DST_UNREACH
|
||||
#define ICMP6_DST_UNREACH_ADDR ICMP6_DST_UNREACH_ADDR
|
||||
#define ICMP6_DST_UNREACH_ADMIN ICMP6_DST_UNREACH_ADMIN
|
||||
#define ICMP6_DST_UNREACH_BEYONDSCOPE ICMP6_DST_UNREACH_BEYONDSCOPE
|
||||
#define ICMP6_DST_UNREACH_NOPORT ICMP6_DST_UNREACH_NOPORT
|
||||
#define ICMP6_DST_UNREACH_NOROUTE ICMP6_DST_UNREACH_NOROUTE
|
||||
#define ICMP6_ECHO_REPLY ICMP6_ECHO_REPLY
|
||||
#define ICMP6_ECHO_REQUEST ICMP6_ECHO_REQUEST
|
||||
#define ICMP6_FILTER ICMP6_FILTER
|
||||
#define ICMP6_INFOMSG_MASK ICMP6_INFOMSG_MASK
|
||||
#define ICMP6_PACKET_TOO_BIG ICMP6_PACKET_TOO_BIG
|
||||
#define ICMP6_PARAMPROB_HEADER ICMP6_PARAMPROB_HEADER
|
||||
#define ICMP6_PARAMPROB_NEXTHEADER ICMP6_PARAMPROB_NEXTHEADER
|
||||
#define ICMP6_PARAMPROB_OPTION ICMP6_PARAMPROB_OPTION
|
||||
#define ICMP6_PARAM_PROB ICMP6_PARAM_PROB
|
||||
#define ICMP6_ROUTER_RENUMBERING ICMP6_ROUTER_RENUMBERING
|
||||
#define ICMP6_RR_FLAGS_FORCEAPPLY ICMP6_RR_FLAGS_FORCEAPPLY
|
||||
#define ICMP6_RR_FLAGS_PREVDONE ICMP6_RR_FLAGS_PREVDONE
|
||||
#define ICMP6_RR_FLAGS_REQRESULT ICMP6_RR_FLAGS_REQRESULT
|
||||
#define ICMP6_RR_FLAGS_SPECSITE ICMP6_RR_FLAGS_SPECSITE
|
||||
#define ICMP6_RR_FLAGS_TEST ICMP6_RR_FLAGS_TEST
|
||||
#define ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME
|
||||
#define ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME
|
||||
#define ICMP6_RR_PCOUSE_RAFLAGS_AUTO ICMP6_RR_PCOUSE_RAFLAGS_AUTO
|
||||
#define ICMP6_RR_PCOUSE_RAFLAGS_ONLINK ICMP6_RR_PCOUSE_RAFLAGS_ONLINK
|
||||
#define ICMP6_RR_RESULT_FLAGS_FORBIDDEN ICMP6_RR_RESULT_FLAGS_FORBIDDEN
|
||||
#define ICMP6_RR_RESULT_FLAGS_OOB ICMP6_RR_RESULT_FLAGS_OOB
|
||||
#define ICMP6_TIME_EXCEEDED ICMP6_TIME_EXCEEDED
|
||||
#define ICMP6_TIME_EXCEED_REASSEMBLY ICMP6_TIME_EXCEED_REASSEMBLY
|
||||
#define ICMP6_TIME_EXCEED_TRANSIT ICMP6_TIME_EXCEED_TRANSIT
|
||||
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
extern const uint8_t ICMP6_DST_UNREACH;
|
||||
|
|
|
@ -2,105 +2,34 @@
|
|||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_IP_H_
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
extern const int IP_ADD_MEMBERSHIP;
|
||||
extern const int IP_ADD_SOURCE_MEMBERSHIP;
|
||||
extern const int IP_BIND_ADDRESS_NO_PORT;
|
||||
extern const int IP_BLOCK_SOURCE;
|
||||
extern const int IP_CHECKSUM;
|
||||
extern const int IP_DEFAULT_MULTICAST_LOOP;
|
||||
extern const int IP_DEFAULT_MULTICAST_TTL;
|
||||
extern const int IP_DROP_MEMBERSHIP;
|
||||
extern const int IP_DROP_SOURCE_MEMBERSHIP;
|
||||
extern const int IP_FREEBIND;
|
||||
extern const int IP_HDRINCL;
|
||||
extern const int IP_IPSEC_POLICY;
|
||||
extern const int IP_MAX_MEMBERSHIPS;
|
||||
extern const int IP_MINTTL;
|
||||
extern const int IP_MSFILTER;
|
||||
extern const int IP_TOS;
|
||||
extern const int IP_TTL;
|
||||
extern const int IP_MTU;
|
||||
extern const int IP_MTU_DISCOVER;
|
||||
extern const int IP_MULTICAST_ALL;
|
||||
extern const int IP_HDRINCL;
|
||||
extern const int IP_OPTIONS;
|
||||
extern const int IP_RECVTTL;
|
||||
extern const int IP_ADD_MEMBERSHIP;
|
||||
extern const int IP_DROP_MEMBERSHIP;
|
||||
extern const int IP_MULTICAST_IF;
|
||||
extern const int IP_MULTICAST_LOOP;
|
||||
extern const int IP_MULTICAST_TTL;
|
||||
extern const int IP_NODEFRAG;
|
||||
extern const int IP_OPTIONS;
|
||||
extern const int IP_ORIGDSTADDR;
|
||||
extern const int IP_PASSSEC;
|
||||
extern const int IP_PKTINFO;
|
||||
extern const int IP_PKTOPTIONS;
|
||||
extern const int IP_PMTUDISC;
|
||||
extern const int IP_PMTUDISC_DO;
|
||||
extern const int IP_PMTUDISC_DONT;
|
||||
extern const int IP_PMTUDISC_INTERFACE;
|
||||
extern const int IP_PMTUDISC_OMIT;
|
||||
extern const int IP_PMTUDISC_PROBE;
|
||||
extern const int IP_PMTUDISC_WANT;
|
||||
extern const int IP_RECVDSTADDR;
|
||||
extern const int IP_RECVERR;
|
||||
extern const int IP_RECVOPTS;
|
||||
extern const int IP_RECVORIGDSTADDR;
|
||||
extern const int IP_RECVRETOPTS;
|
||||
extern const int IP_RECVTOS;
|
||||
extern const int IP_RECVTTL;
|
||||
extern const int IP_RETOPTS;
|
||||
extern const int IP_ROUTER_ALERT;
|
||||
extern const int IP_TOS;
|
||||
extern const int IP_TRANSPARENT;
|
||||
extern const int IP_TTL;
|
||||
extern const int IP_UNBLOCK_SOURCE;
|
||||
extern const int IP_UNICAST_IF;
|
||||
extern const int IP_XFRM_POLICY;
|
||||
|
||||
#define IP_ADD_MEMBERSHIP IP_ADD_MEMBERSHIP
|
||||
#define IP_ADD_SOURCE_MEMBERSHIP IP_ADD_SOURCE_MEMBERSHIP
|
||||
#define IP_BIND_ADDRESS_NO_PORT IP_BIND_ADDRESS_NO_PORT
|
||||
#define IP_BLOCK_SOURCE IP_BLOCK_SOURCE
|
||||
#define IP_CHECKSUM IP_CHECKSUM
|
||||
#define IP_DEFAULT_MULTICAST_LOOP IP_DEFAULT_MULTICAST_LOOP
|
||||
#define IP_DEFAULT_MULTICAST_TTL IP_DEFAULT_MULTICAST_TTL
|
||||
#define IP_DROP_MEMBERSHIP IP_DROP_MEMBERSHIP
|
||||
#define IP_DROP_SOURCE_MEMBERSHIP IP_DROP_SOURCE_MEMBERSHIP
|
||||
#define IP_FREEBIND IP_FREEBIND
|
||||
#define IP_HDRINCL IP_HDRINCL
|
||||
#define IP_IPSEC_POLICY IP_IPSEC_POLICY
|
||||
#define IP_MAX_MEMBERSHIPS IP_MAX_MEMBERSHIPS
|
||||
#define IP_MINTTL IP_MINTTL
|
||||
#define IP_MSFILTER IP_MSFILTER
|
||||
#define IP_TOS IP_TOS
|
||||
#define IP_TTL IP_TTL
|
||||
#define IP_MTU IP_MTU
|
||||
#define IP_MTU_DISCOVER IP_MTU_DISCOVER
|
||||
#define IP_MULTICAST_ALL IP_MULTICAST_ALL
|
||||
#define IP_HDRINCL IP_HDRINCL
|
||||
#define IP_OPTIONS IP_OPTIONS
|
||||
#define IP_RECVTTL IP_RECVTTL
|
||||
#define IP_ADD_MEMBERSHIP IP_ADD_MEMBERSHIP
|
||||
#define IP_DROP_MEMBERSHIP IP_DROP_MEMBERSHIP
|
||||
#define IP_MULTICAST_IF IP_MULTICAST_IF
|
||||
#define IP_MULTICAST_LOOP IP_MULTICAST_LOOP
|
||||
#define IP_MULTICAST_TTL IP_MULTICAST_TTL
|
||||
#define IP_NODEFRAG IP_NODEFRAG
|
||||
#define IP_OPTIONS IP_OPTIONS
|
||||
#define IP_ORIGDSTADDR IP_ORIGDSTADDR
|
||||
#define IP_PASSSEC IP_PASSSEC
|
||||
#define IP_PKTINFO IP_PKTINFO
|
||||
#define IP_PKTOPTIONS IP_PKTOPTIONS
|
||||
#define IP_PMTUDISC IP_PMTUDISC
|
||||
#define IP_PMTUDISC_DO IP_PMTUDISC_DO
|
||||
#define IP_PMTUDISC_DONT IP_PMTUDISC_DONT
|
||||
#define IP_PMTUDISC_INTERFACE IP_PMTUDISC_INTERFACE
|
||||
#define IP_PMTUDISC_OMIT IP_PMTUDISC_OMIT
|
||||
#define IP_PMTUDISC_PROBE IP_PMTUDISC_PROBE
|
||||
#define IP_PMTUDISC_WANT IP_PMTUDISC_WANT
|
||||
#define IP_RECVDSTADDR IP_RECVDSTADDR
|
||||
#define IP_RECVERR IP_RECVERR
|
||||
#define IP_RECVOPTS IP_RECVOPTS
|
||||
#define IP_RECVORIGDSTADDR IP_RECVORIGDSTADDR
|
||||
#define IP_RECVRETOPTS IP_RECVRETOPTS
|
||||
#define IP_RECVTOS IP_RECVTOS
|
||||
#define IP_RECVTTL IP_RECVTTL
|
||||
#define IP_RETOPTS IP_RETOPTS
|
||||
#define IP_ROUTER_ALERT IP_ROUTER_ALERT
|
||||
#define IP_TOS IP_TOS
|
||||
#define IP_TRANSPARENT IP_TRANSPARENT
|
||||
#define IP_TTL IP_TTL
|
||||
#define IP_UNBLOCK_SOURCE IP_UNBLOCK_SOURCE
|
||||
#define IP_UNICAST_IF IP_UNICAST_IF
|
||||
#define IP_XFRM_POLICY IP_XFRM_POLICY
|
||||
|
||||
#define IP_DEFAULT_MULTICAST_TTL 1
|
||||
#define IP_DEFAULT_MULTICAST_LOOP 1
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_IP_H_ */
|
||||
|
|
|
@ -2,125 +2,39 @@
|
|||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_IPV6_H_
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
extern const int IPV6_2292DSTOPTS;
|
||||
extern const int IPV6_2292HOPLIMIT;
|
||||
extern const int IPV6_2292HOPOPTS;
|
||||
extern const int IPV6_2292PKTINFO;
|
||||
extern const int IPV6_2292PKTOPTIONS;
|
||||
extern const int IPV6_2292RTHDR;
|
||||
extern const int IPV6_ADDRFORM;
|
||||
extern const int IPV6_ADD_MEMBERSHIP;
|
||||
extern const int IPV6_AUTHHDR;
|
||||
extern const int IPV6_AUTOFLOWLABEL;
|
||||
extern const int IPV6_V6ONLY;
|
||||
extern const int IPV6_CHECKSUM;
|
||||
extern const int IPV6_DONTFRAG;
|
||||
extern const int IPV6_DROP_MEMBERSHIP;
|
||||
extern const int IPV6_DSTOPTS;
|
||||
extern const int IPV6_HDRINCL;
|
||||
extern const int IPV6_HOPLIMIT;
|
||||
extern const int IPV6_HOPOPTS;
|
||||
extern const int IPV6_IPSEC_POLICY;
|
||||
extern const int IPV6_JOIN_ANYCAST;
|
||||
extern const int IPV6_JOIN_GROUP;
|
||||
extern const int IPV6_LEAVE_ANYCAST;
|
||||
extern const int IPV6_LEAVE_GROUP;
|
||||
extern const int IPV6_MINHOPCOUNT;
|
||||
extern const int IPV6_MTU;
|
||||
extern const int IPV6_MTU_DISCOVER;
|
||||
extern const int IPV6_MULTICAST_HOPS;
|
||||
extern const int IPV6_MULTICAST_IF;
|
||||
extern const int IPV6_MULTICAST_LOOP;
|
||||
extern const int IPV6_NEXTHOP;
|
||||
extern const int IPV6_ORIGDSTADDR;
|
||||
extern const int IPV6_PATHMTU;
|
||||
extern const int IPV6_PKTINFO;
|
||||
extern const int IPV6_PMTUDISC_DO;
|
||||
extern const int IPV6_PMTUDISC_DONT;
|
||||
extern const int IPV6_PMTUDISC_INTERFACE;
|
||||
extern const int IPV6_PMTUDISC_OMIT;
|
||||
extern const int IPV6_PMTUDISC_PROBE;
|
||||
extern const int IPV6_PMTUDISC_WANT;
|
||||
extern const int IPV6_RECVDSTOPTS;
|
||||
extern const int IPV6_RECVERR;
|
||||
extern const int IPV6_RECVHOPLIMIT;
|
||||
extern const int IPV6_RECVHOPOPTS;
|
||||
extern const int IPV6_RECVORIGDSTADDR;
|
||||
extern const int IPV6_RECVPATHMTU;
|
||||
extern const int IPV6_RECVPKTINFO;
|
||||
extern const int IPV6_RECVRTHDR;
|
||||
extern const int IPV6_RECVTCLASS;
|
||||
extern const int IPV6_ROUTER_ALERT;
|
||||
extern const int IPV6_RTHDR;
|
||||
extern const int IPV6_RTHDRDSTOPTS;
|
||||
extern const int IPV6_RTHDR_LOOSE;
|
||||
extern const int IPV6_RTHDR_STRICT;
|
||||
extern const int IPV6_RTHDR_TYPE_0;
|
||||
extern const int IPV6_RXDSTOPTS;
|
||||
extern const int IPV6_RXHOPOPTS;
|
||||
extern const int IPV6_TCLASS;
|
||||
extern const int IPV6_UNICAST_HOPS;
|
||||
extern const int IPV6_V6ONLY;
|
||||
extern const int IPV6_XFRM_POLICY;
|
||||
extern const int IPV6_RECVTCLASS;
|
||||
extern const int IPV6_TCLASS;
|
||||
extern const int IPV6_DONTFRAG;
|
||||
extern const int IPV6_HOPLIMIT;
|
||||
extern const int IPV6_HOPOPTS;
|
||||
extern const int IPV6_PKTINFO;
|
||||
extern const int IPV6_RECVRTHDR;
|
||||
extern const int IPV6_RTHDR;
|
||||
|
||||
#define IPV6_2292DSTOPTS IPV6_2292DSTOPTS
|
||||
#define IPV6_2292HOPLIMIT IPV6_2292HOPLIMIT
|
||||
#define IPV6_2292HOPOPTS IPV6_2292HOPOPTS
|
||||
#define IPV6_2292PKTINFO IPV6_2292PKTINFO
|
||||
#define IPV6_2292PKTOPTIONS IPV6_2292PKTOPTIONS
|
||||
#define IPV6_2292RTHDR IPV6_2292RTHDR
|
||||
#define IPV6_ADDRFORM IPV6_ADDRFORM
|
||||
#define IPV6_ADD_MEMBERSHIP IPV6_ADD_MEMBERSHIP
|
||||
#define IPV6_AUTHHDR IPV6_AUTHHDR
|
||||
#define IPV6_AUTOFLOWLABEL IPV6_AUTOFLOWLABEL
|
||||
#define IPV6_V6ONLY IPV6_V6ONLY
|
||||
#define IPV6_CHECKSUM IPV6_CHECKSUM
|
||||
#define IPV6_DONTFRAG IPV6_DONTFRAG
|
||||
#define IPV6_DROP_MEMBERSHIP IPV6_DROP_MEMBERSHIP
|
||||
#define IPV6_DSTOPTS IPV6_DSTOPTS
|
||||
#define IPV6_HDRINCL IPV6_HDRINCL
|
||||
#define IPV6_HOPLIMIT IPV6_HOPLIMIT
|
||||
#define IPV6_HOPOPTS IPV6_HOPOPTS
|
||||
#define IPV6_IPSEC_POLICY IPV6_IPSEC_POLICY
|
||||
#define IPV6_JOIN_ANYCAST IPV6_JOIN_ANYCAST
|
||||
#define IPV6_JOIN_GROUP IPV6_JOIN_GROUP
|
||||
#define IPV6_LEAVE_ANYCAST IPV6_LEAVE_ANYCAST
|
||||
#define IPV6_LEAVE_GROUP IPV6_LEAVE_GROUP
|
||||
#define IPV6_MINHOPCOUNT IPV6_MINHOPCOUNT
|
||||
#define IPV6_MTU IPV6_MTU
|
||||
#define IPV6_MTU_DISCOVER IPV6_MTU_DISCOVER
|
||||
#define IPV6_MULTICAST_HOPS IPV6_MULTICAST_HOPS
|
||||
#define IPV6_MULTICAST_IF IPV6_MULTICAST_IF
|
||||
#define IPV6_MULTICAST_LOOP IPV6_MULTICAST_LOOP
|
||||
#define IPV6_NEXTHOP IPV6_NEXTHOP
|
||||
#define IPV6_ORIGDSTADDR IPV6_ORIGDSTADDR
|
||||
#define IPV6_PATHMTU IPV6_PATHMTU
|
||||
#define IPV6_PKTINFO IPV6_PKTINFO
|
||||
#define IPV6_PMTUDISC_DO IPV6_PMTUDISC_DO
|
||||
#define IPV6_PMTUDISC_DONT IPV6_PMTUDISC_DONT
|
||||
#define IPV6_PMTUDISC_INTERFACE IPV6_PMTUDISC_INTERFACE
|
||||
#define IPV6_PMTUDISC_OMIT IPV6_PMTUDISC_OMIT
|
||||
#define IPV6_PMTUDISC_PROBE IPV6_PMTUDISC_PROBE
|
||||
#define IPV6_PMTUDISC_WANT IPV6_PMTUDISC_WANT
|
||||
#define IPV6_RECVDSTOPTS IPV6_RECVDSTOPTS
|
||||
#define IPV6_RECVERR IPV6_RECVERR
|
||||
#define IPV6_RECVHOPLIMIT IPV6_RECVHOPLIMIT
|
||||
#define IPV6_RECVHOPOPTS IPV6_RECVHOPOPTS
|
||||
#define IPV6_RECVORIGDSTADDR IPV6_RECVORIGDSTADDR
|
||||
#define IPV6_RECVPATHMTU IPV6_RECVPATHMTU
|
||||
#define IPV6_RECVPKTINFO IPV6_RECVPKTINFO
|
||||
#define IPV6_RECVRTHDR IPV6_RECVRTHDR
|
||||
#define IPV6_RECVTCLASS IPV6_RECVTCLASS
|
||||
#define IPV6_ROUTER_ALERT IPV6_ROUTER_ALERT
|
||||
#define IPV6_RTHDR IPV6_RTHDR
|
||||
#define IPV6_RTHDRDSTOPTS IPV6_RTHDRDSTOPTS
|
||||
#define IPV6_RTHDR_LOOSE IPV6_RTHDR_LOOSE
|
||||
#define IPV6_RTHDR_STRICT IPV6_RTHDR_STRICT
|
||||
#define IPV6_RTHDR_TYPE_0 IPV6_RTHDR_TYPE_0
|
||||
#define IPV6_RXDSTOPTS IPV6_RXDSTOPTS
|
||||
#define IPV6_RXHOPOPTS IPV6_RXHOPOPTS
|
||||
#define IPV6_TCLASS IPV6_TCLASS
|
||||
#define IPV6_UNICAST_HOPS IPV6_UNICAST_HOPS
|
||||
#define IPV6_V6ONLY IPV6_V6ONLY
|
||||
#define IPV6_XFRM_POLICY IPV6_XFRM_POLICY
|
||||
#define IPV6_RECVTCLASS IPV6_RECVTCLASS
|
||||
#define IPV6_TCLASS IPV6_TCLASS
|
||||
#define IPV6_DONTFRAG IPV6_DONTFRAG
|
||||
#define IPV6_HOPLIMIT IPV6_HOPLIMIT
|
||||
#define IPV6_HOPOPTS IPV6_HOPOPTS
|
||||
#define IPV6_PKTINFO IPV6_PKTINFO
|
||||
#define IPV6_RECVRTHDR IPV6_RECVRTHDR
|
||||
#define IPV6_RTHDR IPV6_RTHDR
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_IPV6_H_ */
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue