blob: 0182e0ab7c9a300a12d4e0823e9b5c45a1b929a5 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI_LINUX_IN_H
20#define _UAPI_LINUX_IN_H
21#include <linux/types.h>
22#include <linux/socket.h>
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24enum {
25 IPPROTO_IP = 0,
Christopher Ferris38062f92014-07-09 15:33:25 -070026#define IPPROTO_IP IPPROTO_IP
Ben Cheng655a7c02013-10-16 16:09:24 -070027 IPPROTO_ICMP = 1,
Christopher Ferris38062f92014-07-09 15:33:25 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#define IPPROTO_ICMP IPPROTO_ICMP
Ben Cheng655a7c02013-10-16 16:09:24 -070030 IPPROTO_IGMP = 2,
Christopher Ferris38062f92014-07-09 15:33:25 -070031#define IPPROTO_IGMP IPPROTO_IGMP
Ben Cheng655a7c02013-10-16 16:09:24 -070032 IPPROTO_IPIP = 4,
Christopher Ferris38062f92014-07-09 15:33:25 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#define IPPROTO_IPIP IPPROTO_IPIP
Ben Cheng655a7c02013-10-16 16:09:24 -070035 IPPROTO_TCP = 6,
Christopher Ferris38062f92014-07-09 15:33:25 -070036#define IPPROTO_TCP IPPROTO_TCP
Ben Cheng655a7c02013-10-16 16:09:24 -070037 IPPROTO_EGP = 8,
Christopher Ferris38062f92014-07-09 15:33:25 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39#define IPPROTO_EGP IPPROTO_EGP
Ben Cheng655a7c02013-10-16 16:09:24 -070040 IPPROTO_PUP = 12,
Christopher Ferris38062f92014-07-09 15:33:25 -070041#define IPPROTO_PUP IPPROTO_PUP
Ben Cheng655a7c02013-10-16 16:09:24 -070042 IPPROTO_UDP = 17,
Ben Cheng655a7c02013-10-16 16:09:24 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070044#define IPPROTO_UDP IPPROTO_UDP
45 IPPROTO_IDP = 22,
46#define IPPROTO_IDP IPPROTO_IDP
47 IPPROTO_TP = 29,
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#define IPPROTO_TP IPPROTO_TP
50 IPPROTO_DCCP = 33,
51#define IPPROTO_DCCP IPPROTO_DCCP
Ben Cheng655a7c02013-10-16 16:09:24 -070052 IPPROTO_IPV6 = 41,
Christopher Ferris38062f92014-07-09 15:33:25 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54#define IPPROTO_IPV6 IPPROTO_IPV6
55 IPPROTO_RSVP = 46,
56#define IPPROTO_RSVP IPPROTO_RSVP
57 IPPROTO_GRE = 47,
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59#define IPPROTO_GRE IPPROTO_GRE
Ben Cheng655a7c02013-10-16 16:09:24 -070060 IPPROTO_ESP = 50,
Christopher Ferris38062f92014-07-09 15:33:25 -070061#define IPPROTO_ESP IPPROTO_ESP
Ben Cheng655a7c02013-10-16 16:09:24 -070062 IPPROTO_AH = 51,
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070064#define IPPROTO_AH IPPROTO_AH
65 IPPROTO_MTP = 92,
66#define IPPROTO_MTP IPPROTO_MTP
Ben Cheng655a7c02013-10-16 16:09:24 -070067 IPPROTO_BEETPH = 94,
Christopher Ferris38062f92014-07-09 15:33:25 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69#define IPPROTO_BEETPH IPPROTO_BEETPH
70 IPPROTO_ENCAP = 98,
71#define IPPROTO_ENCAP IPPROTO_ENCAP
Ben Cheng655a7c02013-10-16 16:09:24 -070072 IPPROTO_PIM = 103,
Christopher Ferris38062f92014-07-09 15:33:25 -070073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74#define IPPROTO_PIM IPPROTO_PIM
Ben Cheng655a7c02013-10-16 16:09:24 -070075 IPPROTO_COMP = 108,
Christopher Ferris38062f92014-07-09 15:33:25 -070076#define IPPROTO_COMP IPPROTO_COMP
Ben Cheng655a7c02013-10-16 16:09:24 -070077 IPPROTO_SCTP = 132,
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris38062f92014-07-09 15:33:25 -070079#define IPPROTO_SCTP IPPROTO_SCTP
Ben Cheng655a7c02013-10-16 16:09:24 -070080 IPPROTO_UDPLITE = 136,
Christopher Ferris38062f92014-07-09 15:33:25 -070081#define IPPROTO_UDPLITE IPPROTO_UDPLITE
Ben Cheng655a7c02013-10-16 16:09:24 -070082 IPPROTO_RAW = 255,
Christopher Ferris38062f92014-07-09 15:33:25 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84#define IPPROTO_RAW IPPROTO_RAW
Ben Cheng655a7c02013-10-16 16:09:24 -070085 IPPROTO_MAX
86};
Ben Cheng655a7c02013-10-16 16:09:24 -070087struct in_addr {
Christopher Ferris38062f92014-07-09 15:33:25 -070088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070089 __be32 s_addr;
90};
91#define IP_TOS 1
Ben Cheng655a7c02013-10-16 16:09:24 -070092#define IP_TTL 2
Christopher Ferris38062f92014-07-09 15:33:25 -070093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070094#define IP_HDRINCL 3
95#define IP_OPTIONS 4
96#define IP_ROUTER_ALERT 5
Ben Cheng655a7c02013-10-16 16:09:24 -070097#define IP_RECVOPTS 6
Christopher Ferris38062f92014-07-09 15:33:25 -070098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070099#define IP_RETOPTS 7
100#define IP_PKTINFO 8
101#define IP_PKTOPTIONS 9
Ben Cheng655a7c02013-10-16 16:09:24 -0700102#define IP_MTU_DISCOVER 10
Christopher Ferris38062f92014-07-09 15:33:25 -0700103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700104#define IP_RECVERR 11
105#define IP_RECVTTL 12
106#define IP_RECVTOS 13
Ben Cheng655a7c02013-10-16 16:09:24 -0700107#define IP_MTU 14
Christopher Ferris38062f92014-07-09 15:33:25 -0700108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700109#define IP_FREEBIND 15
110#define IP_IPSEC_POLICY 16
111#define IP_XFRM_POLICY 17
Ben Cheng655a7c02013-10-16 16:09:24 -0700112#define IP_PASSSEC 18
Christopher Ferris38062f92014-07-09 15:33:25 -0700113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700114#define IP_TRANSPARENT 19
115#define IP_RECVRETOPTS IP_RETOPTS
116#define IP_ORIGDSTADDR 20
Ben Cheng655a7c02013-10-16 16:09:24 -0700117#define IP_RECVORIGDSTADDR IP_ORIGDSTADDR
Christopher Ferris38062f92014-07-09 15:33:25 -0700118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700119#define IP_MINTTL 21
120#define IP_NODEFRAG 22
121#define IP_PMTUDISC_DONT 0
Ben Cheng655a7c02013-10-16 16:09:24 -0700122#define IP_PMTUDISC_WANT 1
Christopher Ferris38062f92014-07-09 15:33:25 -0700123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700124#define IP_PMTUDISC_DO 2
125#define IP_PMTUDISC_PROBE 3
Christopher Ferris38062f92014-07-09 15:33:25 -0700126#define IP_PMTUDISC_INTERFACE 4
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700127#define IP_PMTUDISC_OMIT 5
Ben Cheng655a7c02013-10-16 16:09:24 -0700128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700129#define IP_MULTICAST_IF 32
Ben Cheng655a7c02013-10-16 16:09:24 -0700130#define IP_MULTICAST_TTL 33
131#define IP_MULTICAST_LOOP 34
132#define IP_ADD_MEMBERSHIP 35
Ben Cheng655a7c02013-10-16 16:09:24 -0700133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700134#define IP_DROP_MEMBERSHIP 36
Ben Cheng655a7c02013-10-16 16:09:24 -0700135#define IP_UNBLOCK_SOURCE 37
136#define IP_BLOCK_SOURCE 38
137#define IP_ADD_SOURCE_MEMBERSHIP 39
Ben Cheng655a7c02013-10-16 16:09:24 -0700138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700139#define IP_DROP_SOURCE_MEMBERSHIP 40
Ben Cheng655a7c02013-10-16 16:09:24 -0700140#define IP_MSFILTER 41
141#define MCAST_JOIN_GROUP 42
142#define MCAST_BLOCK_SOURCE 43
Ben Cheng655a7c02013-10-16 16:09:24 -0700143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700144#define MCAST_UNBLOCK_SOURCE 44
Ben Cheng655a7c02013-10-16 16:09:24 -0700145#define MCAST_LEAVE_GROUP 45
146#define MCAST_JOIN_SOURCE_GROUP 46
147#define MCAST_LEAVE_SOURCE_GROUP 47
Ben Cheng655a7c02013-10-16 16:09:24 -0700148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700149#define MCAST_MSFILTER 48
Ben Cheng655a7c02013-10-16 16:09:24 -0700150#define IP_MULTICAST_ALL 49
151#define IP_UNICAST_IF 50
152#define MCAST_EXCLUDE 0
Ben Cheng655a7c02013-10-16 16:09:24 -0700153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700154#define MCAST_INCLUDE 1
Ben Cheng655a7c02013-10-16 16:09:24 -0700155#define IP_DEFAULT_MULTICAST_TTL 1
156#define IP_DEFAULT_MULTICAST_LOOP 1
157struct ip_mreq {
Ben Cheng655a7c02013-10-16 16:09:24 -0700158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700159 struct in_addr imr_multiaddr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700160 struct in_addr imr_interface;
161};
162struct ip_mreqn {
Ben Cheng655a7c02013-10-16 16:09:24 -0700163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700164 struct in_addr imr_multiaddr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700165 struct in_addr imr_address;
166 int imr_ifindex;
167};
Ben Cheng655a7c02013-10-16 16:09:24 -0700168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700169struct ip_mreq_source {
Ben Cheng655a7c02013-10-16 16:09:24 -0700170 __be32 imr_multiaddr;
171 __be32 imr_interface;
172 __be32 imr_sourceaddr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700174};
Ben Cheng655a7c02013-10-16 16:09:24 -0700175struct ip_msfilter {
176 __be32 imsf_multiaddr;
177 __be32 imsf_interface;
Ben Cheng655a7c02013-10-16 16:09:24 -0700178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700179 __u32 imsf_fmode;
Ben Cheng655a7c02013-10-16 16:09:24 -0700180 __u32 imsf_numsrc;
181 __be32 imsf_slist[1];
182};
Ben Cheng655a7c02013-10-16 16:09:24 -0700183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700184#define IP_MSFILTER_SIZE(numsrc) (sizeof(struct ip_msfilter) - sizeof(__u32) + (numsrc) * sizeof(__u32))
Ben Cheng655a7c02013-10-16 16:09:24 -0700185struct group_req {
186 __u32 gr_interface;
187 struct __kernel_sockaddr_storage gr_group;
Ben Cheng655a7c02013-10-16 16:09:24 -0700188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700189};
Ben Cheng655a7c02013-10-16 16:09:24 -0700190struct group_source_req {
191 __u32 gsr_interface;
192 struct __kernel_sockaddr_storage gsr_group;
Ben Cheng655a7c02013-10-16 16:09:24 -0700193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700194 struct __kernel_sockaddr_storage gsr_source;
Ben Cheng655a7c02013-10-16 16:09:24 -0700195};
196struct group_filter {
197 __u32 gf_interface;
Ben Cheng655a7c02013-10-16 16:09:24 -0700198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700199 struct __kernel_sockaddr_storage gf_group;
Ben Cheng655a7c02013-10-16 16:09:24 -0700200 __u32 gf_fmode;
201 __u32 gf_numsrc;
202 struct __kernel_sockaddr_storage gf_slist[1];
Ben Cheng655a7c02013-10-16 16:09:24 -0700203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700204};
Ben Cheng655a7c02013-10-16 16:09:24 -0700205#define GROUP_FILTER_SIZE(numsrc) (sizeof(struct group_filter) - sizeof(struct __kernel_sockaddr_storage) + (numsrc) * sizeof(struct __kernel_sockaddr_storage))
206struct in_pktinfo {
207 int ipi_ifindex;
Ben Cheng655a7c02013-10-16 16:09:24 -0700208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700209 struct in_addr ipi_spec_dst;
Ben Cheng655a7c02013-10-16 16:09:24 -0700210 struct in_addr ipi_addr;
211};
212#define __SOCK_SIZE__ 16
Ben Cheng655a7c02013-10-16 16:09:24 -0700213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700214struct sockaddr_in {
Ben Cheng655a7c02013-10-16 16:09:24 -0700215 __kernel_sa_family_t sin_family;
216 __be16 sin_port;
217 struct in_addr sin_addr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700219 unsigned char __pad[__SOCK_SIZE__ - sizeof(short int) -
Ben Cheng655a7c02013-10-16 16:09:24 -0700220 sizeof(unsigned short int) - sizeof(struct in_addr)];
221};
222#define sin_zero __pad
Ben Cheng655a7c02013-10-16 16:09:24 -0700223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700224#define IN_CLASSA(a) ((((long int) (a)) & 0x80000000) == 0)
Ben Cheng655a7c02013-10-16 16:09:24 -0700225#define IN_CLASSA_NET 0xff000000
226#define IN_CLASSA_NSHIFT 24
227#define IN_CLASSA_HOST (0xffffffff & ~IN_CLASSA_NET)
Ben Cheng655a7c02013-10-16 16:09:24 -0700228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700229#define IN_CLASSA_MAX 128
Ben Cheng655a7c02013-10-16 16:09:24 -0700230#define IN_CLASSB(a) ((((long int) (a)) & 0xc0000000) == 0x80000000)
231#define IN_CLASSB_NET 0xffff0000
232#define IN_CLASSB_NSHIFT 16
Ben Cheng655a7c02013-10-16 16:09:24 -0700233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700234#define IN_CLASSB_HOST (0xffffffff & ~IN_CLASSB_NET)
Ben Cheng655a7c02013-10-16 16:09:24 -0700235#define IN_CLASSB_MAX 65536
236#define IN_CLASSC(a) ((((long int) (a)) & 0xe0000000) == 0xc0000000)
237#define IN_CLASSC_NET 0xffffff00
Ben Cheng655a7c02013-10-16 16:09:24 -0700238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700239#define IN_CLASSC_NSHIFT 8
Ben Cheng655a7c02013-10-16 16:09:24 -0700240#define IN_CLASSC_HOST (0xffffffff & ~IN_CLASSC_NET)
241#define IN_CLASSD(a) ((((long int) (a)) & 0xf0000000) == 0xe0000000)
242#define IN_MULTICAST(a) IN_CLASSD(a)
Ben Cheng655a7c02013-10-16 16:09:24 -0700243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700244#define IN_MULTICAST_NET 0xF0000000
Ben Cheng655a7c02013-10-16 16:09:24 -0700245#define IN_EXPERIMENTAL(a) ((((long int) (a)) & 0xf0000000) == 0xf0000000)
246#define IN_BADCLASS(a) IN_EXPERIMENTAL((a))
247#define INADDR_ANY ((unsigned long int) 0x00000000)
Ben Cheng655a7c02013-10-16 16:09:24 -0700248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700249#define INADDR_BROADCAST ((unsigned long int) 0xffffffff)
Ben Cheng655a7c02013-10-16 16:09:24 -0700250#define INADDR_NONE ((unsigned long int) 0xffffffff)
251#define IN_LOOPBACKNET 127
252#define INADDR_LOOPBACK 0x7f000001
Ben Cheng655a7c02013-10-16 16:09:24 -0700253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700254#define IN_LOOPBACK(a) ((((long int) (a)) & 0xff000000) == 0x7f000000)
Ben Cheng655a7c02013-10-16 16:09:24 -0700255#define INADDR_UNSPEC_GROUP 0xe0000000U
256#define INADDR_ALLHOSTS_GROUP 0xe0000001U
257#define INADDR_ALLRTRS_GROUP 0xe0000002U
Ben Cheng655a7c02013-10-16 16:09:24 -0700258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700259#define INADDR_MAX_LOCAL_GROUP 0xe00000ffU
Ben Cheng655a7c02013-10-16 16:09:24 -0700260#include <asm/byteorder.h>
261#endif