diff options
Diffstat (limited to 'networking/udhcp/options.c')
-rw-r--r-- | networking/udhcp/options.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/udhcp/options.c b/networking/udhcp/options.c index 12e566210..b6e77e3e5 100644 --- a/networking/udhcp/options.c +++ b/networking/udhcp/options.c | |||
@@ -118,7 +118,7 @@ const uint8_t dhcp_option_lengths[] ALIGN1 = { | |||
118 | 118 | ||
119 | 119 | ||
120 | /* get an option with bounds checking (warning, not aligned). */ | 120 | /* get an option with bounds checking (warning, not aligned). */ |
121 | uint8_t *get_option(struct dhcpMessage *packet, int code) | 121 | uint8_t* FAST_FUNC get_option(struct dhcpMessage *packet, int code) |
122 | { | 122 | { |
123 | int i, length; | 123 | int i, length; |
124 | uint8_t *optionptr; | 124 | uint8_t *optionptr; |
@@ -175,7 +175,7 @@ uint8_t *get_option(struct dhcpMessage *packet, int code) | |||
175 | 175 | ||
176 | 176 | ||
177 | /* return the position of the 'end' option (no bounds checking) */ | 177 | /* return the position of the 'end' option (no bounds checking) */ |
178 | int end_option(uint8_t *optionptr) | 178 | int FAST_FUNC end_option(uint8_t *optionptr) |
179 | { | 179 | { |
180 | int i = 0; | 180 | int i = 0; |
181 | 181 | ||
@@ -191,7 +191,7 @@ int end_option(uint8_t *optionptr) | |||
191 | 191 | ||
192 | /* add an option string to the options (an option string contains an option code, | 192 | /* add an option string to the options (an option string contains an option code, |
193 | * length, then data) */ | 193 | * length, then data) */ |
194 | int add_option_string(uint8_t *optionptr, uint8_t *string) | 194 | int FAST_FUNC add_option_string(uint8_t *optionptr, uint8_t *string) |
195 | { | 195 | { |
196 | int end = end_option(optionptr); | 196 | int end = end_option(optionptr); |
197 | 197 | ||
@@ -209,7 +209,7 @@ int add_option_string(uint8_t *optionptr, uint8_t *string) | |||
209 | 209 | ||
210 | 210 | ||
211 | /* add a one to four byte option to a packet */ | 211 | /* add a one to four byte option to a packet */ |
212 | int add_simple_option(uint8_t *optionptr, uint8_t code, uint32_t data) | 212 | int FAST_FUNC add_simple_option(uint8_t *optionptr, uint8_t code, uint32_t data) |
213 | { | 213 | { |
214 | const struct dhcp_option *dh; | 214 | const struct dhcp_option *dh; |
215 | 215 | ||