Lines Matching refs:dhcp_packet
103 daemon->dhcp_packet.iov_len = sizeof(struct dhcp_packet); in dhcp_init()
104 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len); in dhcp_init()
107 void dhcp_packet(time_t now) in dhcp_packet() function
109 struct dhcp_packet *mess; in dhcp_packet()
137 msg.msg_iov = &daemon->dhcp_packet; in dhcp_packet()
153 if ((size_t)sz == daemon->dhcp_packet.iov_len) in dhcp_packet()
155 if (!expand_buf(&daemon->dhcp_packet, sz + 100)) in dhcp_packet()
160 expand_buf(&daemon->dhcp_packet, sz); in dhcp_packet()
166 mess = (struct dhcp_packet *)daemon->dhcp_packet.iov_base; in dhcp_packet()
263 iov.iov_base = daemon->dhcp_packet.iov_base; in dhcp_packet()
266 mess = (struct dhcp_packet *)daemon->dhcp_packet.iov_base; in dhcp_packet()