Watt-32 tcp/ip  2.2 dev-rel.10
ip6_in.h
Go to the documentation of this file.
1 
3 #ifndef _w32_IP6_IN_H
4 #define _w32_IP6_IN_H
5 
6 /*
7  * `struct in6_Header::next_hdr' field.
8  */
9 #define IP6_NEXT_HOP 0 /* Hop-by-hop option header */
10 #define IP6_NEXT_TCP 6 /* TCP segment */
11 #define IP6_NEXT_UDP 17 /* UDP message */
12 #define IP6_NEXT_IPV6 41 /* IPv6 in IPv6 */
13 #define IP6_NEXT_ROUTING 43 /* Routing header */
14 #define IP6_NEXT_FRAGMENT 44 /* Fragmentation/reassembly header */
15 #define IP6_NEXT_ESP 50 /* Encapsulating security payload */
16 #define IP6_NEXT_AUTH 51 /* Authentication header */
17 #define IP6_NEXT_ICMP 58 /* ICMP for IPv6 */
18 #define IP6_NEXT_NONE 59 /* No next header */
19 #define IP6_NEXT_DEST 60 /* Destination options header */
20 #define IP6_NEXT_COMP 108 /* Compression options header */
21 #define IP6_NEXT_SCTP 132 /* Stream Control Transfer Protocol */
22 
23 typedef struct ip6_RouteHdr {
24  BYTE next_hdr;
25  BYTE hdrlen;
26  BYTE type;
27  BYTE seg_left;
28  } ip6_RouteHdr;
29 
30 #if defined(USE_IPV6)
31  extern int _ip6_handler (const in6_Header *ip, BOOL broadcast);
32  extern int _ip6_init (void);
33  extern int _ip6_pkt_init (void);
34  extern void _ip6_post_init (void);
35  extern int _ip6_is_local_addr (const void *ip);
36 #endif /* USE_IPV6 */
37 #endif
Definition: ip.h:67