lwIP  2.0.2
Lightweight IP stack
ip6_frag.h File Reference
#include "lwip/opt.h"
#include "lwip/pbuf.h"
#include "lwip/ip6_addr.h"
#include "lwip/ip6.h"
#include "lwip/netif.h"

Data Structures

struct  ip6_reassdata
 

Macros

#define IPV6_FRAG_COPYHEADER   0
 
#define IP6_REASS_TMR_INTERVAL   1000
 

Functions

struct pbuf * ip6_reass (struct pbuf *p)
 

Detailed Description

IPv6 fragmentation and reassembly.

Macro Definition Documentation

◆ IP6_REASS_TMR_INTERVAL

#define IP6_REASS_TMR_INTERVAL   1000

The IPv6 reassembly timer interval in milliseconds.

◆ IPV6_FRAG_COPYHEADER

#define IPV6_FRAG_COPYHEADER   0

IP6_FRAG_COPYHEADER==1: for platforms where sizeof(void*) > 4, this needs to be enabled (to not overwrite part of the data). When enabled, the IPv6 header is copied instead of referencing it, which gives more room for struct ip6_reass_helper

Function Documentation

◆ ip6_reass()

struct pbuf* ip6_reass ( struct pbuf *  p)

Reassembles incoming IPv6 fragments into an IPv6 datagram.

Parameters
ppoints to the IPv6 Fragment Header
Returns
NULL if reassembly is incomplete, pbuf pointing to IPv6 Header if reassembly is complete