Home
last modified time | relevance | path

Searched refs:dhcp_lease (Results 1 – 13 of 13) sorted by relevance

/external/dnsmasq/src/
Dlease.c21 static struct dhcp_lease *leases = NULL, *old_leases = NULL;
28 struct dhcp_lease *lease; in lease_init()
149 struct dhcp_lease *lease; in lease_update_from_configs()
175 struct dhcp_lease *lease; in lease_update_file()
245 struct dhcp_lease *lease; in lease_update_dns()
264 void lease_prune(struct dhcp_lease *target, time_t now) in lease_prune()
266 struct dhcp_lease *lease, *tmp, **up; in lease_prune()
292 struct dhcp_lease *lease_find_by_client(unsigned char *hwaddr, int hw_len, int hw_type, in lease_find_by_client()
295 struct dhcp_lease *lease; in lease_find_by_client()
314 struct dhcp_lease *lease_find_by_addr(struct in_addr addr) in lease_find_by_addr()
[all …]
Ddnsmasq.h404 struct dhcp_lease { struct
423 struct dhcp_lease *next; argument
826 struct dhcp_lease *lease_allocate(struct in_addr addr);
827 void lease_set_hwaddr(struct dhcp_lease *lease, unsigned char *hwaddr,
829 void lease_set_hostname(struct dhcp_lease *lease, char *name, int auth);
830 void lease_set_expires(struct dhcp_lease *lease, unsigned int len, time_t now);
831 void lease_set_interface(struct dhcp_lease *lease, int interface);
832 struct dhcp_lease *lease_find_by_client(unsigned char *hwaddr, int hw_len, int hw_type,
834 struct dhcp_lease *lease_find_by_addr(struct in_addr addr);
835 void lease_prune(struct dhcp_lease *target, time_t now);
[all …]
Dhelper.c298 void queue_script(int action, struct dhcp_lease *lease, char *hostname, time_t now) in queue_script()
Ddbus.c393 void emit_dbus_signal(int action, struct dhcp_lease *lease, char *hostname) in emit_dbus_signal()
Drfc2131.c125 struct dhcp_lease *ltmp, *lease = NULL; in dhcp_reply()
/external/dhcpcd/
Ddhcp.h157 struct dhcp_lease { struct
199 void get_lease(struct dhcp_lease *, const struct dhcp_message *);
Ddhcpcd.h70 struct dhcp_lease lease;
Dshowlease.c306 void showlease(struct dhcp_lease *lease) in showlease()
321 struct dhcp_lease *lease; in main()
Dbind.c126 struct dhcp_lease *lease = &state->lease; in bind_interface()
Ddhcp.c844 const struct dhcp_lease *lease = &iface->state->lease; in make_message()
1388 get_lease(struct dhcp_lease *lease, const struct dhcp_message *dhcp) in get_lease()
Dconfigure.c721 struct dhcp_lease *lease = &iface->state->lease; in configure()
Ddhcpcd.c493 struct dhcp_lease *lease = &state->lease; in handle_dhcp()
/external/dnsmasq/contrib/lease-access/
Dlease.access.patch216 void queue_script(int action, struct dhcp_lease *lease,
363 -void queue_script(int action, struct dhcp_lease *lease, char *hostname, time_t now)
364 +void queue_script(int action, struct dhcp_lease *lease, char *hostname, time_t now, unsigned int u…
415 +static int check_access_script( int piperead, struct dhcp_lease *lease, struct dhcp_packet *mess, …
421 +struct dhcp_lease _lease;