|
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 | send_data (OCTETSTRING &data, Params ¶ms) |
| Send bytes formated data to the lower layers. More... | |
| virtual void | receive_data (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 | delete_layer () |
| Delete this layer. More... | |
| void | add_upper_layer (layer *p_layer) |
| Add a new layer in the list of the upper layer. More... | |
| void | remove_upper_layer (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 | to_all_layers (std::vector< layer *> &layers, OCTETSTRING &data, Params ¶ms) |
| void | receive_to_all_layers (OCTETSTRING &data, Params ¶ms) |
| void | send_to_all_layers (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 |
1.8.13