Searched refs:gw_addr (Results 1 - 4 of 4) sorted by relevance

/systemd/src/network/
H A Dtest-network.c74 assert_se(routes[0].gw_addr.s_addr == inet_addr("192.168.0.1"));
78 assert_se(routes[1].gw_addr.s_addr == inet_addr("10.1.2.1"));
82 assert_se(routes[2].gw_addr.s_addr == inet_addr("10.0.1.1"));
95 assert_se(routes[0].gw_addr.s_addr == inet_addr("192.168.0.1"));
99 assert_se(routes[1].gw_addr.s_addr == inet_addr("10.0.1.1"));
/systemd/src/libsystemd-network/
H A Ddhcp-lease-internal.h34 struct in_addr gw_addr; member in struct:sd_dhcp_route
H A Dsd-dhcp-lease.c451 assert_se(lease_parse_be32(option, 4, &route->gw_addr.s_addr) >= 0);
502 assert_se(lease_parse_be32(option, 4, &route->gw_addr.s_addr) >= 0);
1176 *gateway = route->gw_addr;
H A Dnetwork-internal.c517 r = inet_aton(tok, &routes[size].gw_addr);

Completed in 1265 milliseconds