aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/options.h')
-rw-r--r--networking/udhcp/options.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h
index fcf1c9a6d..d18a353d0 100644
--- a/networking/udhcp/options.h
+++ b/networking/udhcp/options.h
@@ -13,7 +13,7 @@ enum {
13 OPTION_IP = 1, 13 OPTION_IP = 1,
14 OPTION_IP_PAIR, 14 OPTION_IP_PAIR,
15 OPTION_STRING, 15 OPTION_STRING,
16#if ENABLE_FEATURE_RFC3397 16#if ENABLE_FEATURE_UDHCP_RFC3397
17 OPTION_STR1035, /* RFC1035 compressed domain name list */ 17 OPTION_STR1035, /* RFC1035 compressed domain name list */
18#endif 18#endif
19 OPTION_BOOLEAN, 19 OPTION_BOOLEAN,
@@ -109,7 +109,7 @@ uint8_t *get_option(struct dhcpMessage *packet, int code) FAST_FUNC;
109int end_option(uint8_t *optionptr) FAST_FUNC; 109int end_option(uint8_t *optionptr) FAST_FUNC;
110int add_option_string(uint8_t *optionptr, uint8_t *string) FAST_FUNC; 110int add_option_string(uint8_t *optionptr, uint8_t *string) FAST_FUNC;
111int add_simple_option(uint8_t *optionptr, uint8_t code, uint32_t data) FAST_FUNC; 111int add_simple_option(uint8_t *optionptr, uint8_t code, uint32_t data) FAST_FUNC;
112#if ENABLE_FEATURE_RFC3397 112#if ENABLE_FEATURE_UDHCP_RFC3397
113char *dname_dec(const uint8_t *cstr, int clen, const char *pre) FAST_FUNC; 113char *dname_dec(const uint8_t *cstr, int clen, const char *pre) FAST_FUNC;
114uint8_t *dname_enc(const uint8_t *cstr, int clen, const char *src, int *retlen) FAST_FUNC; 114uint8_t *dname_enc(const uint8_t *cstr, int clen, const char *src, int *retlen) FAST_FUNC;
115#endif 115#endif