ROHC compression/decompression library
Macros | Enumerations | Functions
rohc_profiles.h File Reference

Definition of ROHC profiles. More...

#include <stdbool.h>
Include dependency graph for rohc_profiles.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ROHC_EXPORT
 
#define ROHCv1_PROFILE_UNCOMPRESSED   ROHC_PROFILE_UNCOMPRESSED
 
#define ROHCv1_PROFILE_IP_UDP_RTP   ROHC_PROFILE_RTP
 
#define ROHCv1_PROFILE_IP_UDP   ROHC_PROFILE_UDP
 
#define ROHCv1_PROFILE_IP_ESP   ROHC_PROFILE_ESP
 
#define ROHCv1_PROFILE_IP   ROHC_PROFILE_IP
 
#define ROHCv1_PROFILE_IP_UDP_RTP_LLA   ROHC_PROFILE_RTP_LLA
 
#define ROHCv1_PROFILE_IP_TCP   ROHC_PROFILE_TCP
 
#define ROHCv1_PROFILE_IP_UDPLITE_RTP   ROHC_PROFILE_UDPLITE_RTP
 
#define ROHCv1_PROFILE_IP_UDPLITE   ROHC_PROFILE_UDPLITE
 

Enumerations

enum  rohc_profile_t {
  ROHC_PROFILE_UNCOMPRESSED = 0x0000, ROHC_PROFILE_RTP = 0x0001, ROHC_PROFILE_UDP = 0x0002, ROHC_PROFILE_ESP = 0x0003,
  ROHC_PROFILE_IP = 0x0004, ROHC_PROFILE_RTP_LLA = 0x0005, ROHC_PROFILE_TCP = 0x0006, ROHC_PROFILE_UDPLITE_RTP = 0x0007,
  ROHC_PROFILE_UDPLITE = 0x0008, ROHCv2_PROFILE_IP_UDP_RTP = 0x0101, ROHCv2_PROFILE_IP_UDP = 0x0102, ROHCv2_PROFILE_IP_ESP = 0x0103,
  ROHCv2_PROFILE_IP = 0x0104, ROHCv2_PROFILE_IP_UDPLITE_RTP = 0x0107, ROHCv2_PROFILE_IP_UDPLITE = 0x0108, ROHC_PROFILE_MAX = 0x0109
}
 The different ROHC compression/decompression profiles. More...
 

Functions

const char *ROHC_EXPORT rohc_get_profile_descr (const rohc_profile_t profile)
 Give a description for the given ROHC profile. More...
 
bool ROHC_EXPORT rohc_profile_is_rohcv1 (const rohc_profile_t profile)
 Is the given profile one ROHCv1 profile? More...
 
bool ROHC_EXPORT rohc_profile_is_rohcv2 (const rohc_profile_t profile)
 Is the given profile one ROHCv2 profile? More...
 
rohc_profile_t rohc_profile_get_other_version (const rohc_profile_t profile)
 Get the other version of the given profile. More...
 

Detailed Description

Definition of ROHC profiles.

Author
Didier Barvaux didie.nosp@m.r.ba.nosp@m.rvaux.nosp@m.@tou.nosp@m.louse.nosp@m..viv.nosp@m.eris..nosp@m.com
Valentin Boutonné vbout.nosp@m.onne.nosp@m.@toul.nosp@m.ouse.nosp@m..vive.nosp@m.ris..nosp@m.com

Macro Definition Documentation

◆ ROHC_EXPORT

#define ROHC_EXPORT

Macro that handles DLL export declarations gracefully

◆ ROHCv1_PROFILE_IP

#define ROHCv1_PROFILE_IP   ROHC_PROFILE_IP

Alias for ROHCv1 IP-only profile

◆ ROHCv1_PROFILE_IP_ESP

#define ROHCv1_PROFILE_IP_ESP   ROHC_PROFILE_ESP

Alias for ROHCv1 IP/ESP profile

◆ ROHCv1_PROFILE_IP_TCP

#define ROHCv1_PROFILE_IP_TCP   ROHC_PROFILE_TCP

Alias for ROHCv1 IP/TCP profile

◆ ROHCv1_PROFILE_IP_UDP

#define ROHCv1_PROFILE_IP_UDP   ROHC_PROFILE_UDP

Alias for ROHCv1 IP/UDP profile

◆ ROHCv1_PROFILE_IP_UDP_RTP

#define ROHCv1_PROFILE_IP_UDP_RTP   ROHC_PROFILE_RTP

Alias for ROHCv1 IP/UDP/RTP profile

◆ ROHCv1_PROFILE_IP_UDP_RTP_LLA

#define ROHCv1_PROFILE_IP_UDP_RTP_LLA   ROHC_PROFILE_RTP_LLA

Alias for ROHCv1 IP/UDP/RTP LLA profile

◆ ROHCv1_PROFILE_IP_UDPLITE

#define ROHCv1_PROFILE_IP_UDPLITE   ROHC_PROFILE_UDPLITE

Alias for ROHCv1 IP/UDP-Lite profile

◆ ROHCv1_PROFILE_IP_UDPLITE_RTP

#define ROHCv1_PROFILE_IP_UDPLITE_RTP   ROHC_PROFILE_UDPLITE_RTP

Alias for ROHCv1 IP/UDP-Lite/RTP profile

◆ ROHCv1_PROFILE_UNCOMPRESSED

#define ROHCv1_PROFILE_UNCOMPRESSED   ROHC_PROFILE_UNCOMPRESSED

Alias for ROHCv1 Uncompressed profile