RetroArch
Functions
ip_frag.h File Reference
#include "lwip/err.h"
#include "lwip/pbuf.h"
#include "lwip/netif.h"
#include "lwip/ip_addr.h"
Include dependency graph for ip_frag.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ip_reass_tmr (void)
 
struct pbufip_reass (struct pbuf *p)
 
err_t ip_frag (struct pbuf *p, struct netif *netif, struct ip_addr *dest)
 

Function Documentation

◆ ip_frag()

err_t ip_frag ( struct pbuf p,
struct netif netif,
struct ip_addr dest 
)

Fragment an IP datagram if too large for the netif.

Chop the datagram in MTU sized chunks and send them in order by using a fixed size static memory buffer (PBUF_ROM)

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ip_reass()

struct pbuf* ip_reass ( struct pbuf p)

Reassembles incoming IP fragments into an IP datagram.

Parameters
ppoints to a pbuf chain of the fragment
Returns
NULL if reassembly is incomplete, ? otherwise
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ip_reass_tmr()

void ip_reass_tmr ( void  )

Reassembly timer base function for both NO_SYS == 0 and 1 (!).

Should be called every 1000 msec.