[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #6861] Pimp ip_frag.c

From: Jonathan Larmour
Subject: [lwip-devel] [task #6861] Pimp ip_frag.c
Date: Wed, 09 May 2007 11:50:22 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20070223 Fedora/ Firefox/

Follow-up Comment #5, task #6861 (project lwip):

Good, I got permission. I'm attaching the fragmentation patch against 1.1. It
does not presently apply cleanly against CVS and I haven't updated it, but
you're going to be changing even more stuff in this area anyway.

If pbuf_alloc fails, the packet is simply dropped, with ERR_MEM.

The following was what I added to opt.h:
/* Use a static MTU-sized buffer for IP fragmentation.
 * Otherwise pbufs are allocated and reference the original
 * packet data to be fragmented.
#define IP_FRAG_USES_STATIC_BUF         0

/* Assumed max MTU on any interface for IP frag buffer */
#define IP_FRAG_MAX_MTU                 1500

(file #12728)

Additional Item Attachment:

File name: lwip-ipfrag-pbuf.patch         Size:5 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]