mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
23e235b7a5
This change integrates e58abc1110b335a3341e8ad5821ad8e3880d9bb2 from https://github.com/ahgamut/musl-cross-make/ which fixes the issues we were having with our C language extension for symbolic constants. This change also performs some code cleanup and bug fixes to getaddrinfo(). It's now possible to compile projects like ncurses, readline and python without needing to patch anything upstream, except maybe a line or two. Pretty soon it should be possible to build a Linux distro on Cosmo.
74 lines
3.3 KiB
C
74 lines
3.3 KiB
C
#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
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
extern const uint8_t ICMP6_DST_UNREACH;
|
|
extern const uint8_t ICMP6_DST_UNREACH_ADDR;
|
|
extern const uint8_t ICMP6_DST_UNREACH_ADMIN;
|
|
extern const uint8_t ICMP6_DST_UNREACH_BEYONDSCOPE;
|
|
extern const uint8_t ICMP6_DST_UNREACH_NOPORT;
|
|
extern const uint8_t ICMP6_DST_UNREACH_NOROUTE;
|
|
extern const uint8_t ICMP6_ECHO_REPLY;
|
|
extern const uint8_t ICMP6_ECHO_REQUEST;
|
|
extern const uint8_t ICMP6_FILTER;
|
|
extern const uint8_t ICMP6_INFOMSG_MASK;
|
|
extern const uint8_t ICMP6_PACKET_TOO_BIG;
|
|
extern const uint8_t ICMP6_PARAMPROB_HEADER;
|
|
extern const uint8_t ICMP6_PARAMPROB_NEXTHEADER;
|
|
extern const uint8_t ICMP6_PARAMPROB_OPTION;
|
|
extern const uint8_t ICMP6_PARAM_PROB;
|
|
extern const uint8_t ICMP6_ROUTER_RENUMBERING;
|
|
extern const uint8_t ICMP6_RR_FLAGS_FORCEAPPLY;
|
|
extern const uint8_t ICMP6_RR_FLAGS_PREVDONE;
|
|
extern const uint8_t ICMP6_RR_FLAGS_REQRESULT;
|
|
extern const uint8_t ICMP6_RR_FLAGS_SPECSITE;
|
|
extern const uint8_t ICMP6_RR_FLAGS_TEST;
|
|
extern const uint8_t ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME;
|
|
extern const uint8_t ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME;
|
|
extern const uint8_t ICMP6_RR_PCOUSE_RAFLAGS_AUTO;
|
|
extern const uint8_t ICMP6_RR_PCOUSE_RAFLAGS_ONLINK;
|
|
extern const uint8_t ICMP6_RR_RESULT_FLAGS_FORBIDDEN;
|
|
extern const uint8_t ICMP6_RR_RESULT_FLAGS_OOB;
|
|
extern const uint8_t ICMP6_TIME_EXCEEDED;
|
|
extern const uint8_t ICMP6_TIME_EXCEED_REASSEMBLY;
|
|
extern const uint8_t ICMP6_TIME_EXCEED_TRANSIT;
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_ICMP6_H_ */
|