RPL source routing header extension

Implementation of RPL source routing extension headers. More...

Detailed Description

See also
RFC 6554

Files

file  srh.h
 Definititions for RPL source routing extension headers.
 

Data Structures

struct  gnrc_rpl_srh_t
 The RPL Source routing header. More...
 

Macros

#define GNRC_RPL_SRH_TYPE   (3U)
 Type for source routing header.
 

Functions

int gnrc_rpl_srh_process (ipv6_hdr_t *ipv6, gnrc_rpl_srh_t *rh)
 Process the RPL source routing header. More...
 

Function Documentation

◆ gnrc_rpl_srh_process()

int gnrc_rpl_srh_process ( ipv6_hdr_t ipv6,
gnrc_rpl_srh_t rh 
)
Parameters
[in,out]ipv6The IPv6 header of the incoming packet.
[in]rhA RPL source routing header.
Returns
EXT_RH_CODE_ERROR
EXT_RH_CODE_FORWARD
EXT_RH_CODE_OK