Lines Matching refs:dhcp_packet

87 static void option_put(struct dhcp_packet *mess, unsigned char *end, int opt, int len, unsigned int…
88 static void option_put_string(struct dhcp_packet *mess, unsigned char *end,
95 static unsigned char *option_find(struct dhcp_packet *mess, size_t size, int opt_type, int minsize);
97 static size_t dhcp_packet_size(struct dhcp_packet *mess, struct dhcp_netid *netid,
99 static void clear_packet(struct dhcp_packet *mess, unsigned char *end);
101 struct dhcp_packet *mess,
114 static void do_encap_opts(struct dhcp_opt *opts, int encap, int flag, struct dhcp_packet *mess, uns…
115 static void pxe_misc(struct dhcp_packet *mess, unsigned char *end, unsigned char *uuid);
130 struct dhcp_packet *mess = (struct dhcp_packet *)daemon->dhcp_packet.iov_base; in dhcp_reply()
182 else if (size < sizeof(struct dhcp_packet)) in dhcp_reply()
183 size = sizeof(struct dhcp_packet); in dhcp_reply()
185 if (expand_buf(&daemon->dhcp_packet, size)) in dhcp_reply()
187 mess = (struct dhcp_packet *)daemon->dhcp_packet.iov_base; in dhcp_reply()
1473 static unsigned char *option_find(struct dhcp_packet *mess, size_t size, int opt_type, int minsize) in option_find()
1535 static unsigned char *find_overload(struct dhcp_packet *mess) in find_overload()
1548 static size_t dhcp_packet_size(struct dhcp_packet *mess, struct dhcp_netid *netid, in dhcp_packet_size()
1630 static unsigned char *free_space(struct dhcp_packet *mess, unsigned char *end, int opt, int len) in free_space()
1692 static void option_put(struct dhcp_packet *mess, unsigned char *end, int opt, int len, unsigned int… in option_put()
1702 static void option_put_string(struct dhcp_packet *mess, unsigned char *end, int opt, in option_put_string()
1794 struct dhcp_packet *mess, unsigned char *end, int null_term) in do_encap_opts()
1838 static void pxe_misc(struct dhcp_packet *mess, unsigned char *end, unsigned char *uuid) in pxe_misc()
1989 static void clear_packet(struct dhcp_packet *mess, unsigned char *end) in clear_packet()
2015 struct dhcp_packet *mess, in do_options()