Searched refs:gateways (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/shared/ |
D | local-addresses.c | 370 _cleanup_free_ struct local_address *list = NULL, *gateways = NULL; in local_outbounds() local 382 n_gateways = local_gateways(context, ifindex, af, &gateways); in local_outbounds() 398 fd = socket(gateways[i].family, SOCK_DGRAM|SOCK_CLOEXEC|SOCK_NONBLOCK, 0); in local_outbounds() 402 switch (gateways[i].family) { in local_outbounds() 407 .sin_addr = gateways[i].address.in, in local_outbounds() 417 .sin6_addr = gateways[i].address.in6, in local_outbounds() 419 .sin6_scope_id = gateways[i].ifindex, in local_outbounds() 433 r = socket_set_unicast_if(fd, gateways[i].family, gateways[i].ifindex); in local_outbounds() 435 … log_debug_errno(r, "Failed to set unicast interface index %i, ignoring: %m", gateways[i].ifindex); in local_outbounds() 442 r = socket_bind_to_ifindex(fd, gateways[i].ifindex); in local_outbounds() [all …]
|
/systemd-251/ |
D | NEWS | 9969 gateways, ordered by their metrics. This assigns a stable 9970 name to the used gateways, regardless which ones are
|