diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-01-26 14:22:38 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-02-02 14:43:38 +0100 |
commit | ea471a4695723979021d37ab31c45210107ea689 (patch) | |
tree | 977e8c8c4e1e6c85bed71f312918039f5f119b92 /src/network/networkd-routing-policy-rule.h | |
parent | util: add parse_uid_range() helper function (diff) | |
download | systemd-ea471a4695723979021d37ab31c45210107ea689.tar.xz systemd-ea471a4695723979021d37ab31c45210107ea689.zip |
network: support UID based routing policy
Closes #14666.
Diffstat (limited to 'src/network/networkd-routing-policy-rule.h')
-rw-r--r-- | src/network/networkd-routing-policy-rule.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-routing-policy-rule.h b/src/network/networkd-routing-policy-rule.h index 6b8e310227..2afd8f75a6 100644 --- a/src/network/networkd-routing-policy-rule.h +++ b/src/network/networkd-routing-policy-rule.h @@ -49,6 +49,7 @@ struct RoutingPolicyRule { struct fib_rule_port_range sport; struct fib_rule_port_range dport; + struct fib_rule_uid_range uid_range; LIST_FIELDS(RoutingPolicyRule, rules); }; @@ -79,3 +80,4 @@ CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_port_range); CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_ip_protocol); CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_invert); CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_family); +CONFIG_PARSER_PROTOTYPE(config_parse_routing_policy_rule_uid_range); |