Fixed freeing of non-embedded extended attributes.
Added more convient interface for ea_find.
What is special about int default;? Compiler chokes on that!
Really free attributes.
Killed one more reference to RTS_RIP_EXT.
Added commands `show route protocol <p>' and `show route import <p>' whichshow the routing table as exported to the protocol given resp. as returnedfrom its import control hook.
To get handling of filtered extended attributes right (even in the old`show route where <filter>' command), the get_route_info hook gets an...
Better formatting of router ID's.
Define EAF_ORIGINATED and propagate it properly when merging attribute lists.
Printing of AS paths and community sets.
Export ea_same() and ea_hash().
Changed initialization of protocol list -- now we call proto_build() insteadof calling the protocols manually.
Implemented printing of dynamic attributes in `show route all'.
Each protocol can now register its own attribute class (protocol->attr_class,...
Include "lib/string.h" instead of <string.h>. It should give us bzero()and other non-portable functions on all systems.
Fixed bug in processing of dynamic attributes.
Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning.
Implemented real attribute cache.
Removed RTF_EXTERIOR and RTF_TAGGED (unused).
Added dumping of routing tables (`show route'). This includes filtering.
Allow EA type to be set to 'undefined' which overrides all further definitonsof that EA in the same list and causes ea_find() to fail unless you addEA_ALLOW_UNDEF to the second argument.
ea_sort (resp. ea_do_prune()) removes all undef'd attributes from the list....
Renamed attr->attrs to attr->eattrs.
Removed TOS support. This simplifies many things a lot.
Implemented extended route attributes and all related functions.
struct proto again contains instance name (a copy of proto->cf->name).
Implemented new configuration/reconfiguration interface and defined protocolstate machines. Full explanation will follow soon.
Added source RTS_DUMMY for temporary routes. They should never appearin the main table.
Minor rte/rta interface changes:
o rte can now contain a pointer to both cached and uncached rta. Protocols which don't need their own attribute caching can now just fill-in a rta, link it to rte without any calls to attribute cache and call rte_update()...
Do not segfault on iface == NULL.
Use '%I' instead of dirty address printing hacks.
Dumping of static attributes implemented.
Protocol hooks. All of them may be NULL.
Resource pools are now named.
Added routing table and routing attribute code.