Searched refs:src_prefixlen (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/network/ ! |
D | networkd-route.c | 124 siphash24_compress(&route->src_prefixlen, sizeof(route->src_prefixlen), state); in route_hash_func() 173 r = CMP(a->src_prefixlen, b->src_prefixlen); in route_compare_func() 563 if (in_addr_is_set(route->family, &route->src) || route->src_prefixlen > 0) in log_route_debug() 564 … (void) in_addr_prefix_to_string(route->family, &route->src, route->src_prefixlen, &src); in log_route_debug() 643 if (route->src_prefixlen > 0) { in route_set_netlink_message() 648 r = sd_rtnl_message_route_set_src_prefixlen(req, route->src_prefixlen); in route_set_netlink_message() 1756 r = sd_rtnl_message_route_get_src_prefixlen(message, &tmp->src_prefixlen); in manager_rtnl_process_route() 2108 prefixlen = &n->src_prefixlen; in config_parse_destination()
|
D | networkd-route.h | 42 unsigned char src_prefixlen; member
|
D | networkd-route-util.c | 52 if (route->src_prefixlen != 0) in link_find_default_gateway()
|
D | networkd-json.c | 302 JSON_BUILD_PAIR_CONDITION(route->src_prefixlen > 0, in route_build_json() 304 … JSON_BUILD_PAIR_UNSIGNED_NON_ZERO("SourcePrefixLength", route->src_prefixlen), in route_build_json()
|