summaryrefslogtreecommitdiff
path: root/src/systemd/sd-dhcp-client.h
diff options
context:
space:
mode:
authorSusant Sahani <susant@redhat.com>2014-07-14 13:34:18 +0530
committerTom Gundersen <teg@jklm.no>2014-07-14 11:39:20 +0200
commitedb85f0d8d0a84f27308a3728f3fde3c52b9dce2 (patch)
tree21f738340ce15e0230d82b53e471c89c3df89791 /src/systemd/sd-dhcp-client.h
parent5d8e593dce074bff966fc0a46579c61b4f3bc33a (diff)
networkd: dhcp add vendor class indentifier option 60
Vendor Class Identifier be used by DHCP clients to identify their vendor type and configuration. When using this option, vendors can define their own specific identifier values, such as to convey a particular hardware or operating system configuration or other identifying information. Vendor-specified DHCP options—features that let administrators assign separate options to clients with similar configuration requirements. For example, if DHCP-aware clients for example we want to separate different gateway and option for different set of people (dev/test/hr/finance) in a org or devices for example web/database servers or let's say in a embedded device etc and require a different default gateway or DNS server than the rest of clients.
Diffstat (limited to 'src/systemd/sd-dhcp-client.h')
-rw-r--r--src/systemd/sd-dhcp-client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-dhcp-client.h b/src/systemd/sd-dhcp-client.h
index c3ea0592f..9ab6105e5 100644
--- a/src/systemd/sd-dhcp-client.h
+++ b/src/systemd/sd-dhcp-client.h
@@ -52,6 +52,7 @@ int sd_dhcp_client_set_index(sd_dhcp_client *client, int interface_index);
int sd_dhcp_client_set_mac(sd_dhcp_client *client,
const struct ether_addr *addr);
int sd_dhcp_client_set_hostname(sd_dhcp_client *client, const char *hostname);
+int sd_dhcp_client_set_vendor_class_identifier(sd_dhcp_client *client, const char *vci);
int sd_dhcp_client_get_lease(sd_dhcp_client *client, sd_dhcp_lease **ret);
int sd_dhcp_client_stop(sd_dhcp_client *client);