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