ROHC compression/decompression library
|
Defines the IPv6 header. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | ipv6_addr |
The IPv6 address. More... | |
struct | ipv6_hdr |
The IPv6 header. More... | |
Defines | |
#define | ip6_vfc ip6_ctlun.ip6_un2_vfc |
#define | ip6_flow ip6_ctlun.ip6_un1.ip6_un1_flow |
#define | ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen |
#define | ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt |
#define | ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim |
#define | ip6_hops ip6_ctlun.ip6_un1.ip6_un1_hlim |
Functions | |
struct ipv6_addr | __attribute__ ((packed)) |
Variables | |
union { | |
uint8_t u8 [16] | |
uint16_t u16 [8] | |
uint32_t u32 [4] | |
} | addr |
struct ipv6_hdr | __attribute__ |
Defines the IPv6 header.
This file contains a part of netinet/ip6.h from the GNU C library. It is copied here to be portable on all platforms, even the platforms that miss the declarations or got different declarations, such as Microsoft Windows or FreeBSD.
#define ip6_flow ip6_ctlun.ip6_un1.ip6_un1_flow |
#define ip6_hlim ip6_ctlun.ip6_un1.ip6_un1_hlim |
#define ip6_hops ip6_ctlun.ip6_un1.ip6_un1_hlim |
#define ip6_nxt ip6_ctlun.ip6_un1.ip6_un1_nxt |
#define ip6_plen ip6_ctlun.ip6_un1.ip6_un1_plen |
#define ip6_vfc ip6_ctlun.ip6_un2_vfc |
struct ipv6_addr __attribute__ | ( | (packed) | ) |
struct ipv6_hdr __attribute__ |
union { ... } addr |
uint16_t u16[8] |
uint32_t u32[4] |
uint8_t u8[16] |