MCPcopy Create free account
hub / github.com/SNAS/openbmp / MPLinkState

Method MPLinkState

Server/src/bgp/linkstate/MPLinkState.cpp:25–31  ·  view source on GitHub ↗

* Constructor for class * * \details Handles bgp Extended Communities * * \param [in] logPtr Pointer to existing Logger for app logging * \param [in] peerAddr Printed form of peer address used for logging * \param [out] parsed_data Reference to parsed_update_data; will be updated with all parsed data * \param [in] enable_debug Debug true

Source from the content-addressed store, hash-verified

23 * \param [in] enable_debug Debug true to enable, false to disable
24 */
25 MPLinkState::MPLinkState(Logger *logPtr, std::string peerAddr,
26 UpdateMsg::parsed_update_data *parsed_data, bool enable_debug) {
27 logger = logPtr;
28 debug = enable_debug;
29 peer_addr = peerAddr;
30 this->parsed_data = parsed_data;
31 }
32
33 MPLinkState::~MPLinkState() {
34 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected