Home
last modified time | relevance | path

Searched refs:gateway (Results 1 – 21 of 21) sorted by relevance

/systemd-251/src/network/generator/
Dnetwork-generator.c122 union in_addr_union *dest, union in_addr_union *gateway, Route **ret) { in route_new() argument
135 .gateway = *gateway, in route_new()
402 union in_addr_union *dest, union in_addr_union *gateway) { in network_set_route() argument
406 if (!in_addr_is_set(family, gateway)) in network_set_route()
416 return route_new(network, family, prefixlen, dest, gateway, NULL); in network_set_route()
592 union in_addr_union addr = {}, peer = {}, gateway = {}; in parse_cmdline_ip_address() local
606 r = parse_ip_address_one(family, &value, &gateway); in parse_cmdline_ip_address()
655 r = network_set_route(context, ifname, family, 0, NULL, &gateway); in parse_cmdline_ip_address()
739 union in_addr_union addr = {}, gateway = {}; in parse_cmdline_rd_route() local
778 r = parse_ip_address_one(family, &value, &gateway); in parse_cmdline_rd_route()
[all …]
Dnetwork-generator.h46 union in_addr_union dest, gateway; member
/systemd-251/src/network/
Dnetworkd-ndisc.c298 struct in6_addr gateway; in ndisc_router_process_default() local
325 r = sd_ndisc_router_get_address(rt, &gateway); in ndisc_router_process_default()
329 if (link_get_ipv6_address(link, &gateway, 0, NULL) >= 0) { in ndisc_router_process_default()
333 (void) in6_addr_to_string(&gateway, &buffer); in ndisc_router_process_default()
360 route->gw.in6 = gateway; in ndisc_router_process_default()
383 route->gw.in6 = gateway; in ndisc_router_process_default()
594 struct in6_addr gateway, dst; in ndisc_router_process_route() local
637 r = sd_ndisc_router_get_address(rt, &gateway); in ndisc_router_process_route()
641 if (link_get_ipv6_address(link, &gateway, 0, NULL) >= 0) { in ndisc_router_process_route()
645 (void) in6_addr_to_string(&gateway, &buf); in ndisc_router_process_route()
[all …]
Dnetworkd-dhcp-server-bus.c56 … r = sd_bus_message_append_array(reply, 'y', &lease->gateway, sizeof(lease->gateway)); in property_get_leases()
Dnetworkd-route.c363 route->gw_family = m->gateway.family; in route_apply_multipath_route()
364 route->gw = m->gateway.address; in route_apply_multipath_route()
578 union in_addr_union a = m->gateway.address; in log_route_debug()
580 (void) in_addr_to_string(m->gateway.family, &a, &buf); in log_route_debug()
1076 if (route->family == m->gateway.family) { in append_nexthop_one()
1077 …r = rtattr_append_attribute(rta, RTA_GATEWAY, &m->gateway.address, FAMILY_ADDRESS_SIZE(m->gateway.… in append_nexthop_one()
1081 rtnh->rtnh_len += RTA_SPACE(FAMILY_ADDRESS_SIZE(m->gateway.family)); in append_nexthop_one()
1083 … rtattr_append_attribute(rta, RTA_VIA, &m->gateway, FAMILY_ADDRESS_SIZE(m->gateway.family) + sizeo… in append_nexthop_one()
1087 … rtnh->rtnh_len += RTA_SPACE(FAMILY_ADDRESS_SIZE(m->gateway.family) + sizeof(m->gateway.family)); in append_nexthop_one()
1293 union in_addr_union a = m->gateway.address; in route_is_ready_to_configure()
[all …]
Dnetworkctl.c910 union in_addr_union *gateway, in get_gateway_description() argument
918 assert(gateway); in get_gateway_description()
993 if (!in_addr_equal(fam, &gw, gateway)) in get_gateway_description()
1043 _cleanup_free_ char *gateway = NULL, *description = NULL; in dump_gateways() local
1045 r = in_addr_to_string(local[i].family, &local[i].address, &gateway); in dump_gateways()
1054 if (!strextend(&gateway, " (", description, ")")) in dump_gateways()
1060 gateway, in dump_gateways()
/systemd-251/src/libsystemd/sd-netlink/
Dnetlink-util.c544 .gateway = m->gateway, in multipath_route_dup()
591 m->gateway.family = family; in rtattr_read_nexthop()
592 … memcpy(&m->gateway.address, RTA_DATA(attr), FAMILY_ADDRESS_SIZE(family)); in rtattr_read_nexthop()
611 … memcpy(&m->gateway, RTA_DATA(attr), FAMILY_ADDRESS_SIZE(gw_family) + sizeof(gw_family)); in rtattr_read_nexthop()
Dnetlink-util.h21 RouteVia gateway; member
/systemd-251/src/shared/
Dlocal-addresses.c250 union in_addr_union gateway; in local_gateways() local
306 r = netlink_message_read_in_addr_union(m, RTA_GATEWAY, family, &gateway); in local_gateways()
311 via.address = gateway; in local_gateways()
348 … r = add_local_gateway(&list, &n_list, af, ifi, metric, &mr->gateway); in local_gateways()
/systemd-251/units/
Dsystemd-journal-gatewayd.service.in34 User=systemd-journal-gateway
/systemd-251/src/libsystemd-network/
Ddhcp-server-internal.h40 be32_t gateway; member
Dfuzz-dhcp-server.c32 lease->gateway = server_address->s_addr; in add_lease()
Dsd-dhcp-server.c702 be32_t gateway, in server_send_forcerenew() argument
954 be32_t gateway, in prepare_new_lease() argument
968 .gateway = gateway, in prepare_new_lease()
1430 k = server_send_forcerenew(server, lease->address, lease->gateway, in sd_dhcp_server_forcerenew()
Dsd-dhcp-lease.c1500 int sd_dhcp_route_get_gateway(sd_dhcp_route *route, struct in_addr *gateway) { in sd_dhcp_route_get_gateway() argument
1502 assert_return(gateway, -EINVAL); in sd_dhcp_route_get_gateway()
1504 *gateway = route->gw_addr; in sd_dhcp_route_get_gateway()
/systemd-251/src/systemd/
Dsd-dhcp-lease.h85 int sd_dhcp_route_get_gateway(sd_dhcp_route *route, struct in_addr *gateway);
/systemd-251/test/test-network/
Dsystemd-networkd-tests.py4530 …for (routes, gateway, dns_and_ntp_routes, classless) in itertools.product([True, False], repeat=4):
4532 …with self.subTest(routes=routes, gateway=gateway, dns_and_ntp_routes=dns_and_ntp_routes, classless…
4533 … self._test_dhcp_client_ipv4_use_routes_gateway(routes, gateway, dns_and_ntp_routes, classless)
/systemd-251/
DNEWS2133 * The configuration option -Dcompat-gateway-hostname has been dropped.
2990 locally defined, explicit routes to the gateway acquired via DHCP or
3422 which may be used to turn off use of the gateway information provided
3950 static route uses the gateway host configured via DHCP.
6798 current default IP gateway. Previously it did that for the "gateway"
9172 records for the "localhost" and "gateway" domains as well as
9968 "gateway" to the locally configured default IP routing
9974 systems that use the single-label hostname "gateway" in
12923 systemd-journal-gateway:systemd-journal-gateway. Packaging
13314 * An (optional) journal gateway daemon is now available as
/systemd-251/hwdb.d/
Dusb.ids20147 001d deRFnode / gateway
20152 0030 ZigBee gateway [ConBee II]
D20-usb-vendor-model.hwdb60375 ID_MODEL_FROM_DATABASE=deRFnode / gateway
60390 ID_MODEL_FROM_DATABASE=ZigBee gateway [ConBee II]
Dma-small.txt16528 22600 gateway center drive, Suite 100
Dma-large.txt75982 107C, 31/f, The gateway, Tower 5, Harbour City, 15 canton road, Tsim Sha Tsui, Hong Kong