Definititions for IPv6 extension headers. More...
Definititions for IPv6 extension headers.
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"
Go to the source code of this file.
Macros | |
#define | CONFIG_GNRC_IPV6_EXT_FRAG_SEND_SIZE (1U) |
IPv6 fragmentation send buffer size. More... | |
#define | CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_SIZE (1U) |
IPv6 fragmentation reassembly buffer size. More... | |
#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. More... | |
#define | CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_TIMEOUT_US (10U * US_PER_SEC) |
Timeout for IPv6 fragmentation reassembly buffer entries in microseconds. More... | |
#define | CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_DO_NOT_OVERRIDE |
Do not override oldest datagram when reassembly buffer is full. More... | |
Functions | |
gnrc_pktsnip_t * | gnrc_ipv6_ext_build (gnrc_pktsnip_t *ipv6, gnrc_pktsnip_t *next, uint8_t nh, size_t size) |
Builds an extension header for sending. More... | |
gnrc_pktsnip_t * | gnrc_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. More... | |
gnrc_pktsnip_t * | gnrc_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. More... | |