Home
last modified time | relevance | path

Searched refs:dhcp_lease (Results 1 – 9 of 9) 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
830 struct dhcp_lease *lease_allocate(struct in_addr addr);
831 void lease_set_hwaddr(struct dhcp_lease *lease, unsigned char *hwaddr,
833 void lease_set_hostname(struct dhcp_lease *lease, char *name, int auth);
834 void lease_set_expires(struct dhcp_lease *lease, unsigned int len, time_t now);
835 void lease_set_interface(struct dhcp_lease *lease, int interface);
836 struct dhcp_lease *lease_find_by_client(unsigned char *hwaddr, int hw_len, int hw_type,
838 struct dhcp_lease *lease_find_by_addr(struct in_addr addr);
839 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-6.8.2/
Ddhcp.h188 struct dhcp_lease { struct
226 struct dhcp_lease lease;
Dipv4.c819 ipv4_addaddr(struct interface *ifp, const struct dhcp_lease *lease) in ipv4_addaddr()
883 struct dhcp_lease *lease; in ipv4_finaliseaddr()
910 struct dhcp_lease *lease; in ipv4_applyaddr()
Ddhcp.c725 const struct dhcp_lease *lease = &state->lease; in make_message()
1430 struct dhcp_lease *lease, const struct dhcp_message *dhcp) in get_lease()
1890 struct dhcp_lease *lease = &state->lease; in dhcp_renew()
1919 struct dhcp_lease *lease = &state->lease; in dhcp_rebind()
2066 struct dhcp_lease *lease = &state->lease; in dhcp_bind()
2830 struct dhcp_lease *lease = &state->lease; in dhcp_handledhcp()
/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;