Lines Matching refs:dhcp_packet
82 daemon->dhcp_packet.iov_len = sizeof(struct dhcp_packet); in dhcp_init()
83 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len); in dhcp_init()
86 void dhcp_packet(time_t now) { in dhcp_packet() function
87 struct dhcp_packet* mess; in dhcp_packet()
111 msg.msg_iov = &daemon->dhcp_packet; in dhcp_packet()
125 if ((size_t) sz == daemon->dhcp_packet.iov_len) { in dhcp_packet()
126 if (!expand_buf(&daemon->dhcp_packet, sz + 100)) return; in dhcp_packet()
128 expand_buf(&daemon->dhcp_packet, sz); in dhcp_packet()
134 mess = (struct dhcp_packet*) daemon->dhcp_packet.iov_base; in dhcp_packet()
207 iov.iov_base = daemon->dhcp_packet.iov_base; in dhcp_packet()
210 mess = (struct dhcp_packet*) daemon->dhcp_packet.iov_base; in dhcp_packet()