master
1#ifndef __wasilibc___header_netinet_in_h
2#define __wasilibc___header_netinet_in_h
3
4#include <__struct_in_addr.h>
5#include <__struct_in6_addr.h>
6#include <__struct_sockaddr_in.h>
7#include <__struct_sockaddr_in6.h>
8
9#define IPPROTO_IP 0
10#define IPPROTO_ICMP 1
11#define IPPROTO_TCP 6
12#define IPPROTO_UDP 17
13#define IPPROTO_IPV6 41
14#define IPPROTO_RAW 255
15
16#define IN6ADDR_ANY_INIT { { \
17 0x00, 0x00, 0x00, 0x00, \
18 0x00, 0x00, 0x00, 0x00, \
19 0x00, 0x00, 0x00, 0x00, \
20 0x00, 0x00, 0x00, 0x00 \
21} }
22
23#define IN6ADDR_LOOPBACK_INIT { { \
24 0x00, 0x00, 0x00, 0x00, \
25 0x00, 0x00, 0x00, 0x00, \
26 0x00, 0x00, 0x00, 0x00, \
27 0x00, 0x00, 0x00, 0x01 \
28} }
29
30#endif