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

Class obj_rib

Server/src/MsgBusInterface.hpp:228–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226 * Prefix rib table schema
227 */
228 struct obj_rib {
229 u_char hash_id[16]; ///< hash of attr hash prefix, and prefix len
230 u_char path_attr_hash_id[16]; ///< path attrs hash_id
231 u_char peer_hash_id[16]; ///< BGP peer hash ID, need it here for withdraw routes support
232 u_char isIPv4; ///< 0 if IPv6, 1 if IPv4
233 char prefix[46]; ///< IPv4/IPv6 prefix in printed form
234 u_char prefix_len; ///< Length of prefix in bits
235 uint8_t prefix_bin[16]; ///< Prefix in binary form
236 uint8_t prefix_bcast_bin[16]; ///< Broadcast address/last address in binary form
237 uint32_t path_id; ///< Add path ID - zero if not used
238 char labels[255]; ///< Labels delimited by comma
239 };
240
241 /// Rib extended with Route Distinguisher
242 struct obj_route_distinguisher {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected