Data Structures | |
struct | ip_reass_helper |
Functions | |
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) |
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_REF) or point PBUF_REFs into p (depending on IP_FRAG_USES_STATIC_BUF).
p | ip packet to send | |
netif | the netif on which to send | |
dest | destination ip address to which to send |
struct pbuf* ip_reass | ( | struct pbuf * | p | ) | [read] |
Reassembles incoming IP fragments into an IP datagram.
p | points to a pbuf chain of the fragment |
void ip_reass_tmr | ( | void | ) |
Reassembly timer base function for both NO_SYS == 0 and 1 (!).
Should be called every 1000 msec (defined by IP_TMR_INTERVAL).