Lines Matching defs:sd_dhcp_lease

33 typedef struct sd_dhcp_lease sd_dhcp_lease;
36 sd_dhcp_lease *sd_dhcp_lease_ref(sd_dhcp_lease *lease);
37 sd_dhcp_lease *sd_dhcp_lease_unref(sd_dhcp_lease *lease);
39 int sd_dhcp_lease_get_address(sd_dhcp_lease *lease, struct in_addr *addr);
40 int sd_dhcp_lease_get_lifetime(sd_dhcp_lease *lease, uint32_t *lifetime);
41 int sd_dhcp_lease_get_t1(sd_dhcp_lease *lease, uint32_t *t1);
42 int sd_dhcp_lease_get_t2(sd_dhcp_lease *lease, uint32_t *t2);
43 int sd_dhcp_lease_get_broadcast(sd_dhcp_lease *lease, struct in_addr *addr);
44 int sd_dhcp_lease_get_netmask(sd_dhcp_lease *lease, struct in_addr *addr);
45 int sd_dhcp_lease_get_router(sd_dhcp_lease *lease, struct in_addr *addr);
46 int sd_dhcp_lease_get_next_server(sd_dhcp_lease *lease, struct in_addr *addr);
47 int sd_dhcp_lease_get_server_identifier(sd_dhcp_lease *lease, struct in_addr *addr);
48 int sd_dhcp_lease_get_dns(sd_dhcp_lease *lease, const struct in_addr **addr);
49 int sd_dhcp_lease_get_ntp(sd_dhcp_lease *lease, const struct in_addr **addr);
50 int sd_dhcp_lease_get_mtu(sd_dhcp_lease *lease, uint16_t *mtu);
51 int sd_dhcp_lease_get_domainname(sd_dhcp_lease *lease, const char **domainname);
52 int sd_dhcp_lease_get_hostname(sd_dhcp_lease *lease, const char **hostname);
53 int sd_dhcp_lease_get_root_path(sd_dhcp_lease *lease, const char **root_path);
54 int sd_dhcp_lease_get_routes(sd_dhcp_lease *lease, sd_dhcp_route ***routes);
55 int sd_dhcp_lease_get_vendor_specific(sd_dhcp_lease *lease, const void **data, size_t *data_len);
56 int sd_dhcp_lease_get_client_id(sd_dhcp_lease *lease, const void **client_id, size_t *client_id_len);
57 int sd_dhcp_lease_get_timezone(sd_dhcp_lease *lease, const char **timezone);
63 _SD_DEFINE_POINTER_CLEANUP_FUNC(sd_dhcp_lease, sd_dhcp_lease_unref);