void write_to_log (char *, int);
int mcast_join (int, char *, char *);
void build_linked_list (char *, int, struct DHCP_MESSAGE *);
void read_option (char *, int, int, struct OPTIONS *);
void print_linked_list_contents (struct DHCP_MESSAGE *);
int store_in_buffer (struct DHCP_MESSAGE *, char *);
u_int8_t convert_character_to_hex (char);
void generate_trans_id (u_int32_t *);
void free_message_mem (struct DHCP_MESSAGE *);
int check_for_option (int, struct DHCP_MESSAGE *);
int check_message (struct DHCP_MESSAGE *, int);
void copy_duid1 (struct DUID1 *, struct DUID1 *);
void copy_duid2 (struct DUID2 *, struct DUID2 *);
void copy_duid3 (struct DUID3 *, struct DUID3 *);
int check_duid1 (struct DUID1 *, struct DUID1 *);
int check_duid2 (struct DUID2 *, struct DUID2 *);
int check_duid3 (struct DUID3 *, struct DUID3 *);
struct OPTIONS * get_options_ptr (struct DHCP_MESSAGE *, int);
struct OPTIONS * send_server_id (struct OPTIONS *);
struct DHCP_MESSAGE * create_message_with_status_code (struct DHCP_MESSAGE *, int, int, char *);
