Last change
on this file since 6290 was 1, checked in by vboxsync, 55 years ago |
import
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
333 bytes
|
Line | |
---|
1 | #ifndef _IN_H
|
---|
2 | #define _IN_H
|
---|
3 |
|
---|
4 | #include <if_ether.h>
|
---|
5 | #define IP ETH_P_IP
|
---|
6 | #define ARP ETH_P_ARP
|
---|
7 | #define RARP ETH_P_RARP
|
---|
8 |
|
---|
9 | #define IP_ICMP 1
|
---|
10 | #define IP_IGMP 2
|
---|
11 | #define IP_TCP 6
|
---|
12 | #define IP_UDP 17
|
---|
13 |
|
---|
14 | /* Same after going through htonl */
|
---|
15 | #define IP_BROADCAST 0xFFFFFFFF
|
---|
16 |
|
---|
17 | typedef struct {
|
---|
18 | uint32_t s_addr;
|
---|
19 | } in_addr;
|
---|
20 |
|
---|
21 | #endif /* _IN_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.