The friendly Operating System for the Internet of Things

Routing extension header definitions. More...

Detailed Description

#include <stdint.h>
#include "net/ipv6/addr.h"
#include "net/ipv6/ext.h"
#include "net/ipv6/hdr.h"
+ Include dependency graph for rh.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ipv6_ext_rh_t
 IPv6 routing extension header. More...
 

Macros

Return codes for routing header processing
#define EXT_RH_CODE_ERROR   (-1)
 
#define EXT_RH_CODE_FORWARD   (0)
 
#define EXT_RH_CODE_OK   (1)
 

Functions

int ipv6_ext_rh_process (ipv6_hdr_t *ipv6, ipv6_ext_rh_t *ext)
 Process the routing header of an IPv6 packet. More...