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

Class obj_path_attr

Server/src/MsgBusInterface.hpp:170–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 * Prefix Path attributes table schema
169 */
170 struct obj_path_attr {
171
172 /**
173 * Path hash
174 */
175 u_char hash_id[16];
176 char origin[16]; ///< bgp origin as string name
177
178 /**
179 * as_path.
180 */
181 std::string as_path;
182
183 uint16_t as_path_count; ///< Count of AS PATH's in the path (includes all in AS-SET)
184
185 uint32_t origin_as; ///< Origin ASN
186 bool nexthop_isIPv4; ///< True if IPv4, false if IPv6
187 char next_hop[40]; ///< Next-hop IP in printed form
188 char aggregator[40]; ///< Aggregator IP in printed form
189 bool atomic_agg; ///< 0=false, 1=true for atomic_aggregate
190
191 uint32_t med; ///< bgp MED
192 uint32_t local_pref; ///< bgp local pref
193
194 /**
195 * standard community list.
196 */
197 std::string community_list;
198
199 /**
200 * extended community list.
201 */
202 std::string ext_community_list;
203
204 /**
205 * large community list
206 */
207 std::string large_community_list;
208
209
210 /**
211 * cluster list.
212 */
213 std::string cluster_list;
214
215 char originator_id[16]; ///< Originator ID in printed form
216 };
217
218 /// Base attribute action codes
219 enum base_attr_action_code {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected