27 #ifndef ROHC_PROFILES_H 28 #define ROHC_PROFILES_H 36 # include <linux/types.h> 43 # define ROHC_EXPORT __declspec(dllexport) 54 #define ROHC_PROFILE_ID_MAJOR_MAX 0x01U 57 #define ROHC_PROFILE_ID_MINOR_MAX 0x08U 81 #define ROHCv1_PROFILE_UNCOMPRESSED ROHC_PROFILE_UNCOMPRESSED 85 #define ROHCv1_PROFILE_IP_UDP_RTP ROHC_PROFILE_RTP 89 #define ROHCv1_PROFILE_IP_UDP ROHC_PROFILE_UDP 93 #define ROHCv1_PROFILE_IP_ESP ROHC_PROFILE_ESP 97 #define ROHCv1_PROFILE_IP ROHC_PROFILE_IP 102 #define ROHCv1_PROFILE_IP_UDP_RTP_LLA ROHC_PROFILE_RTP_LLA 106 #define ROHCv1_PROFILE_IP_TCP ROHC_PROFILE_TCP 110 #define ROHCv1_PROFILE_IP_UDPLITE_RTP ROHC_PROFILE_UDPLITE_RTP 114 #define ROHCv1_PROFILE_IP_UDPLITE ROHC_PROFILE_UDPLITE 139 __attribute__((warn_unused_result,
const));
142 __attribute__((warn_unused_result,
const));
145 __attribute__((warn_unused_result,
const));
148 __attribute__((warn_unused_result,
const));
Definition: rohc_profiles.h:104
bool ROHC_EXPORT rohc_profile_is_rohcv2(const rohc_profile_t profile)
Is the given profile one ROHCv2 profile?
Definition: rohc_profiles.c:112
Definition: rohc_profiles.h:83
bool ROHC_EXPORT rohc_profile_is_rohcv1(const rohc_profile_t profile)
Is the given profile one ROHCv1 profile?
Definition: rohc_profiles.c:97
Definition: rohc_profiles.h:117
#define ROHC_EXPORT
Definition: rohc_profiles.h:45
Definition: rohc_profiles.h:129
Definition: rohc_profiles.h:119
Definition: rohc_profiles.h:108
Definition: rohc_profiles.h:95
Definition: rohc_profiles.h:112
Definition: rohc_profiles.h:125
Definition: rohc_profiles.h:79
Definition: rohc_profiles.h:127
rohc_profile_t rohc_profile_get_other_version(const rohc_profile_t profile)
Get the other version of the given profile.
Definition: rohc_profiles.c:128
Definition: rohc_profiles.h:100
Definition: rohc_profiles.h:91
rohc_profile_t
The different ROHC compression/decompression profiles.
Definition: rohc_profiles.h:76
Definition: rohc_profiles.h:121
Definition: rohc_profiles.h:123
const char *ROHC_EXPORT rohc_get_profile_descr(const rohc_profile_t profile)
Give a description for the given ROHC profile.
Definition: rohc_profiles.c:46
Definition: rohc_profiles.h:87