Lines Matching refs:dst
284 route->dst.in.s_addr = address.s_addr & netmask.s_addr; in dhcp4_request_prefix_route()
309 route->dst.in = *gw; in dhcp4_request_route_to_gateway()
343 if (in4_addr_is_localhost(&route->dst.in)) { in dhcp4_request_route_auto()
347 … IPV4_ADDRESS_FMT_VAL(route->dst.in), route->dst_prefixlen, IPV4_ADDRESS_FMT_VAL(*gw)); in dhcp4_request_route_auto()
354 } else if (in4_addr_equal(&route->dst.in, &address)) { in dhcp4_request_route_auto()
358 … IPV4_ADDRESS_FMT_VAL(route->dst.in), route->dst_prefixlen, IPV4_ADDRESS_FMT_VAL(*gw)); in dhcp4_request_route_auto()
366 (route->dst.in.s_addr & netmask.s_addr) == prefix.s_addr) { in dhcp4_request_route_auto()
370 IPV4_ADDRESS_FMT_VAL(route->dst.in), route->dst_prefixlen, in dhcp4_request_route_auto()
383 IPV4_ADDRESS_FMT_VAL(route->dst.in), route->dst_prefixlen, in dhcp4_request_route_auto()
444 struct in_addr dst; in dhcp4_request_static_routes() local
447 r = sd_dhcp_route_get_destination(classless_routes[i], &dst); in dhcp4_request_static_routes()
451 if (in4_addr_is_set(&dst)) in dhcp4_request_static_routes()
496 r = sd_dhcp_route_get_destination(routes[i], &route->dst.in); in dhcp4_request_static_routes()
508 in4_addr_is_null(&route->dst.in) && route->dst_prefixlen == 0 && in dhcp4_request_static_routes()
645 route->dst.in = servers[i]; in dhcp4_request_routes_to_servers()