Searched refs:dhcp_packet (Results 1 – 8 of 8) sorted by relevance
/external/dnsmasq/src/ |
D | dhcp.c | 98 daemon->dhcp_packet.iov_len = sizeof(struct dhcp_packet); in dhcp_init() 99 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len); in dhcp_init() 102 void dhcp_packet(time_t now) in dhcp_packet() function 104 struct dhcp_packet *mess; in dhcp_packet() 132 msg.msg_iov = &daemon->dhcp_packet; in dhcp_packet() 148 if ((size_t)sz == daemon->dhcp_packet.iov_len) in dhcp_packet() 150 if (!expand_buf(&daemon->dhcp_packet, sz + 100)) in dhcp_packet() 155 expand_buf(&daemon->dhcp_packet, sz); in dhcp_packet() 161 mess = (struct dhcp_packet *)daemon->dhcp_packet.iov_base; in dhcp_packet() 258 iov.iov_base = daemon->dhcp_packet.iov_base; in dhcp_packet() [all …]
|
D | rfc2131.c | 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() [all …]
|
D | dnsmasq.h | 563 struct dhcp_packet { struct 673 struct iovec dhcp_packet; member 799 void dhcp_packet(time_t now); 869 void send_via_bpf(struct dhcp_packet *mess, size_t len,
|
D | bpf.c | 154 void send_via_bpf(struct dhcp_packet *mess, size_t len, in send_via_bpf()
|
D | dnsmasq.c | 701 dhcp_packet(now); in main()
|
/external/dnsmasq/contrib/wrt/ |
D | 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) in option_find() 137 struct dhcp_packet packet; in main()
|
D | dhcp_release.c | 66 struct dhcp_packet { struct 252 struct dhcp_packet packet; in main()
|
/external/dnsmasq/contrib/lease-access/ |
D | lease.access.patch | 79 - dhcp_packet(now); 80 + dhcp_packet(piperead, now); 186 -void dhcp_packet(time_t now); 187 +void dhcp_packet(int piperead, time_t now); 270 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len); 273 -void dhcp_packet(time_t now) 274 +void dhcp_packet(int piperead, time_t now) 276 struct dhcp_packet *mess; 415 +static int check_access_script( int piperead, struct dhcp_lease *lease, struct dhcp_packet *mess, …
|