summaryrefslogtreecommitdiff
path: root/networking/udhcp/common.h
diff options
context:
space:
mode:
authorNigel Hathaway2011-04-26 02:50:00 +0200
committerDenys Vlasenko2011-04-26 02:50:00 +0200
commitfb6b173ff786648f5f43d23ff3c4f7721e9cb8b5 (patch)
treeba67ed5f064e5380304682418be401ec08bc1521 /networking/udhcp/common.h
parentc37d4c67e85782001953a8bae8a9c65ccdcb2f88 (diff)
downloadbusybox-fb6b173ff786648f5f43d23ff3c4f7721e9cb8b5.zip
busybox-fb6b173ff786648f5f43d23ff3c4f7721e9cb8b5.tar.gz
udhcp: add FEATURE_UDHCP_8021Q option
function old new delta dhcp_option_strings 217 237 +20 dhcp_optflags 64 68 +4 Signed-off-by: Nigel Hathaway <Nigel.Hathaway@ubiquisys.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r--networking/udhcp/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
index f8f18ff..ad6991c 100644
--- a/networking/udhcp/common.h
+++ b/networking/udhcp/common.h
@@ -145,6 +145,8 @@ enum {
//#define DHCP_DOMAIN_SEARCH 0x77 /* RFC 3397. set of ASCIZ string, DNS-style compressed */
//#define DHCP_SIP_SERVERS 0x78 /* RFC 3361. flag byte, then: 0: domain names, 1: IP addrs */
//#define DHCP_STATIC_ROUTES 0x79 /* RFC 3442. (mask,ip,router) tuples */
+#define DHCP_VLAN_ID 0x84 /* 802.1P VLAN ID */
+#define DHCP_VLAN_PRIORITY 0x85 /* 802.1Q VLAN priority */
//#define DHCP_MS_STATIC_ROUTES 0xf9 /* Microsoft's pre-RFC 3442 code for 0x79? */
//#define DHCP_WPAD 0xfc /* MSIE's Web Proxy Autodiscovery Protocol */
#define DHCP_END 0xff