xref: /illumos-gate/usr/src/grub/grub-0.97/netboot/in.h (revision 132157d7fb25c120ae1deca2a65fa7c78e8fcfd0)
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