aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r--networking/udhcp/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
index a7f9395b8..cfd58679a 100644
--- a/networking/udhcp/common.h
+++ b/networking/udhcp/common.h
@@ -80,6 +80,9 @@ enum {
80 OPTION_IP = 1, 80 OPTION_IP = 1,
81 OPTION_IP_PAIR, 81 OPTION_IP_PAIR,
82 OPTION_STRING, 82 OPTION_STRING,
83 /* Opts of STRING_HOST type will be sanitized before they are passed
84 * to udhcpc script's environment: */
85 OPTION_STRING_HOST,
83// OPTION_BOOLEAN, 86// OPTION_BOOLEAN,
84 OPTION_U8, 87 OPTION_U8,
85 OPTION_U16, 88 OPTION_U16,
@@ -308,6 +311,9 @@ int arpping(uint32_t test_nip,
308 uint8_t *from_mac, 311 uint8_t *from_mac,
309 const char *interface) FAST_FUNC; 312 const char *interface) FAST_FUNC;
310 313
314/* note: ip is a pointer to an IPv6 in network order, possibly misaliged */
315int sprint_nip6(char *dest, /*const char *pre,*/ const uint8_t *ip) FAST_FUNC;
316
311POP_SAVED_FUNCTION_VISIBILITY 317POP_SAVED_FUNCTION_VISIBILITY
312 318
313#endif 319#endif