ROHC compression/decompression library
Public Attributes
ip_packet Struct Reference

Defines an IP-agnostic packet that can handle an IPv4 or IPv6 packet. More...

#include <ip.h>

List of all members.

Public Attributes

ip_version version
 The version of the IP packet.
union {
   struct iphdr   v4
 The IPv4 header.
   struct ip6_hdr   v6
 The IPv6 header.
header
 The IP header.
unsigned char * data
 The whole IP data (header + payload) if not NULL.
unsigned int size
 The length (in bytes) of the whole IP data (header + payload)

Detailed Description

Defines an IP-agnostic packet that can handle an IPv4 or IPv6 packet.


Member Data Documentation

unsigned char* ip_packet::data
union { ... } ip_packet::header
unsigned int ip_packet::size

The length (in bytes) of the whole IP data (header + payload)

Referenced by c_generic_encode(), and ip_create().

struct iphdr ip_packet::v4
struct ip6_hdr ip_packet::v6

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