diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2018-01-04 15:11:42 +0200 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2018-01-04 15:22:43 +0200 |
commit | c6b4f32a507c5ad885265309b2ecb56e618564d5 (patch) | |
tree | d32cb199b81a63d999e8b6aba1cb63e71daa48c3 /src/libsystemd-network/dhcp6-internal.h | |
parent | 3bc424a3cc0bacc688ec2f4f93a5560fb4ca393b (diff) | |
download | systemd-c6b4f32a507c5ad885265309b2ecb56e618564d5.tar.gz |
dhcp6: Add function for DHCPv6 Status option
Factor out code to parse a DHCPv6 Status option using a common
function.
Diffstat (limited to 'src/libsystemd-network/dhcp6-internal.h')
-rw-r--r-- | src/libsystemd-network/dhcp6-internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp6-internal.h b/src/libsystemd-network/dhcp6-internal.h index 9e7d3976aa..982ce3608a 100644 --- a/src/libsystemd-network/dhcp6-internal.h +++ b/src/libsystemd-network/dhcp6-internal.h @@ -83,6 +83,7 @@ int dhcp6_option_append_ia(uint8_t **buf, size_t *buflen, DHCP6IA *ia); int dhcp6_option_append_fqdn(uint8_t **buf, size_t *buflen, const char *fqdn); int dhcp6_option_parse(uint8_t **buf, size_t *buflen, uint16_t *optcode, size_t *optlen, uint8_t **optvalue); +int dhcp6_option_parse_status(DHCP6Option *option); int dhcp6_option_parse_ia(DHCP6Option *iaoption, DHCP6IA *ia); int dhcp6_option_parse_ip6addrs(uint8_t *optval, uint16_t optlen, struct in6_addr **addrs, size_t count, |