Searched refs:gateway (Results 1 - 9 of 9) sorted by relevance
/systemd/src/network/ |
H A D | networkd-dhcp4.c | 54 struct in_addr gateway; local 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; local 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; local [all...] |
H A D | networkd-ndisc.c | 142 static void ndisc_router_handler(sd_ndisc *nd, uint8_t flags, const struct in6_addr *gateway, unsigned lifetime, int pref, void *userdata) { argument 164 if (!gateway) 179 route->gw.in6 = *gateway;
|
H A D | networkctl.c | 298 union in_addr_union *gateway, 307 assert(gateway); 382 if (!in_addr_equal(fam, &gw, gateway)) 412 _cleanup_free_ char *gateway = NULL, *description = NULL; local 414 r = in_addr_to_string(local[i].family, &local[i].address, &gateway); 420 log_debug_errno(r, "Could not get description of gateway: %m"); 425 gateway); 293 get_gateway_description( sd_netlink *rtnl, sd_hwdb *hwdb, int ifindex, int family, union in_addr_union *gateway, char **gateway_description) argument
|
/systemd/src/libsystemd-network/ |
H A D | dhcp-server-internal.h | 40 be32_t gateway; member in struct:DHCPLease
|
H A D | test-ndisc-rs.c | 86 static void test_rs_done(sd_ndisc *nd, uint8_t flags, const struct in6_addr *gateway, unsigned lifetime, int pref, void *userdata) { argument
|
H A D | sd-dhcp-lease.c | 474 /* option format: (subnet-mask-width significant-subnet-octets gateway-ip)* */ 1172 int sd_dhcp_route_get_gateway(sd_dhcp_route *route, struct in_addr *gateway) { argument 1174 assert_return(gateway, -EINVAL); 1176 *gateway = route->gw_addr;
|
H A D | sd-dhcp-server.c | 557 be32_t gateway, uint8_t chaddr[]) { 863 lease->gateway = req->message->giaddr; 1060 lease->gateway, 556 server_send_forcerenew(sd_dhcp_server *server, be32_t address, be32_t gateway, uint8_t chaddr[]) argument
|
/systemd/src/systemd/ |
H A D | sd-dhcp-lease.h | 61 int sd_dhcp_route_get_gateway(sd_dhcp_route *route, struct in_addr *gateway);
|
H A D | sd-ndisc.h | 39 typedef void(*sd_ndisc_router_callback_t)(sd_ndisc *nd, uint8_t flags, const struct in6_addr *gateway, unsigned lifetime, int pref, void *userdata);
|
Completed in 1464 milliseconds