Implementation of RPL source routing extension headers.  
More...
Implementation of RPL source routing extension headers. 
- See also
 - RFC 6554  
 
 | 
| file   | srh.h | 
|   | Definititions for RPL source routing extension headers. 
  | 
|   | 
◆ gnrc_rpl_srh_process()
Process the RPL source routing header. 
- Precondition
 rh->seq_left > 0; The 0 case means the destination is reached and common among all routing headers, so it should be handled by an external routing header handler.
- Parameters
 - 
  
    | [in,out] | ipv6 | The IPv6 header of the incoming packet.  | 
    | [in] | rh | A RPL source routing header.  | 
    | [out] | err_ptr | A pointer to an erroneous octet within rh when return value is GNRC_IPV6_EXT_RH_ERROR. For any other return value than GNRC_IPV6_EXT_RH_ERROR the value of err_ptr is not defined. | 
  
   
- Returns
 - GNRC_IPV6_EXT_RH_AT_DST, on success 
 
- 
GNRC_IPV6_EXT_RH_FORWARDED, when 
pkt should be forwarded  
- 
GNRC_IPV6_EXT_RH_ERROR, on error