/external/dnsmasq/contrib/wrt/ |
dhcp_lease_time.c | 61 struct dhcp_packet { struct 96 static unsigned char *option_find(struct dhcp_packet *mess, size_t size, int opt_type, int minsize) 137 struct dhcp_packet packet;
|
dhcp_release.c | 66 struct dhcp_packet { struct 252 struct dhcp_packet packet;
|
/external/dnsmasq/src/ |
dhcp.c | 98 daemon->dhcp_packet.iov_len = sizeof(struct dhcp_packet); 99 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len); 102 void dhcp_packet(time_t now) function 104 struct dhcp_packet *mess; 132 msg.msg_iov = &daemon->dhcp_packet; 148 if ((size_t)sz == daemon->dhcp_packet.iov_len) 150 if (!expand_buf(&daemon->dhcp_packet, sz + 100)) 155 expand_buf(&daemon->dhcp_packet, sz) [all...] |
rfc2131.c | 87 static void option_put(struct dhcp_packet *mess, unsigned char *end, int opt, int len, unsigned int val); 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, unsigned char *end, int null_term); 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 [all...] |
bpf.c | 154 void send_via_bpf(struct dhcp_packet *mess, size_t len,
|
dnsmasq.h | 563 struct dhcp_packet { struct 673 struct iovec dhcp_packet; member in struct:daemon 799 void dhcp_packet(time_t now); 869 void send_via_bpf(struct dhcp_packet *mess, size_t len,
|
dnsmasq.c | 701 dhcp_packet(now); [all...] |