http://git.etherboot.org
/
people
/
lynusvaz
/
gpxe.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7fb207da4ba53cf906912b6a3faaac91dacef0db
[people/lynusvaz/gpxe.git]
/
src
/
include
/
in.h
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 */