Searched refs:gateway (Results 1 - 9 of 9) sorted by relevance

/systemd/src/network/
H A Dnetworkd-dhcp4.c54 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 Dnetworkd-ndisc.c142 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 Dnetworkctl.c298 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 Ddhcp-server-internal.h40 be32_t gateway; member in struct:DHCPLease
H A Dtest-ndisc-rs.c86 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 Dsd-dhcp-lease.c474 /* 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 Dsd-dhcp-server.c557 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 Dsd-dhcp-lease.h61 int sd_dhcp_route_get_gateway(sd_dhcp_route *route, struct in_addr *gateway);
H A Dsd-ndisc.h39 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