ROHC compression/decompression library
Data Structures | Functions | Variables
c_uncompressed.c File Reference

ROHC compression context for the uncompressed profile. More...

#include "rohc_comp_internals.h"
#include "rohc_traces.h"
#include "rohc_traces_internal.h"
#include "rohc_debug.h"
#include "cid.h"
#include "crc.h"
#include <assert.h>
Include dependency graph for c_uncompressed.c:

Data Structures

struct  sc_uncompressed_context
 The Uncompressed context. More...

Functions

bool c_uncompressed_use_udp_port (const struct c_context *const context, const unsigned int port)
 Whether the profile uses the given UDP port.

Variables

struct c_profile c_uncompressed_profile
 Define the compression part of the Uncompressed profile as described in the RFC 3095.

Detailed Description

ROHC compression context for the uncompressed profile.

Author:
Didier Barvaux <didier.barvaux@toulouse.viveris.com>
Didier Barvaux <didier@barvaux.org>
The hackers from ROHC for Linux

Function Documentation

bool c_uncompressed_use_udp_port ( const struct c_context *const  context,
const unsigned int  port 
)

Whether the profile uses the given UDP port.

This function is one of the functions that must exist in one profile for the framework to work.

Parameters:
contextThe compression context
portThe port number to check
Returns:
Always return false because the Uncompressed profile does not use UDP port

Variable Documentation

Initial value:
{
        0,                            
        ROHC_PROFILE_UNCOMPRESSED,    
        "Uncompressed / Compressor",  
        c_uncompressed_create,        
        c_uncompressed_destroy,
        c_uncompressed_check_profile,
        c_uncompressed_check_context,
        c_uncompressed_encode,
        c_uncompressed_reinit_context,
        c_uncompressed_feedback,
        c_uncompressed_use_udp_port,
}

Define the compression part of the Uncompressed profile as described in the RFC 3095.