ETSI STF525 / Internal Testing test suite
This project provides an internal testing test suite and its associated Test Adapter/Codec
|
Forward declaration of TITAN class. More...
#include <commsignia_layer.hh>
Classes | |
struct | __attribute__ |
Public Member Functions | |
commsignia_layer (const std::string &p_type, const std::string ¶m) | |
Used to optimize filtering on ethernet type in. More... | |
virtual | ~commsignia_layer () |
Default destructor. More... | |
virtual void | sendData (OCTETSTRING &data, Params ¶ms) |
Send bytes formated data to the lower layers. More... | |
virtual void | receiveData (OCTETSTRING &data, Params &info) |
Receive bytes formated data from the lower layers. More... | |
Public Member Functions inherited from Layer | |
Layer () | |
Type description, it indicates the protocol type (e.g. CAM, DENM, GN, ETH, PCAP...) More... | |
Layer (const std::string &p_type) | |
Specialized constructor Create a new instance of the Layer class with its type description. More... | |
virtual | ~Layer () |
Default destructor. More... | |
void | deleteLayer () |
Delete this layer. More... | |
void | addUpperLayer (Layer *p_layer) |
Add a new layer in the list of the upper layer. More... | |
void | removeUpperLayer (Layer *p_layer) |
Remove the specified upper layer protocol from the list of the upper layer. More... | |
const std::string & | to_string () const |
Remove the specified upper layer protocol from the list of the upper layer. More... | |
Private Types | |
typedef unsigned short | c2p_qos_ctrl |
Private Attributes | |
Params | _params |
c2p_recv | _c2p_recv |
Layer parameters. More... | |
c2p_802_11p_hdr | _802_11p_hdr |
c2p_llc_hdr | _c2p_llc_hdr |
std::vector< unsigned char > | _mac_src |
std::vector< unsigned char > | _eth_type |
Used to optimize filtering on source mac address in. More... | |
Static Private Attributes | |
static constexpr unsigned char | LL_ADDR_LENGTH = 6 |
static constexpr unsigned char | LL_ORG_CODE_LENGTH = 3 |
Additional Inherited Members | |
Protected Member Functions inherited from Layer | |
void | toAllLayers (std::vector< Layer *> &layers, OCTETSTRING &data, Params ¶ms) |
void | receiveToAllLayers (OCTETSTRING &data, Params ¶ms) |
void | sendToAllLayers (OCTETSTRING &data, Params ¶ms) |
Protected Attributes inherited from Layer | |
std::string | type |
List of the lower protocol layers. More... | |
Forward declaration of TITAN class.
This class provides description of ITS Commsignia port protocol layer
|
private |
commsignia_layer::commsignia_layer | ( | const std::string & | p_type, |
const std::string & | param | ||
) |
Used to optimize filtering on ethernet type in.
Specialised constructor Create a new instance of the commsignia_layer class
[in] | p_type |
|
inlinevirtual |
Default destructor.
|
virtual |
|
virtual |
|
private |
|
private |
|
private |
Layer parameters.
|
private |
Used to optimize filtering on source mac address in.
|
private |
|
private |
|
staticprivate |
|
staticprivate |