1 --- src/common/dhcp.h.orig	2018-12-02 11:34:59.000000000 -0800
2 +++ src/common/dhcp.h	2018-12-06 00:01:11.429254000 -0800
3 @@ -9,6 +9,22 @@
4  #ifndef DHCP_H
5  #define DHCP_H
6 
7 +/*
8 + * Translate Linux to FreeBSD
9 + */
10 +#define iphdr		ip
11 +#define ihl		ip_hl
12 +#define verson		ip_v
13 +#define tos		ip_tos
14 +#define tot_len		ip_len
15 +#define id		ip_id
16 +#define frag_off	ip_off
17 +#define ttl		ip_ttl
18 +#define protocol	ip_p
19 +#define check		ip_sum
20 +#define saddr		ip_src
21 +#define daddr		ip_dst
22 +
23  #include <netinet/ip.h>
24  #if __FAVOR_BSD
25  #include <netinet/udp.h>
26