Lines Matching refs:dhcp_packet
89 static void option_put(struct dhcp_packet* mess, unsigned char* end, int opt, int len,
91 static void option_put_string(struct dhcp_packet* mess, unsigned char* end, int opt, char* string,
98 static unsigned char* option_find(struct dhcp_packet* mess, size_t size, int opt_type, int minsize);
100 static size_t dhcp_packet_size(struct dhcp_packet* mess, struct dhcp_netid* netid,
102 static void clear_packet(struct dhcp_packet* mess, unsigned char* end);
103 static void do_options(struct dhcp_context* context, struct dhcp_packet* mess,
110 static void do_encap_opts(struct dhcp_opt* opts, int encap, int flag, struct dhcp_packet* mess,
112 static void pxe_misc(struct dhcp_packet* mess, unsigned char* end, unsigned char* uuid);
125 struct dhcp_packet* mess = (struct dhcp_packet*) daemon->dhcp_packet.iov_base; in dhcp_reply()
172 else if (size < sizeof(struct dhcp_packet)) in dhcp_reply()
173 size = sizeof(struct dhcp_packet); in dhcp_reply()
175 if (expand_buf(&daemon->dhcp_packet, size)) { in dhcp_reply()
176 mess = (struct dhcp_packet*) daemon->dhcp_packet.iov_base; in dhcp_reply()
1289 static unsigned char* option_find(struct dhcp_packet* mess, size_t size, int opt_type, int minsize)… in option_find()
1346 static unsigned char* find_overload(struct dhcp_packet* mess) { in find_overload()
1356 static size_t dhcp_packet_size(struct dhcp_packet* mess, struct dhcp_netid* netid, in dhcp_packet_size()
1425 static unsigned char* free_space(struct dhcp_packet* mess, unsigned char* end, int opt, int len) { in free_space()
1476 static void option_put(struct dhcp_packet* mess, unsigned char* end, int opt, int len, in option_put()
1485 static void option_put_string(struct dhcp_packet* mess, unsigned char* end, int opt, char* string, in option_put_string()
1558 static void do_encap_opts(struct dhcp_opt* opt, int encap, int flag, struct dhcp_packet* mess, in do_encap_opts()
1596 static void pxe_misc(struct dhcp_packet* mess, unsigned char* end, unsigned char* uuid) { in pxe_misc()
1727 static void clear_packet(struct dhcp_packet* mess, unsigned char* end) { in clear_packet()
1747 static void do_options(struct dhcp_context* context, struct dhcp_packet* mess, unsigned char* end, in do_options()