Watt-32 tcp/ip  2.2 dev-rel.10
ip4_in.h
Go to the documentation of this file.
1 
3 #ifndef _w32_IP4_IN_H
4 #define _w32_IP4_IN_H
5 
9 #define IPOPT_EOL 0
10 #define IPOPT_NOP 1
11 #define IPOPT_RR 7
12 #define IPOPT_TS 68
13 #define IPOPT_SECURITY 130
14 #define IPOPT_LSRR 131
15 #define IPOPT_SATID 136
16 #define IPOPT_SSRR 137
17 #define IPOPT_RA 148
22 #ifndef IN_MULTICAST
23 #define IN_MULTICAST(ip) ((ip & 0xF0000000UL) == 0xE0000000UL)
24 #endif
25 
26 #ifndef IN_EXPERIMENTAL
27 #define IN_EXPERIMENTAL(ip) ((ip & 0xF0000000UL) == 0xF0000000UL)
28 #endif
29 
30 extern int _ip4_handler (const in_Header *ip, BOOL broadcast);
31 extern int _chk_ip4_header (const in_Header *ip);
32 
33 extern int _ip4_is_local_addr (DWORD ip);
34 extern int _ip4_is_unique_addr (DWORD ip);
35 extern int _ip4_is_multihome_addr (DWORD ip);
36 extern int _ip4_is_ip_brdcast (const in_Header *ip);
37 extern int _ip4_is_multicast (DWORD ip);
38 extern int _ip4_is_loopback_addr (DWORD ip);
39 
40 #endif
Definition: ip.h:67
int _ip4_handler(const in_Header *ip, BOOL broadcast)
Definition: ip4_in.c:34