From 12f9adbdd32b7cd9251164f054eac96598ea59e0 Mon Sep 17 00:00:00 2001 From: christiaans Date: Tue, 4 Jul 2006 08:24:55 +0000 Subject: [PATCH] Added ip_frag_init() prototype. --- src/include/ipv4/lwip/ip_frag.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/include/ipv4/lwip/ip_frag.h b/src/include/ipv4/lwip/ip_frag.h index a982c5a6..137712e6 100644 --- a/src/include/ipv4/lwip/ip_frag.h +++ b/src/include/ipv4/lwip/ip_frag.h @@ -33,11 +33,17 @@ #ifndef __LWIP_IP_FRAG_H__ #define __LWIP_IP_FRAG_H__ +#include "lwip/opt.h" #include "lwip/err.h" #include "lwip/pbuf.h" #include "lwip/netif.h" #include "lwip/ip_addr.h" +#ifndef IP_REASS_INTERVAL +#define IP_REASS_INTERVAL 1000 +#endif + +void ip_frag_init(void); void ip_reass_tmr(void); struct pbuf * ip_reass(struct pbuf *p); err_t ip_frag(struct pbuf *p, struct netif *netif, struct ip_addr *dest);