Lines Matching refs:Route
24 int route_new(Route **ret) { in route_new()
25 _cleanup_(route_freep) Route *route = NULL; in route_new()
27 route = new(Route, 1); in route_new()
31 *route = (Route) { in route_new()
49 static int route_new_static(Network *network, const char *filename, unsigned section_line, Route **… in route_new_static()
51 _cleanup_(route_freep) Route *route = NULL; in route_new_static()
89 Route *route_free(Route *route) { in route_free()
113 static void route_hash_func(const Route *route, struct siphash *state) { in route_hash_func()
155 static int route_compare_func(const Route *a, const Route *b) { in route_compare_func()
248 Route,
253 static bool route_type_is_reject(const Route *route) { in route_type_is_reject()
259 static bool route_needs_convert(const Route *route) { in route_needs_convert()
265 static int route_add(Manager *manager, Link *link, Route *route) { in route_add()
295 int route_get(Manager *manager, Link *link, const Route *in, Route **ret) { in route_get()
296 Route *route; in route_get()
320 int route_dup(const Route *src, Route **ret) { in route_dup()
321 _cleanup_(route_freep) Route *dest = NULL; in route_dup()
328 dest = newdup(Route, src, 1); in route_dup()
344 static void route_apply_nexthop(Route *route, const NextHop *nh, uint8_t nh_weight) { in route_apply_nexthop()
359 static void route_apply_multipath_route(Route *route, const MultipathRoute *m) { in route_apply_multipath_route()
390 Route **routes;
411 _cleanup_free_ Route **routes = NULL; in converted_routes_new()
417 routes = new0(Route*, n); in converted_routes_new()
439 static int route_convert(Manager *manager, const Route *route, ConvertedRoutes **ret) { in route_convert()
530 Route *route; in link_mark_routes()
546 static void log_route_debug(const Route *route, const char *str, const Link *link, const Manager *m… in log_route_debug()
608 static int route_set_netlink_message(const Route *route, sd_netlink_message *req, Link *link) { in route_set_netlink_message()
726 int route_remove(Route *route) { in route_remove()
779 Route *route; in manager_mark_routes()
819 Route *existing; in manager_mark_routes()
838 Route *route; in manager_drop_marked_routes()
855 static bool route_by_kernel(const Route *route) { in route_by_kernel()
873 Route *route, *existing; in link_unmark_wireguard_routes()
888 Route *route; in link_drop_foreign_routes()
921 Route *existing; in link_drop_foreign_routes()
959 Route *route; in link_drop_managed_routes()
991 Route *route; in link_foreignize_routes()
1009 Route *route = userdata; in route_expire_handler()
1028 static int route_setup_timer(Route *route, const struct rta_cacheinfo *cacheinfo) { in route_setup_timer()
1052 static int append_nexthop_one(const Link *link, const Route *route, const MultipathRoute *m, struct… in append_nexthop_one()
1097 static int append_nexthops(const Link *link, const Route *route, sd_netlink_message *req) { in append_nexthops()
1154 static int route_configure(const Route *route, Link *link, Request *req) { in route_configure()
1249 static int route_is_ready_to_configure(const Route *route, Link *link) { in route_is_ready_to_configure()
1313 static int route_process_request(Request *req, Link *link, Route *route) { in route_process_request()
1336 Route *existing; in route_process_request()
1339 _cleanup_(route_freep) Route *tmp = NULL; in route_process_request()
1363 Route *existing; in route_process_request()
1376 Route *route, in link_request_route()
1382 Route *existing; in link_request_route()
1392 _cleanup_(route_freep) Route *tmp = NULL; in link_request_route()
1439 …ic_route_handler(sd_netlink *rtnl, sd_netlink_message *m, Request *req, Link *link, Route *route) { in static_route_handler()
1457 static int link_request_static_route(Link *link, Route *route) { in link_request_static_route()
1476 Route *route; in link_request_wireguard_routes()
1504 Route *route; in link_request_static_routes()
1539 void route_cancel_request(Route *route, Link *link) { in route_cancel_request()
1567 Route *in, in process_route_one()
1570 _cleanup_(route_freep) Route *tmp = in; in process_route_one()
1571 Route *route = NULL; in process_route_one()
1637 _cleanup_(route_freep) Route *tmp = NULL; in manager_rtnl_process_route()
1884 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in network_add_ipv4ll_route()
1917 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in network_add_default_route_on_device()
1955 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_gateway()
2038 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_preferred_src()
2083 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_destination()
2141 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_route_priority()
2184 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_route_scope()
2227 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_route_nexthop()
2279 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_route_table()
2323 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_route_boolean()
2376 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_ipv6_route_preference()
2417 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_route_protocol()
2455 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_route_type()
2492 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_tcp_advmss()
2549 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_tcp_window()
2610 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_route_mtu()
2649 _cleanup_(route_free_or_set_invalidp) Route *n = NULL; in config_parse_multipath_route()
2753 static int route_section_verify(Route *route, Network *network) { in route_section_verify()
2891 Route *route; in network_drop_invalid_routes()