X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=relayd.h;h=d7ad212edb6848cfe9fd9fe3a73f215cae7cb3c9;hb=refs%2Fheads%2Fmaster;hp=cd24aa6feacd2f0199a8da8d2e8d6a2c8bd80307;hpb=ac87fbca7dbb82d8b09f19ea5588592b1ea10e4e;p=project%2Frelayd.git diff --git a/relayd.h b/relayd.h index cd24aa6..d7ad212 100644 --- a/relayd.h +++ b/relayd.h @@ -27,13 +27,12 @@ #include #include -#include #include #include -#include "uloop.h" -#include "list.h" +#include +#include #define DEBUG #ifdef DEBUG @@ -128,6 +127,6 @@ void relayd_add_host_route(struct relayd_host *host, const uint8_t *ipaddr, uint void relayd_add_pending_route(const uint8_t *gateway, const uint8_t *dest, uint8_t mask, int timeout); void relayd_forward_bcast_packet(struct relayd_interface *from_rif, void *packet, int len); -bool relayd_handle_dhcp_packet(struct relayd_interface *rif, void *data, int len, bool forward); +bool relayd_handle_dhcp_packet(struct relayd_interface *rif, void *data, int len, bool forward, bool parse); #endif