Lines Matching refs:in_addr

34 int sd_dhcp_lease_get_address(sd_dhcp_lease *lease, struct in_addr *addr) {  in sd_dhcp_lease_get_address()
45 int sd_dhcp_lease_get_broadcast(sd_dhcp_lease *lease, struct in_addr *addr) { in sd_dhcp_lease_get_broadcast()
103 const struct in_addr **addr) { in sd_dhcp_lease_get_servers()
118 int sd_dhcp_lease_get_dns(sd_dhcp_lease *lease, const struct in_addr **addr) { in sd_dhcp_lease_get_dns()
121 int sd_dhcp_lease_get_ntp(sd_dhcp_lease *lease, const struct in_addr **addr) { in sd_dhcp_lease_get_ntp()
124 int sd_dhcp_lease_get_sip(sd_dhcp_lease *lease, const struct in_addr **addr) { in sd_dhcp_lease_get_sip()
127 int sd_dhcp_lease_get_pop3(sd_dhcp_lease *lease, const struct in_addr **addr) { in sd_dhcp_lease_get_pop3()
130 int sd_dhcp_lease_get_smtp(sd_dhcp_lease *lease, const struct in_addr **addr) { in sd_dhcp_lease_get_smtp()
133 int sd_dhcp_lease_get_lpr(sd_dhcp_lease *lease, const struct in_addr **addr) { in sd_dhcp_lease_get_lpr()
170 int sd_dhcp_lease_get_router(sd_dhcp_lease *lease, const struct in_addr **addr) { in sd_dhcp_lease_get_router()
181 int sd_dhcp_lease_get_netmask(sd_dhcp_lease *lease, struct in_addr *addr) { in sd_dhcp_lease_get_netmask()
192 int sd_dhcp_lease_get_server_identifier(sd_dhcp_lease *lease, struct in_addr *addr) { in sd_dhcp_lease_get_server_identifier()
203 int sd_dhcp_lease_get_next_server(sd_dhcp_lease *lease, struct in_addr *addr) { in sd_dhcp_lease_get_next_server()
272 const struct in_addr **ret_br_addresses, in sd_dhcp_lease_get_6rd()
434 static int lease_parse_in_addrs(const uint8_t *option, size_t len, struct in_addr **ret, size_t *n_… in lease_parse_in_addrs()
444 struct in_addr *addresses; in lease_parse_in_addrs()
451 addresses = newdup(struct in_addr, option, n_addresses); in lease_parse_in_addrs()
463 static int lease_parse_sip_server(const uint8_t *option, size_t len, struct in_addr **ret, size_t *… in lease_parse_sip_server()
494 struct in_addr dst, gw; in lease_parse_static_routes()
535 struct in_addr dst = {}, gw; in lease_parse_classless_routes()
574 _cleanup_free_ struct in_addr *br_addresses = NULL; in lease_parse_6rd()
587 if (len < 2 + sizeof(struct in6_addr) + sizeof(struct in_addr) || in lease_parse_6rd()
588 (len - 2 - sizeof(struct in6_addr)) % sizeof(struct in_addr) != 0) in lease_parse_6rd()
612 n_br_addresses = (len - 2 - sizeof(struct in6_addr)) / sizeof(struct in_addr); in lease_parse_6rd()
613 br_addresses = newdup(struct in_addr, option + 2 + sizeof(struct in6_addr), n_br_addresses); in lease_parse_6rd()
966 struct in_addr address; in dhcp_lease_save()
967 const struct in_addr *addresses; in dhcp_lease_save()
1417 struct in_addr address, mask; in dhcp_lease_set_default_subnet_mask()
1484 int sd_dhcp_route_get_destination(sd_dhcp_route *route, struct in_addr *destination) { in sd_dhcp_route_get_destination()
1500 int sd_dhcp_route_get_gateway(sd_dhcp_route *route, struct in_addr *gateway) { in sd_dhcp_route_get_gateway()