DESERT 3.5.1
Loading...
Searching...
No Matches
uwcbr-module.h File Reference
#include <uwip-module.h>
#include <uwudp-module.h>
#include <module.h>
#include <iostream>
#include <fstream>
#include <string>
#include <sstream>
#include <climits>
Include dependency graph for uwcbr-module.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hdr_uwcbr
 
class  UwSendTimer
 
class  UwCbrModule
 

Macros

#define UWCBR_DROP_REASON_UNKNOWN_TYPE    "UKT"
 
#define UWCBR_DROP_REASON_OUT_OF_SEQUENCE    "OOS"
 
#define UWCBR_DROP_REASON_DUPLICATED_PACKET    "DPK"
 
#define HDR_UWCBR(p)   (hdr_uwcbr::access(p))
 

Typedefs

typedef struct hdr_uwcbr hdr_uwcbr
 

Variables

packet_t PT_UWCBR
 

Detailed Description

Provides the UWCBR packets header description and the definition of the class UWCBR.

Author
Giovanni Toso
Version
1.1.0

Provides the UWCBR packets header description and the definition of the class UWCBR. UWCBR can manage no more than 2^16 packets. If a module generates more than 2^16 packets, they will be dropped.

Definition in file uwcbr-module.h.

Macro Definition Documentation

◆ HDR_UWCBR

#define HDR_UWCBR (   p)    (hdr_uwcbr::access(p))

Definition at line 64 of file uwcbr-module.h.

◆ UWCBR_DROP_REASON_DUPLICATED_PACKET

#define UWCBR_DROP_REASON_DUPLICATED_PACKET    "DPK"

Reason for a drop in a UWCBR module.

Definition at line 62 of file uwcbr-module.h.

◆ UWCBR_DROP_REASON_OUT_OF_SEQUENCE

#define UWCBR_DROP_REASON_OUT_OF_SEQUENCE    "OOS"

Reason for a drop in a UWCBR module.

Definition at line 60 of file uwcbr-module.h.

◆ UWCBR_DROP_REASON_UNKNOWN_TYPE

#define UWCBR_DROP_REASON_UNKNOWN_TYPE    "UKT"

Reason for a drop in a UWCBR module.

Definition at line 58 of file uwcbr-module.h.

Typedef Documentation

◆ hdr_uwcbr

typedef struct hdr_uwcbr hdr_uwcbr

hdr_uwcbr describes UWCBR packets.

Variable Documentation

◆ PT_UWCBR

packet_t PT_UWCBR
extern