Watt-32 tcp/ip  2.2 dev-rel.10
ip6_out.h
Go to the documentation of this file.
1 
3 #ifndef _w32_IP6_OUTPUT_H
4 #define _w32_IP6_OUTPUT_H
5 
6 #ifndef __NETINET_IN_H
7 #include <netinet/in.h> /* struct in6_addr */
8 #endif
9 
10 #if defined(USE_IPV6)
11 
12 W32_DATA struct in6_addr in6addr_my_ip;
13 
14 extern const struct in6_addr in6addr_all_1;
15 extern const struct in6_addr in6addr_alln_mc;
16 extern const struct in6_addr in6addr_allr_mc;
17 extern const BYTE in6addr_mapped[12];
18 
19 extern int _default6_ttl;
20 
21 extern int _ip6_output (in6_Header *ip, ip6_address *src_ip,
22  ip6_address *dst_ip, BYTE next_hdr,
23  unsigned data_len, int hop_lim, const void *sock,
24  const char *file, unsigned line);
25 
26 #define IP6_OUTPUT(ip, src, dst, next_hdr, data_len, hop_lim, sock) \
27  _ip6_output(ip, src, dst, next_hdr, data_len, hop_lim, sock, \
28  __FILE__, __LINE__)
29 
30 #endif /* USE_IPV6 */
31 #endif
32 
Definition: in.h:153
Definition: ip.h:67
int _ip6_output(in6_Header *ip, ip6_address *src_ip, ip6_address *dst_ip, BYTE next_hdr, unsigned data_len, int hop_lim, const void *sock, const char *file, unsigned line)
Definition: ip6_out.c:74