summaryrefslogtreecommitdiffstats
path: root/src/plugins/dhcp/dhcp4_packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/dhcp/dhcp4_packet.h')
-rw-r--r--src/plugins/dhcp/dhcp4_packet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/dhcp/dhcp4_packet.h b/src/plugins/dhcp/dhcp4_packet.h
index 3076dd9529d..abd60127d6c 100644
--- a/src/plugins/dhcp/dhcp4_packet.h
+++ b/src/plugins/dhcp/dhcp4_packet.h
@@ -51,6 +51,8 @@ typedef struct
dhcp_option_t options[0];
} dhcp_header_t;
+extern u8 *format_dhcp_header (u8 * s, va_list * args);
+
typedef enum
{
DHCP_PACKET_DISCOVER = 1,
@@ -60,6 +62,8 @@ typedef enum
DHCP_PACKET_NAK,
} dhcp_packet_type_t;
+extern u8 *format_dhcp_packet_type (u8 * s, va_list * args);
+
typedef enum dhcp_packet_option_t_
{
DHCP_PACKET_OPTION_MSG_TYPE = 53,