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.h406 struct dhcp_lease { struct
425 struct dhcp_lease *next; argument
829 struct dhcp_lease *lease_allocate(struct in_addr addr);
830 void lease_set_hwaddr(struct dhcp_lease *lease, unsigned char *hwaddr,
832 void lease_set_hostname(struct dhcp_lease *lease, char *name, int auth);
833 void lease_set_expires(struct dhcp_lease *lease, unsigned int len, time_t now);
834 void lease_set_interface(struct dhcp_lease *lease, int interface);
835 struct dhcp_lease *lease_find_by_client(unsigned char *hwaddr, int hw_len, int hw_type,
837 struct dhcp_lease *lease_find_by_addr(struct in_addr addr);
838 void lease_prune(struct dhcp_lease *target, time_t now);
[all …]
Ddbus.c393 void emit_dbus_signal(int action, struct dhcp_lease *lease, char *hostname) in emit_dbus_signal()
Dhelper.c298 void queue_script(int action, struct dhcp_lease *lease, char *hostname, time_t now) in queue_script()
Drfc2131.c125 struct dhcp_lease *ltmp, *lease = NULL; in dhcp_reply()
/external/dhcpcd/
Ddhcp.h158 struct dhcp_lease { struct
202 void get_lease(struct dhcp_lease *, const struct dhcp_message *);
Dshowlease.c306 void showlease(struct dhcp_lease *lease) in showlease()
321 struct dhcp_lease *lease; in main()
Ddhcpcd.h71 struct dhcp_lease lease;
Dbind.c126 struct dhcp_lease *lease = &state->lease; in bind_interface()
Ddhcp.c916 const struct dhcp_lease *lease = &iface->state->lease; in make_message()
1464 get_lease(struct dhcp_lease *lease, const struct dhcp_message *dhcp) in get_lease()
Dconfigure.c778 struct dhcp_lease *lease = &iface->state->lease; in configure()
Ddhcpcd.c509 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;