Loading...
Searching...
No Matches

Definititions for IPv6 extension headers. More...

Detailed Description

Definititions for IPv6 extension headers.

Author
Martine Lenders mlend.nosp@m.ers@.nosp@m.inf.f.nosp@m.u-be.nosp@m.rlin..nosp@m.de

Definition in file ext.h.

#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include "net/gnrc/pkt.h"
#include "net/ipv6/ext.h"
#include "timex.h"
+ Include dependency graph for ext.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CONFIG_GNRC_IPV6_EXT_FRAG_SEND_SIZE   (1U)
 IPv6 fragmentation send buffer size.
 
#define CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_SIZE   (1U)
 IPv6 fragmentation reassembly buffer size.
 
#define CONFIG_GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE   (CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_SIZE * 2U)
 The number of total allocatable gnrc_ipv6_ext_frag_limits_t objects.
 
#define CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_TIMEOUT_US   (10U * US_PER_SEC)
 Timeout for IPv6 fragmentation reassembly buffer entries in microseconds.
 
#define CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_DO_NOT_OVERRIDE
 Do not override oldest datagram when reassembly buffer is full.
 

Functions

gnrc_pktsnip_tgnrc_ipv6_ext_build (gnrc_pktsnip_t *ipv6, gnrc_pktsnip_t *next, uint8_t nh, size_t size)
 Builds an extension header for sending.
 
gnrc_pktsnip_tgnrc_ipv6_ext_process_hopopt (gnrc_pktsnip_t *pkt, uint8_t *protnum)
 Processes a packet's payload as hop-by-hop option if protnum is pointing to a value equal to PROTNUM_IPV6_EXT_HOPOPT.
 
gnrc_pktsnip_tgnrc_ipv6_ext_process_all (gnrc_pktsnip_t *pkt, uint8_t *protnum)
 Processes a packet's extension headers after a potential initial hop-by-hop header.