ROHC compression/decompression library
Public Types | Public Attributes
c_feedback Struct Reference

The feedback packet. More...

#include <rohc_comp.h>

List of all members.

Public Types

enum  { ACK, NACK, STATIC_NACK, RESERVED }
 The type of acknowledgement (FEEDBACK-2 only) More...

Public Attributes

int cid
 The Context ID to which the feedback packet is related.
int type
 The type of feedback packet 1 means FEEDBACK-1, 2 means FEEDBACK-2.
unsigned char * data
 The feedback data (ie. the packet excluding the first type octet)
unsigned char size
 The size of the feedback data.
int specific_offset
 The offset that indicates the beginning of the profile-specific data in the feedback data.
int specific_size
 The size of the profile-specific data.
enum c_feedback:: { ... }  acktype
 The type of acknowledgement (FEEDBACK-2 only)

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.


Member Data Documentation

enum { ... } c_feedback::acktype

The type of acknowledgement (FEEDBACK-2 only)

Referenced by c_deliver_feedback(), c_generic_feedback(), and c_uncompressed_feedback().

The Context ID to which the feedback packet is related.

Referenced by c_deliver_feedback().

unsigned char* c_feedback::data

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

Referenced by c_deliver_feedback(), c_generic_feedback(), and c_uncompressed_feedback().

unsigned char c_feedback::size

The size of the feedback data.

Referenced by c_deliver_feedback(), c_generic_feedback(), and c_uncompressed_feedback().

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

Referenced by c_deliver_feedback(), c_generic_feedback(), and c_uncompressed_feedback().

The size of the profile-specific data.

Referenced by c_deliver_feedback(), c_generic_feedback(), and c_uncompressed_feedback().

The type of feedback packet 1 means FEEDBACK-1, 2 means FEEDBACK-2.

Referenced by c_deliver_feedback(), c_generic_feedback(), and c_uncompressed_feedback().


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