Lines Matching refs:RoutingPolicyRule
45 RoutingPolicyRule *routing_policy_rule_free(RoutingPolicyRule *rule) { in routing_policy_rule_free()
64 DEFINE_SECTION_CLEANUP_FUNCTIONS(RoutingPolicyRule, routing_policy_rule_free);
66 static int routing_policy_rule_new(RoutingPolicyRule **ret) { in routing_policy_rule_new()
67 RoutingPolicyRule *rule; in routing_policy_rule_new()
69 rule = new(RoutingPolicyRule, 1); in routing_policy_rule_new()
73 *rule = (RoutingPolicyRule) { in routing_policy_rule_new()
87 …ew_static(Network *network, const char *filename, unsigned section_line, RoutingPolicyRule **ret) { in routing_policy_rule_new_static()
88 _cleanup_(routing_policy_rule_freep) RoutingPolicyRule *rule = NULL; in routing_policy_rule_new_static()
124 static int routing_policy_rule_dup(const RoutingPolicyRule *src, RoutingPolicyRule **ret) { in routing_policy_rule_dup()
125 _cleanup_(routing_policy_rule_freep) RoutingPolicyRule *dest = NULL; in routing_policy_rule_dup()
130 dest = newdup(RoutingPolicyRule, src, 1); in routing_policy_rule_dup()
156 static void routing_policy_rule_hash_func(const RoutingPolicyRule *rule, struct siphash *state) { in routing_policy_rule_hash_func()
197 static int routing_policy_rule_compare_func(const RoutingPolicyRule *a, const RoutingPolicyRule *b)… in routing_policy_rule_compare_func()
294 static bool routing_policy_rule_equal(const RoutingPolicyRule *rule1, const RoutingPolicyRule *rule… in routing_policy_rule_equal()
306 RoutingPolicyRule,
311 static int routing_policy_rule_get(Manager *m, const RoutingPolicyRule *in, RoutingPolicyRule **ret… in routing_policy_rule_get()
312 RoutingPolicyRule *rule; in routing_policy_rule_get()
351 static int routing_policy_rule_add(Manager *m, RoutingPolicyRule *rule) { in routing_policy_rule_add()
368 static int routing_policy_rule_acquire_priority(Manager *manager, RoutingPolicyRule *rule) { in routing_policy_rule_acquire_priority()
370 RoutingPolicyRule *tmp; in routing_policy_rule_acquire_priority()
416 static void log_routing_policy_rule_debug(const RoutingPolicyRule *rule, const char *str, const Lin… in log_routing_policy_rule_debug()
441 static int routing_policy_rule_set_netlink_message(const RoutingPolicyRule *rule, sd_netlink_messag… in routing_policy_rule_set_netlink_message()
578 static int routing_policy_rule_remove(RoutingPolicyRule *rule) { in routing_policy_rule_remove()
607 static int routing_policy_rule_configure(RoutingPolicyRule *rule, Link *link, Request *req) { in routing_policy_rule_configure()
633 RoutingPolicyRule *rule; in manager_mark_routing_policy_rules()
664 RoutingPolicyRule *existing; in manager_mark_routing_policy_rules()
686 RoutingPolicyRule *rule; in manager_drop_routing_policy_rules_internal()
706 RoutingPolicyRule *rule; in link_foreignize_routing_policy_rules()
721 static int routing_policy_rule_process_request(Request *req, Link *link, RoutingPolicyRule *rule) { in routing_policy_rule_process_request()
744 RoutingPolicyRule *rule) { in static_routing_policy_rule_configure_handler()
767 static int link_request_routing_policy_rule(Link *link, RoutingPolicyRule *rule) { in link_request_routing_policy_rule()
768 RoutingPolicyRule *existing; in link_request_routing_policy_rule()
777 _cleanup_(routing_policy_rule_freep) RoutingPolicyRule *tmp = NULL; in link_request_routing_policy_rule()
811 static int link_request_static_routing_policy_rule(Link *link, RoutingPolicyRule *rule) { in link_request_static_routing_policy_rule()
831 RoutingPolicyRule *rule; in link_request_static_routing_policy_rules()
856 static const RoutingPolicyRule kernel_rules[] = {
864 static bool routing_policy_rule_is_created_by_kernel(const RoutingPolicyRule *rule) { in routing_policy_rule_is_created_by_kernel()
880 _cleanup_(routing_policy_rule_freep) RoutingPolicyRule *tmp = NULL; in manager_rtnl_process_rule()
881 RoutingPolicyRule *rule = NULL; in manager_rtnl_process_rule()
1156 _cleanup_(routing_policy_rule_free_or_set_invalidp) RoutingPolicyRule *n = NULL; in config_parse_routing_policy_rule_tos()
1192 _cleanup_(routing_policy_rule_free_or_set_invalidp) RoutingPolicyRule *n = NULL; in config_parse_routing_policy_rule_priority()
1236 _cleanup_(routing_policy_rule_free_or_set_invalidp) RoutingPolicyRule *n = NULL; in config_parse_routing_policy_rule_table()
1273 _cleanup_(routing_policy_rule_free_or_set_invalidp) RoutingPolicyRule *n = NULL; in config_parse_routing_policy_rule_fwmark_mask()
1309 _cleanup_(routing_policy_rule_free_or_set_invalidp) RoutingPolicyRule *n = NULL; in config_parse_routing_policy_rule_prefix()
1358 _cleanup_(routing_policy_rule_free_or_set_invalidp) RoutingPolicyRule *n = NULL; in config_parse_routing_policy_rule_device()
1398 _cleanup_(routing_policy_rule_free_or_set_invalidp) RoutingPolicyRule *n = NULL; in config_parse_routing_policy_rule_port_range()
1443 _cleanup_(routing_policy_rule_free_or_set_invalidp) RoutingPolicyRule *n = NULL; in config_parse_routing_policy_rule_ip_protocol()
1481 _cleanup_(routing_policy_rule_free_or_set_invalidp) RoutingPolicyRule *n = NULL; in config_parse_routing_policy_rule_invert()
1519 _cleanup_(routing_policy_rule_free_or_set_invalidp) RoutingPolicyRule *n = NULL; in config_parse_routing_policy_rule_family()
1559 _cleanup_(routing_policy_rule_free_or_set_invalidp) RoutingPolicyRule *n = NULL; in config_parse_routing_policy_rule_uid_range()
1605 _cleanup_(routing_policy_rule_free_or_set_invalidp) RoutingPolicyRule *n = NULL; in config_parse_routing_policy_rule_suppress_prefixlen()
1645 _cleanup_(routing_policy_rule_free_or_set_invalidp) RoutingPolicyRule *n = NULL; in config_parse_routing_policy_rule_suppress_ifgroup()
1693 _cleanup_(routing_policy_rule_free_or_set_invalidp) RoutingPolicyRule *n = NULL; in config_parse_routing_policy_rule_type()
1720 static int routing_policy_rule_section_verify(RoutingPolicyRule *rule) { in routing_policy_rule_section_verify()
1749 RoutingPolicyRule *rule; in network_drop_invalid_routing_policy_rules()