|
ITS
|
#include <ParameterNetwork.h>
Public Member Functions | |
| ParameterNetwork () | |
| ParameterNetwork ParameterNetwork constructor. More... | |
| ~ParameterNetwork () | |
| ~ParameterNetwork ParameterNetwork destructor. More... | |
| quint16 | internalBTPPort (quint16 port, quint16 portInfo) |
| internalBTPPort Get the internal BTP port. More... | |
| quint16 | internalBTPPort (quint32 concatenate) |
| internalBTPPort Get the internal BTP port from entire BTP port number. More... | |
| quint16 | internalPort (QString service) |
| internalPort Get the internal BTP port from service name. More... | |
| void | addBTPPort (quint16 port, quint16 portInfo, quint16 internal) |
| addBTPPort Add BTP port to the internal BTP ports. More... | |
| void | addBTPPort (quint32 concatenate, quint16 internal) |
| addBTPPort Add BTP port to the internal BTP ports from entire BTP port number. More... | |
| void | addPort (QString service, quint16 port) |
| addPort Add BTP port to the internal BTP ports from service name. More... | |
| void | read () |
| read Configuration file reading. More... | |
| void | readDebug () |
| readDebug Configuration printing. More... | |
| quint16 | camDestinationPort () const |
| camDestinationPort CAM destination port getter. More... | |
| quint16 | camDestinationPortInfo () const |
| camDestinationPortInfo CAM destination port info getter. More... | |
| quint16 | denmDestinationPort () const |
| denmDestinationPort DENM destination port getter. More... | |
| quint16 | denmDestinationPortInfo () const |
| denmDestinationPortInfo DENM destination port info getter. More... | |
Public Attributes | |
| int | rawSocket |
| struct ifreq | if_idx |
| struct sockaddr_ll | socket_address |
| char | sendbuf [BUF_SIZ] |
| struct ether_header | eh |
| char | ifName [IFNAMSIZ] |
Private Attributes | |
| QHash< quint32, quint16 > | m_internalBTPPort |
| QHash< QString, quint16 > | m_internalPort |
| quint16 | m_camDestinationPort |
| quint16 | m_camDestinationPortInfo |
| quint16 | m_denmDestinationPort |
| quint16 | m_denmDestinationPortInfo |
Definition at line 26 of file ParameterNetwork.h.
| ParameterNetwork::ParameterNetwork | ( | ) |
ParameterNetwork ParameterNetwork constructor.
Definition at line 3 of file ParameterNetwork.cpp.
References read(), and readDebug().
| ParameterNetwork::~ParameterNetwork | ( | ) |
~ParameterNetwork ParameterNetwork destructor.
Definition at line 9 of file ParameterNetwork.cpp.
|
inline |
addBTPPort Add BTP port to the internal BTP ports.
| port | The BTP destination port. |
| portInfo | The BTP source / destination port info. |
| internal | The internal BTP port. |
Definition at line 86 of file ParameterNetwork.h.
References m_internalBTPPort.
Referenced by caReceptionManagement::caReceptionManagement(), and denReceptionManagement::denReceptionManagement().
|
inline |
addBTPPort Add BTP port to the internal BTP ports from entire BTP port number.
| concatenate | The BTP ports. |
| internal | The internal BTP port. |
Definition at line 92 of file ParameterNetwork.h.
References m_internalBTPPort.
|
inline |
addPort Add BTP port to the internal BTP ports from service name.
| service | The service name. |
| port | The internal BTP port. |
Definition at line 98 of file ParameterNetwork.h.
References m_internalPort.
Referenced by ApplicationManagement::ApplicationManagement(), caReceptionManagement::caReceptionManagement(), denBasicService::denBasicService(), and denReceptionManagement::denReceptionManagement().
|
inline |
camDestinationPort CAM destination port getter.
Definition at line 113 of file ParameterNetwork.h.
References m_camDestinationPort.
Referenced by caReceptionManagement::caReceptionManagement().
|
inline |
camDestinationPortInfo CAM destination port info getter.
Definition at line 118 of file ParameterNetwork.h.
References m_camDestinationPortInfo.
Referenced by caReceptionManagement::caReceptionManagement().
|
inline |
denmDestinationPort DENM destination port getter.
Definition at line 124 of file ParameterNetwork.h.
References m_denmDestinationPort.
Referenced by denReceptionManagement::denReceptionManagement().
|
inline |
denmDestinationPortInfo DENM destination port info getter.
Definition at line 129 of file ParameterNetwork.h.
References m_denmDestinationPortInfo.
Referenced by denReceptionManagement::denReceptionManagement().
|
inline |
internalBTPPort Get the internal BTP port.
| port | The BTP destination port. |
| portInfo | The BTP source / destination port info. |
Definition at line 51 of file ParameterNetwork.h.
References m_internalBTPPort.
Referenced by caReceptionManagement::caReceptionManagement(), denReceptionManagement::denReceptionManagement(), GeoNet::gacPacketProcessing(), GeoNet::gbcPacketProcessing(), GeoNet::gucPacketProcessing(), GeoNet::LSRequestPacketProcessing(), GeoNet::shbPacketProcessing(), and GeoNet::tsbPacketProcessing().
|
inline |
internalBTPPort Get the internal BTP port from entire BTP port number.
| concatenate | The BTP ports. |
Definition at line 62 of file ParameterNetwork.h.
References m_internalBTPPort.
|
inline |
internalPort Get the internal BTP port from service name.
| service | The service name. |
Definition at line 73 of file ParameterNetwork.h.
References m_internalPort.
Referenced by caReceptionManagement::caReceptionManagement(), denBasicService::denBasicService(), denReceptionManagement::denReceptionManagement(), denTriggeringManagement::denTriggeringManagement(), ApplicationManagement::getUtPort(), and ApplicationManagement::sendMessageToFac().
| void ParameterNetwork::read | ( | ) |
read Configuration file reading.
Definition at line 13 of file ParameterNetwork.cpp.
References m_camDestinationPort, m_camDestinationPortInfo, m_denmDestinationPort, and m_denmDestinationPortInfo.
Referenced by ParameterNetwork().
| void ParameterNetwork::readDebug | ( | ) |
readDebug Configuration printing.
Definition at line 41 of file ParameterNetwork.cpp.
References m_camDestinationPort, m_camDestinationPortInfo, m_denmDestinationPort, and m_denmDestinationPortInfo.
Referenced by ParameterNetwork().
| struct ether_header ParameterNetwork::eh |
Ethernet header.
Definition at line 42 of file ParameterNetwork.h.
Referenced by GeoNet::checkBCFPB(), GeoNet::checkUCFPB(), GeoNet::flushUCFPB(), GeoNet::gacPacketProcessing(), GeoNet::gbcPacketProcessing(), GeoNet::gucPacketProcessing(), GeoNet::InitRawSocket_send(), GeoNet::LSReplyPacketProcessing(), GeoNet::LSRequestPacketProcessing(), GeoNet::lsRetransmit(), GeoNet::send(), GeoNet::sendBeacon(), GeoNet::sendGAC(), GeoNet::sendGBC(), GeoNet::sendGUC(), CBFPacketEntry::sendPacket(), GeoNet::sendSHB(), GeoNet::sendTSB(), and GeoNet::tsbPacketProcessing().
| struct ifreq ParameterNetwork::if_idx |
ITS-G5 interface index.
Definition at line 39 of file ParameterNetwork.h.
Referenced by GeoNet::InitRawSocket_send().
| char ParameterNetwork::ifName[IFNAMSIZ] |
Interface name.
Definition at line 43 of file ParameterNetwork.h.
Referenced by GeoNet::InitRawSocket_send().
|
private |
CAM destination port.
Definition at line 135 of file ParameterNetwork.h.
Referenced by camDestinationPort(), read(), and readDebug().
|
private |
CAM destination port info.
Definition at line 136 of file ParameterNetwork.h.
Referenced by camDestinationPortInfo(), read(), and readDebug().
|
private |
DENM destination port.
Definition at line 138 of file ParameterNetwork.h.
Referenced by denmDestinationPort(), read(), and readDebug().
|
private |
DENM destination port info.
Definition at line 139 of file ParameterNetwork.h.
Referenced by denmDestinationPortInfo(), read(), and readDebug().
|
private |
HashMap of internals BTP ports.
Definition at line 132 of file ParameterNetwork.h.
Referenced by addBTPPort(), and internalBTPPort().
|
private |
HashMap of internals BTP ports from service name.
Definition at line 133 of file ParameterNetwork.h.
Referenced by addPort(), and internalPort().
| int ParameterNetwork::rawSocket |
ITS-G5 socket.
Definition at line 38 of file ParameterNetwork.h.
Referenced by GeoNet::checkUCFPB(), GeoNet::flushUCFPB(), GeoNet::InitRawSocket_send(), GeoNet::send(), CBFPacketEntry::sendPacket(), and GeoNet::~GeoNet().
| char ParameterNetwork::sendbuf[BUF_SIZ] |
Sender buffer.
Definition at line 41 of file ParameterNetwork.h.
Referenced by GeoNet::checkUCFPB(), GeoNet::flushUCFPB(), GeoNet::InitRawSocket_send(), GeoNet::send(), and CBFPacketEntry::sendPacket().
| struct sockaddr_ll ParameterNetwork::socket_address |
Ethernet address.
Definition at line 40 of file ParameterNetwork.h.
Referenced by GeoNet::checkUCFPB(), GeoNet::flushUCFPB(), GeoNet::InitRawSocket_send(), GeoNet::send(), and CBFPacketEntry::sendPacket().