return sendto(*sock, buf, len, MSG_DONTWAIT, dest, dest_len);
}
-/* DNR */
-struct dhcpv4_dnr {
- uint16_t len;
- uint16_t priority;
- uint8_t adn_len;
- uint8_t body[];
-};
-
void dhcpv4_handle_msg(void *addr, void *data, size_t len,
struct interface *iface, _unused void *dest_addr,
send_reply_cb_t send_reply, void *opaque)
uint8_t data[];
};
+/* DNR */
+struct dhcpv4_dnr {
+ uint16_t len;
+ uint16_t priority;
+ uint8_t adn_len;
+ uint8_t body[];
+};
+
#define dhcpv4_for_each_option(start, end, opt)\
for (opt = (struct dhcpv4_option*)(start); \