diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-12-03 17:55:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 17:55:00 +0100 |
commit | a20f73221ad3662690fb08830cda421b6db35600 (patch) | |
tree | 2f2d3e031625621353a12607c31332e5da0469e8 /src/network/networkd-routing-policy-rule.h | |
parent | 7934dede41bc654c3f78b2896c535d9113b2e3a0 (diff) | |
parent | 302a796f5a9d64f844698eb90ff4227ba7cc0457 (diff) | |
download | systemd-a20f73221ad3662690fb08830cda421b6db35600.tar.gz |
Merge pull request #10976 from yuwata/typesafe-netlink-call
netlink: introduce typesafe netlink functions
Diffstat (limited to 'src/network/networkd-routing-policy-rule.h')
-rw-r--r-- | src/network/networkd-routing-policy-rule.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/network/networkd-routing-policy-rule.h b/src/network/networkd-routing-policy-rule.h index 5665f9979b..2114eb4c3d 100644 --- a/src/network/networkd-routing-policy-rule.h +++ b/src/network/networkd-routing-policy-rule.h @@ -53,10 +53,8 @@ void routing_policy_rule_free(RoutingPolicyRule *rule); DEFINE_TRIVIAL_CLEANUP_FUNC(RoutingPolicyRule*, routing_policy_rule_free); -int routing_policy_rule_configure(RoutingPolicyRule *address, Link *link, sd_netlink_message_handler_t callback, bool update); -int routing_policy_rule_remove(RoutingPolicyRule *routing_policy_rule, Link *link, sd_netlink_message_handler_t callback); -int link_routing_policy_rule_remove_handler(sd_netlink *rtnl, sd_netlink_message *m, void *userdata); -int link_routing_policy_rule_handler(sd_netlink *rtnl, sd_netlink_message *m, void *userdata); +int routing_policy_rule_configure(RoutingPolicyRule *address, Link *link, link_netlink_message_handler_t callback, bool update); +int routing_policy_rule_remove(RoutingPolicyRule *routing_policy_rule, Link *link, link_netlink_message_handler_t callback); int routing_policy_rule_add(Manager *m, int family, const union in_addr_union *from, uint8_t from_prefixlen, const union in_addr_union *to, uint8_t to_prefixlen, uint8_t tos, uint32_t fwmark, uint32_t table, const char *iif, const char *oif, uint8_t protocol, const struct fib_rule_port_range *sport, |