1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16#ifndef _LINUX_IN6_H
17#define _LINUX_IN6_H
18
19#include <uapi/linux/in6.h>
20
21
22
23
24
25extern const struct in6_addr in6addr_any;
26#define IN6ADDR_ANY_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }
27extern const struct in6_addr in6addr_loopback;
28#define IN6ADDR_LOOPBACK_INIT { { { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
29extern const struct in6_addr in6addr_linklocal_allnodes;
30#define IN6ADDR_LINKLOCAL_ALLNODES_INIT \
31 { { { 0xff,2,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
32extern const struct in6_addr in6addr_linklocal_allrouters;
33#define IN6ADDR_LINKLOCAL_ALLROUTERS_INIT \
34 { { { 0xff,2,0,0,0,0,0,0,0,0,0,0,0,0,0,2 } } }
35extern const struct in6_addr in6addr_interfacelocal_allnodes;
36#define IN6ADDR_INTERFACELOCAL_ALLNODES_INIT \
37 { { { 0xff,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1 } } }
38extern const struct in6_addr in6addr_interfacelocal_allrouters;
39#define IN6ADDR_INTERFACELOCAL_ALLROUTERS_INIT \
40 { { { 0xff,1,0,0,0,0,0,0,0,0,0,0,0,0,0,2 } } }
41extern const struct in6_addr in6addr_sitelocal_allrouters;
42#define IN6ADDR_SITELOCAL_ALLROUTERS_INIT \
43 { { { 0xff,5,0,0,0,0,0,0,0,0,0,0,0,0,0,2 } } }
44#endif
45