diff options
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r-- | networking/udhcp/common.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index 00890ac1c..6c0db5b4c 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h | |||
@@ -14,8 +14,7 @@ | |||
14 | 14 | ||
15 | #define DEFAULT_SCRIPT "/usr/share/udhcpc/default.script" | 15 | #define DEFAULT_SCRIPT "/usr/share/udhcpc/default.script" |
16 | 16 | ||
17 | #define COMBINED_BINARY | 17 | extern const uint8_t MAC_BCAST_ADDR[6]; /* six all-ones */ |
18 | |||
19 | 18 | ||
20 | /*** packet.h ***/ | 19 | /*** packet.h ***/ |
21 | 20 | ||
@@ -52,7 +51,8 @@ int udhcp_get_packet(struct dhcpMessage *packet, int fd); | |||
52 | uint16_t udhcp_checksum(void *addr, int count); | 51 | uint16_t udhcp_checksum(void *addr, int count); |
53 | int udhcp_raw_packet(struct dhcpMessage *payload, | 52 | int udhcp_raw_packet(struct dhcpMessage *payload, |
54 | uint32_t source_ip, int source_port, | 53 | uint32_t source_ip, int source_port, |
55 | uint32_t dest_ip, int dest_port, uint8_t *dest_arp, int ifindex); | 54 | uint32_t dest_ip, int dest_port, |
55 | const uint8_t *dest_arp, int ifindex); | ||
56 | int udhcp_kernel_packet(struct dhcpMessage *payload, | 56 | int udhcp_kernel_packet(struct dhcpMessage *payload, |
57 | uint32_t source_ip, int source_port, | 57 | uint32_t source_ip, int source_port, |
58 | uint32_t dest_ip, int dest_port); | 58 | uint32_t dest_ip, int dest_port); |