diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-18 06:24:32 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-06-07 23:33:27 +0200 |
commit | 354bc760cddeb1577eb187040dc461c22da66868 (patch) | |
tree | 984f72d6adf48eb670f2abbe823375ddceb800ab /src/network/networkd-queue.h | |
parent | network: address label: use struct in6_addr instead (diff) | |
download | systemd-354bc760cddeb1577eb187040dc461c22da66868.tar.xz systemd-354bc760cddeb1577eb187040dc461c22da66868.zip |
network: address label: use request queue to configure address labels
Diffstat (limited to 'src/network/networkd-queue.h')
-rw-r--r-- | src/network/networkd-queue.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/networkd-queue.h b/src/network/networkd-queue.h index f963d18d74..20d153f140 100644 --- a/src/network/networkd-queue.h +++ b/src/network/networkd-queue.h @@ -6,6 +6,7 @@ #include "networkd-link.h" typedef struct Address Address; +typedef struct AddressLabel AddressLabel; typedef struct BridgeFDB BridgeFDB; typedef struct BridgeMDB BridgeMDB; typedef struct Neighbor Neighbor; @@ -20,6 +21,7 @@ typedef void (*request_on_free_handler_t)(Request*); typedef enum RequestType { REQUEST_TYPE_ADDRESS, + REQUEST_TYPE_ADDRESS_LABEL, REQUEST_TYPE_BRIDGE_FDB, REQUEST_TYPE_BRIDGE_MDB, REQUEST_TYPE_DHCP_SERVER, @@ -37,6 +39,7 @@ typedef struct Request { bool consume_object; union { Address *address; + AddressLabel *label; BridgeFDB *fdb; BridgeMDB *mdb; Neighbor *neighbor; |