| 374 | * BGP-LS Prefix table schema |
| 375 | */ |
| 376 | struct obj_ls_prefix { |
| 377 | u_char hash_id[16]; ///< hash for the entry |
| 378 | uint64_t id; ///< Routing universe identifier |
| 379 | char protocol[32]; ///< String representation of the protocol name |
| 380 | |
| 381 | uint32_t bgp_ls_id; ///< BGP-LS Identifier |
| 382 | uint8_t igp_router_id[8]; ///< IGP router ID |
| 383 | uint8_t ospf_area_Id[4]; ///< OSPF area ID |
| 384 | uint8_t router_id[16]; ///< IPv4 or IPv6 router ID |
| 385 | uint8_t isis_area_id[9]; ///< IS-IS area ID |
| 386 | uint8_t intf_addr[16]; ///< Interface binary address |
| 387 | uint8_t nei_addr[16]; ///< Neighbor binary address |
| 388 | |
| 389 | u_char local_node_hash_id[16]; ///< Local node hash ID |
| 390 | uint32_t mt_id; ///< Multi-Topology ID |
| 391 | uint32_t metric; ///< Prefix metric |
| 392 | bool isIPv4; ///< True if interface/neighbor is IPv4, false otherwise |
| 393 | u_char prefix_len; ///< Length of prefix in bits |
| 394 | char ospf_route_type[32]; ///< String representation of the OSPF route type |
| 395 | uint8_t prefix_bin[16]; ///< Prefix in binary form |
| 396 | uint8_t prefix_bcast_bin[16]; ///< Broadcast address/last address in binary form |
| 397 | char igp_flags[32]; ///< String representation of the IGP flags |
| 398 | uint32_t route_tag; ///< Route tag |
| 399 | uint64_t ext_route_tag; ///< Extended route tag |
| 400 | uint8_t ospf_fwd_addr[16]; ///< IPv4/IPv6 OSPF forwarding address |
| 401 | char sid_tlv[128]; ///< Prefix-SID TLV |
| 402 | }; |
| 403 | |
| 404 | /* --------------------------------------------------------------------------- |
| 405 | * Abstract methods |
nothing calls this directly
no outgoing calls
no test coverage detected