Loading...
Searching...
No Matches
rh.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2018 Freie Universität Berlin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
19
20#include "net/gnrc/pkt.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
26enum {
49};
50
62
63#ifdef __cplusplus
64}
65#endif
66
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:30
@ GNRC_IPV6_EXT_RH_FORWARDED
The routing header was successfully processed and the packet was forwarded to another node or should ...
Definition rh.h:48
@ GNRC_IPV6_EXT_RH_AT_DST
The routing header was successfully processed and this node is the destination (i....
Definition rh.h:35
struct gnrc_pktsnip gnrc_pktsnip_t
Type to represent parts (either headers or payload) of a packet, called snips.
General definitions for network packets and their helper functions.