Lines Matching refs:gateway
54 struct in_addr gateway;
61 r = sd_dhcp_lease_get_router(link->dhcp_lease, &gateway);
63 return log_link_warning_errno(link, r, "DHCP error: could not get gateway: %m");
84 /* The dhcp netmask may mask out the gateway. Add an explicit
88 route_gw->dst.in = gateway;
102 route->gw.in = gateway;
150 struct in_addr gateway;
184 r = sd_dhcp_lease_get_router(link->dhcp_lease, &gateway);
192 route_gw->dst.in = gateway;
203 route->gw.in = gateway;
363 struct in_addr gateway;
385 r = sd_dhcp_lease_get_router(lease, &gateway);
387 return log_link_error_errno(link, r, "DHCP error: Could not get gateway: %m");
395 ADDRESS_FMT_VAL(gateway)),
398 "GATEWAY=%u.%u.%u.%u", ADDRESS_FMT_VAL(gateway),