1N/A#ifndef _IN_H
1N/A#define _IN_H
1N/A
1N/A#include "types.h"
1N/A
1N/A#define IP 0x0800
1N/A#define ARP 0x0806
1N/A#define RARP 0x8035
1N/A
1N/A#define IP_ICMP 1
1N/A#define IP_IGMP 2
1N/A#define IP_UDP 17
1N/A
1N/A/* Same after going through htonl */
1N/A#define IP_BROADCAST 0xFFFFFFFF
1N/A
1N/Atypedef struct {
1N/A uint32_t s_addr;
1N/A} in_addr;
1N/A
1N/A#endif /* _IN_H */