ROHC compression/decompression library
Data Fields
ipv6_hdr Struct Reference

The IPv6 header. More...

#include <ipv6.h>

Collaboration diagram for ipv6_hdr:
Collaboration graph
[legend]

Data Fields

union {
   uint32_t   version_tc_flow
 
   struct {
      uint8_t   tc1:4
 
      uint8_t   version:4
 
      uint8_t   flow1:4
 
      uint8_t   tc2:4
 
      uint16_t   flow2
 
   } 
 
   struct {
      uint8_t   dscp1:4
 
      uint8_t   version_:4
 
      uint8_t   flowl1_:4
 
      uint8_t   ecn:2
 
      uint8_t   dscp2:2
 
      uint16_t   flow2_
 
   } 
 
}; 
 
uint16_t plen
 
uint8_t nh
 
uint8_t hl
 
struct ipv6_addr saddr
 
struct ipv6_addr daddr
 

Detailed Description

The IPv6 header.

Field Documentation

◆ @14

union { ... }

◆ daddr

struct ipv6_addr ipv6_hdr::daddr

The destination IP address

◆ dscp1

uint8_t ipv6_hdr::dscp1

◆ dscp2

uint8_t ipv6_hdr::dscp2

◆ ecn

uint8_t ipv6_hdr::ecn

◆ flow1

uint8_t ipv6_hdr::flow1

◆ flow2

uint16_t ipv6_hdr::flow2

The Flow Label (part 2)

◆ flow2_

uint16_t ipv6_hdr::flow2_

The Flow Label (part 2)

◆ flowl1_

uint8_t ipv6_hdr::flowl1_

◆ hl

uint8_t ipv6_hdr::hl

The Hop Limit (HL)

◆ nh

uint8_t ipv6_hdr::nh

The protocol of the Next Header (NH)

◆ plen

uint16_t ipv6_hdr::plen

The Payload Length

◆ saddr

struct ipv6_addr ipv6_hdr::saddr

The source IP address

◆ tc1

uint8_t ipv6_hdr::tc1

◆ tc2

uint8_t ipv6_hdr::tc2

◆ version

uint8_t ipv6_hdr::version

◆ version_

uint8_t ipv6_hdr::version_

◆ version_tc_flow

uint32_t ipv6_hdr::version_tc_flow

The combined version, TC, Flow Label fields


The documentation for this struct was generated from the following file: