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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
index b4e8b5d43..1c5afa6f9 100644
--- a/networking/udhcp/common.h
+++ b/networking/udhcp/common.h
@@ -169,6 +169,8 @@ extern const struct dhcp_option dhcp_options[];
extern const char dhcp_option_strings[];
extern const uint8_t dhcp_option_lengths[];
+unsigned FAST_FUNC udhcp_option_idx(const char *name);
+
uint8_t *udhcp_get_option(struct dhcp_packet *packet, int code) FAST_FUNC;
int udhcp_end_option(uint8_t *optionptr) FAST_FUNC;
void udhcp_add_binary_option(struct dhcp_packet *packet, uint8_t *addopt) FAST_FUNC;