Loading...
Searching...
No Matches
rh.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2018 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
20#ifndef NET_GNRC_IPV6_EXT_RH_H
21#define NET_GNRC_IPV6_EXT_RH_H
22
23#include "net/gnrc/pkt.h"
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29enum {
52};
53
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif /* NET_GNRC_IPV6_EXT_RH_H */
int gnrc_ipv6_ext_rh_process(gnrc_pktsnip_t *pkt)
Process the routing header of an IPv6 packet.
@ GNRC_IPV6_EXT_RH_ERROR
An error occurred during routing header processing.
Definition rh.h:33
@ GNRC_IPV6_EXT_RH_FORWARDED
The routing header was successfully processed and the packet was forwarded to another node or should ...
Definition rh.h:51
@ GNRC_IPV6_EXT_RH_AT_DST
The routing header was successfully processed and this node is the destination (i....
Definition rh.h:38
General definitions for network packets and their helper functions.
Type to represent parts (either headers or payload) of a packet, called snips.
Definition pkt.h:108