diff options
author | Andrew Doran <doranand@fb.com> | 2020-05-01 10:30:31 -0400 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-05-11 16:31:08 +0200 |
commit | e7d5fe17db9d046b364f933c4dcdd145f47b024a (patch) | |
tree | 55f39fd055f2074afdcce3245e8477cc98a8067f /src/libsystemd-network/dhcp6-internal.h | |
parent | 2d5996c17561fb4656aaf9c4ad364ee6d39dd645 (diff) | |
download | systemd-e7d5fe17db9d046b364f933c4dcdd145f47b024a.tar.gz |
DHCP client: make SendOption work for DHCPv6 too.
Diffstat (limited to 'src/libsystemd-network/dhcp6-internal.h')
-rw-r--r-- | src/libsystemd-network/dhcp6-internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp6-internal.h b/src/libsystemd-network/dhcp6-internal.h index 517e357d3d..db80585a22 100644 --- a/src/libsystemd-network/dhcp6-internal.h +++ b/src/libsystemd-network/dhcp6-internal.h @@ -14,6 +14,16 @@ #include "macro.h" #include "sparse-endian.h" +typedef struct sd_dhcp6_option { + unsigned n_ref; + + uint16_t option; + void *data; + size_t length; +} sd_dhcp6_option; + +extern const struct hash_ops dhcp6_option_hash_ops; + /* Common option header */ typedef struct DHCP6Option { be16_t code; |