summaryrefslogtreecommitdiff
path: root/networking/udhcp/common.h
diff options
context:
space:
mode:
authorDenys Vlasenko2010-04-03 17:34:52 +0200
committerDenys Vlasenko2010-04-03 17:34:52 +0200
commit243ddcbc76d19847d9e8022dc2f6659078f5cc20 (patch)
treebadf9d7e92a70b2a2d60d47d35cad5418d91cdd1 /networking/udhcp/common.h
parentccd1efc3c1d5b0187e20c1566654df92fa6be5c9 (diff)
downloadbusybox-243ddcbc76d19847d9e8022dc2f6659078f5cc20.zip
busybox-243ddcbc76d19847d9e8022dc2f6659078f5cc20.tar.gz
udhcpd: support decoding of option 120 "SIP servers". Closes bug 737
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r--networking/udhcp/common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
index 1c5afa6..28e3471 100644
--- a/networking/udhcp/common.h
+++ b/networking/udhcp/common.h
@@ -71,7 +71,8 @@ enum {
OPTION_IP_PAIR,
OPTION_STRING,
#if ENABLE_FEATURE_UDHCP_RFC3397
- OPTION_STR1035, /* RFC1035 compressed domain name list */
+ OPTION_DNS_STRING, /* RFC1035 compressed domain name list */
+ OPTION_SIP_SERVERS,
#endif
// OPTION_BOOLEAN,
OPTION_U8,
@@ -130,6 +131,7 @@ enum {
//#define DHCP_USER_CLASS 0x4d /* RFC 3004. set of LASCII strings. "I am a printer" etc */
#define DHCP_FQDN 0x51 /* client asks to update DNS to map its FQDN to its new IP */
//#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_WPAD 0xfc /* MSIE's Web Proxy Autodiscovery Protocol */
#define DHCP_END 0xff