xref: /titanic_44/usr/src/grub/grub-0.97/netboot/in.h (revision 1b8adde7ba7d5e04395c141c5400dc2cffd7d809)
1 #ifndef	_IN_H
2 #define	_IN_H
3 
4 #include "types.h"
5 
6 #define IP		0x0800
7 #define ARP		0x0806
8 #define	RARP		0x8035
9 
10 #define IP_ICMP		1
11 #define IP_IGMP		2
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 */
22