diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-02-28 10:55:51 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-03-11 14:20:31 +0900 |
commit | 09d09207dece533ced25c91024ce7a1c0ed660d8 (patch) | |
tree | 386d5fc738c98f696d928aa399d4ea98fdfbae7c /src/network/networkd-ipv6-proxy-ndp.h | |
parent | 4c8b81caa518df34d4e69f6660fc4fbdf0b42ce4 (diff) | |
download | systemd-09d09207dece533ced25c91024ce7a1c0ed660d8.tar.gz |
network: re-design request queue
This makes Request object takes hash, compare, free, and process functions.
With this change, the logic in networkd-queue.c can be mostly
independent of the type of the request or the object (e.g. Address) assigned
to the request, and it becomes simpler.
Diffstat (limited to 'src/network/networkd-ipv6-proxy-ndp.h')
-rw-r--r-- | src/network/networkd-ipv6-proxy-ndp.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/network/networkd-ipv6-proxy-ndp.h b/src/network/networkd-ipv6-proxy-ndp.h index 39a7820599..e57d28f99d 100644 --- a/src/network/networkd-ipv6-proxy-ndp.h +++ b/src/network/networkd-ipv6-proxy-ndp.h @@ -5,11 +5,9 @@ typedef struct Link Link; typedef struct Network Network; -typedef struct Request Request; void network_adjust_ipv6_proxy_ndp(Network *network); int link_request_static_ipv6_proxy_ndp_addresses(Link *link); -int ipv6_proxy_ndp_address_process_request(Request *req, Link *link, struct in6_addr *address); CONFIG_PARSER_PROTOTYPE(config_parse_ipv6_proxy_ndp_address); |