|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--SSF.OS.BGP4.Util.RadixTree
|
+--SSF.OS.BGP4.RIBElement
|
+--SSF.OS.BGP4.LocRIB
The Loc-RIB section of BGP's Routing Information Base.
| Field Summary |
| Fields inherited from class SSF.OS.BGP4.RIBElement |
bgp, rtes, version |
| Method Summary | |
RouteInfo |
add(RouteInfo info)
Adds route information. |
java.util.ArrayList |
remove_all()
Removes all route information from the Loc-RIB element, as well as from the local forwarding table, and returns it as a list. |
RouteInfo |
remove(IPaddress ipa)
Removes the route information corresponding to the given route destination from both this Loc-RIB and the local forwarding table. |
RouteInfo |
replace(RouteInfo info)
Adds route information, replacing any pre-existing information with the same NLRI. |
int |
toBytes(byte[] bytes,
int bindex,
boolean usenhi)
Converts this Loc-RIB into a series of bytes and inserts them into a given byte array. |
| Methods inherited from class SSF.OS.BGP4.RIBElement |
approxBytes, bytes2str, find, get_all_routes, get_dests, get_less_specifics, get_more_specifics, get_routes, hdr2str, is_less_specific, toString, toString |
| Methods inherited from class SSF.OS.BGP4.Util.RadixTree |
add, find, get_ancestors, get_descendants, has_descendants, oldest_ancestor, print, prune, remove, replace, root, youngest_ancestor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public RouteInfo add(RouteInfo info)
add in class RIBElementinfo - The route information to add.
public RouteInfo replace(RouteInfo info)
replace in class RIBElementinfo - The route information to add.
public RouteInfo remove(IPaddress ipa)
remove in class RIBElementipa - The destination of the route information to remove.
public java.util.ArrayList remove_all()
remove_all in class RIBElement
public int toBytes(byte[] bytes,
int bindex,
boolean usenhi)
toBytes in class RIBElementbytes - A byte array in which to place the results.bindex - The index into the given byte array at which to begin
placing the results.usenhi - Whether or not to use NHI addressing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||