summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-lease-internal.h
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2015-07-09 18:04:01 +0200
committerDaniel Mack <daniel@zonque.org>2015-07-12 14:26:32 -0400
commite43a8393eaf058c4ecd2a5968f59d83b911d4f1f (patch)
tree69b6395ae495f6cedc8d32cdbde62fbf6b056b52 /src/libsystemd-network/dhcp-lease-internal.h
parent89a2faeed5abf9ee284c157c1940a5ac1d829f9b (diff)
dhcp: add support for vendor specific DHCP option
This adds support for option 43 (Vendor Specific Information) to libsystemd-network DHCP code. The option carries an opaque object of n octets, interpreted by vendor-specific code on the clients and servers. [@zonque: adopted to new unhexmem() API]
Diffstat (limited to 'src/libsystemd-network/dhcp-lease-internal.h')
-rw-r--r--src/libsystemd-network/dhcp-lease-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsystemd-network/dhcp-lease-internal.h b/src/libsystemd-network/dhcp-lease-internal.h
index 9e184ac4b5..6e00b1ad30 100644
--- a/src/libsystemd-network/dhcp-lease-internal.h
+++ b/src/libsystemd-network/dhcp-lease-internal.h
@@ -72,6 +72,8 @@ struct sd_dhcp_lease {
char *root_path;
uint8_t *client_id;
size_t client_id_len;
+ uint8_t *vendor_specific;
+ size_t vendor_specific_len;
};
int dhcp_lease_new(sd_dhcp_lease **ret);