Go to the documentation of this file.
23 #ifndef NET_GNRC_IPV6_EXT_H
24 #define NET_GNRC_IPV6_EXT_H
34 #ifdef MODULE_GNRC_IPV6_EXT_RH
55 #ifndef CONFIG_GNRC_IPV6_EXT_FRAG_SEND_SIZE
56 #define CONFIG_GNRC_IPV6_EXT_FRAG_SEND_SIZE (1U)
66 #ifndef CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_SIZE
67 #define CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_SIZE (1U)
78 #ifndef CONFIG_GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE
79 #define CONFIG_GNRC_IPV6_EXT_FRAG_LIMITS_POOL_SIZE (CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_SIZE * 2U)
87 #ifndef CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_TIMEOUT_US
88 #define CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_TIMEOUT_US (10U * US_PER_SEC)
101 #define CONFIG_GNRC_IPV6_EXT_FRAG_RBUF_DO_NOT_OVERRIDE
119 uint8_t nh,
size_t size);
121 #if defined(MODULE_GNRC_IPV6_EXT) || defined(DOXYGEN)
188 #define gnrc_ipv6_ext_process_hopopt(pkt, protnum) (pkt)
189 #define gnrc_ipv6_ext_process_all(pkt, protnum) (pkt)
GNRC routing extension header definitions.
Utility library for comparing and computing timestamps.
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.
General definitions for network packets and their helper functions.
IPv6 extension header definitions.
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.
Type to represent parts (either headers or payload) of a packet, called snips.
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_...