opt.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Freie Universität Berlin
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
21 #ifndef NET_GNRC_IPV6_EXT_OPT_H
22 #define NET_GNRC_IPV6_EXT_OPT_H
23 
24 #include <stdint.h>
25 
26 #include "net/gnrc/pkt.h"
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
53  uint8_t protnum);
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif /* NET_GNRC_IPV6_EXT_OPT_H */
60 
gnrc_ipv6_ext_opt_process
gnrc_pktsnip_t * gnrc_ipv6_ext_opt_process(gnrc_pktsnip_t *pkt, uint8_t protnum)
Processes all options within an IPv6 option header.
pkt.h
General definitions for network packets and their helper functions.
gnrc_pktsnip
Type to represent parts (either headers or payload) of a packet, called snips.
Definition: pkt.h:108