summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient/dhcp.h
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2007-02-09 17:50:26 +0000
committeremaste <emaste@FreeBSD.org>2007-02-09 17:50:26 +0000
commit4d18a6391e0641145ae2bba5e54e5bf9e763eb57 (patch)
tree5a719d3797670e80a657e26189df5834f2199ca2 /sbin/dhclient/dhcp.h
parent73c99587923d911647ba0ffc401352f2a4e22219 (diff)
downloadFreeBSD-src-4d18a6391e0641145ae2bba5e54e5bf9e763eb57.zip
FreeBSD-src-4d18a6391e0641145ae2bba5e54e5bf9e763eb57.tar.gz
Implement RFC3442, the Classless Static Route option.
The original DHCP specification includes a route option but it supports only class-based routes. RFC3442 adds support for specifying the netmask width for each static route. A variable length encoding is used to minimize the size of this option. PR: bin/99534 Submitted by: Andrey V. Elsukov <bu7cher@yandex.ru> Reviewed by: brooks
Diffstat (limited to 'sbin/dhclient/dhcp.h')
-rw-r--r--sbin/dhclient/dhcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/dhclient/dhcp.h b/sbin/dhclient/dhcp.h
index db1c05c..3f0eb81 100644
--- a/sbin/dhclient/dhcp.h
+++ b/sbin/dhclient/dhcp.h
@@ -162,6 +162,7 @@ struct dhcp_packet {
#define DHO_FINGER_SERVER 73
#define DHO_IRC_SERVER 74
#define DHO_DHCP_USER_CLASS_ID 77
+#define DHO_CLASSLESS_ROUTES 121
#define DHO_END 255
/* DHCP message types. */
OpenPOWER on IntegriCloud