ROHC compression/decompression library
Public Types | Data Fields
c_feedback Struct Reference

The feedback packet. More...

#include <rohc_comp_internals.h>

Public Types

enum  { ACK, NACK, STATIC_NACK, RESERVED }

Data Fields

rohc_cid_t cid
int type
 The type of feedback packet.
unsigned char * data
size_t size
int specific_offset
 The offset that indicates the beginning of the profile-specific data in the feedback data.
int specific_size
enum c_feedback:: { ... }  acktype

Detailed Description

The feedback packet.


Member Enumeration Documentation

anonymous enum

The type of acknowledgement (FEEDBACK-2 only)

Enumerator:
ACK 

The classical ACKnowledgement

NACK 

The Negative ACKnowledgement

STATIC_NACK 

The Negative STATIC ACKnowledgement

RESERVED 

Currently unused acknowledgement type


Field Documentation

enum { ... } c_feedback::acktype

The type of acknowledgement (FEEDBACK-2 only)

The Context ID to which the feedback packet is related

unsigned char* c_feedback::data

The feedback data (ie. the packet excluding the first type octet)

The size of the feedback data

The offset that indicates the beginning of the profile-specific data in the feedback data.

The size of the profile-specific data

The type of feedback packet.

A value of 1 means FEEDBACK-1, value 2 means FEEDBACK-2.


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