ROHC compression/decompression library
Data Structures | Macros
protocols/ip.h File Reference

Defines the common IPv4/v6 header. More...

#include <stdint.h>
#include "config.h"
Include dependency graph for protocols/ip.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ip_hdr
 

Macros

#define ROHC_MAX_IP_HDRS   2U
 The maximum number of IP headers supported. More...
 
#define ROHC_MAX_IP_EXT_HDRS   5U
 The maximum number of IP extension headers supported. More...
 

Detailed Description

Defines the common IPv4/v6 header.

Author
Didier Barvaux didie.nosp@m.r@ba.nosp@m.rvaux.nosp@m..org

Macro Definition Documentation

◆ ROHC_MAX_IP_EXT_HDRS

#define ROHC_MAX_IP_EXT_HDRS   5U

The maximum number of IP extension headers supported.

Used by the ROHCv1 TCP and ROHCv2 profiles. Not used by the other ROHCv1 profiles.

The limit value was chosen arbitrarily. It should handle most real-life case without hurting performances nor memory footprint.

◆ ROHC_MAX_IP_HDRS

#define ROHC_MAX_IP_HDRS   2U

The maximum number of IP headers supported.

Used by the ROHCv1 TCP and ROHCv2 profiles. Not used by the other ROHCv1 profiles.

The limit value was chosen arbitrarily. It should handle most real-life case without hurting performances nor memory footprint.