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

Class obj_ls_node

Server/src/MsgBusInterface.hpp:301–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299 * BGP-LS Node table schema
300 */
301 struct obj_ls_node {
302 u_char hash_id[16]; ///< hash id for the entry
303 uint64_t id; ///< Routing universe identifier
304 bool isIPv4; ///< True if interface/neighbor is IPv4, false otherwise
305 uint32_t asn; ///< BGP ASN
306 uint32_t bgp_ls_id; ///< BGP-LS Identifier
307 uint8_t igp_router_id[8]; ///< IGP router ID
308 uint8_t ospf_area_Id[4]; ///< OSPF area ID
309 char protocol[32]; ///< String representation of the protocol name
310 uint8_t router_id[16]; ///< IPv4 or IPv6 router ID
311 uint8_t isis_area_id[9]; ///< IS-IS area ID
312 char flags[32]; ///< String representation of the flag bits
313 char name[255]; ///< Name of router
314 char mt_id[255]; ///< Multi-Topology ID
315 char sr_capabilities_tlv[255]; ///< SR Capabilities TLV
316 };
317
318 /// LS action code (node, link, and prefix)
319 enum ls_action_code {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected