summaryrefslogtreecommitdiff
path: root/nest/rt-attr.c
AgeCommit message (Collapse)Author
2011-08-15Fixes some missing tabs.Ondrej Zajicek
They unintentionally disappeared in 1.3.2.
2011-08-14BGP Extended communities.Ondrej Zajicek
2011-07-03Prints full community lists during 'show route all'.Ondrej Zajicek
2011-06-26Fix route types in rta_show().Ondrej Zajicek
2010-12-07Core multipath support.Ondrej Zajicek
2010-08-02Adds igp_metric attribute.Ondrej Zajicek
2010-07-31Implements IGP metric comparison for BGP routes.Ondrej Zajicek
2010-07-05Implements hostcache and recursive next hops.Ondrej Zajicek
Hostcache is a structure for monitoring changes in a routing table that is used for routes with dynamic/recursive next hops. This is needed for proper iBGP next hop handling.
2010-06-02Implements command that shows memory usage.Ondrej Zajicek
2010-03-17Fixes unterminated string for atomic_aggr attribute formatting.Ondrej Zajicek
2010-02-26Fixes signedness in format route attributes.Ondrej Zajicek
2009-08-21Fixes bug in eattr binary search.Ondrej Zajicek
2009-07-23Adds %R printf directive for Router ID.Ondrej Zajicek
2009-05-22Fixes serious bug in route attribute handing.Ondrej Zajicek
ea_same() sometimes returns true for different route attributes, which caused that hash table in BGP does not work correctly and some routes were sent with different attributes.
2008-11-08Proper format functions for ORIGINATOR_ID, CLUSTER_LISTOndrej Zajicek
2004-06-25A lot of changes:Ondrej Filip
- metric is 3 byte long now - summary lsa originating - more OSPF areas possible - virtual links - better E1/E2 routes handling - some bug fixes.. I have to do: - md5 auth (last mandatory item from rfc2328) - !!!!DEBUG!!!!! (mainly virtual link system has probably a lot of bugs) - 2328 appendig E
2004-06-11RTS_OSPF_BONDARY is nonsense, RTS_OSPF_IA must have smaller id than RTS_OSPF_EXTOndrej Filip
2004-05-31Grrr, committing too fast.Ondrej Filip
#include "alloca.h" -> #include "lib/alloca.h"
2004-05-31Use #include "alloca.h"Ondrej Filip
2004-05-31#ifdef ALLOCA_HOndrej Filip
2000-06-07Spelling fixes to progdoc.Martin Mares
2000-06-02Documentation on routing tables and route attributes.Martin Mares
2000-05-19Fixed freeing of non-embedded extended attributes.Martin Mares
2000-05-10Added more convient interface for ea_find.Pavel Machek
What is special about int default;? Compiler chokes on that!
2000-05-08Really free attributes.Martin Mares
2000-05-08bugs_in_attr_cache_hashing--;Martin Mares
2000-05-07Killed one more reference to RTS_RIP_EXT.Martin Mares
2000-05-06Added commands `show route protocol <p>' and `show route import <p>' whichMartin Mares
show the routing table as exported to the protocol given resp. as returned from 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 attribute list and all protocol specific rte attributes are contained there as temporary ones. Updated RIP to do that. Added ea_append() which joins two ea_list's.
2000-05-04Removed RTS_RIP_EXT.Martin Mares
2000-04-26Better formatting of router ID's.Martin Mares
2000-04-17Define EAF_ORIGINATED and propagate it properly when merging attribute lists.Martin Mares
2000-04-17Printing of AS paths and community sets.Martin Mares
2000-04-10Export ea_same() and ea_hash().Martin Mares
2000-04-01Changed initialization of protocol list -- now we call proto_build() insteadMartin Mares
of 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, set to EAP_xxx) and also a callback for naming and formatting of attributes. The callback can return one of the following results: GA_UNKNOWN Attribute not recognized. GA_NAME Attribute name recognized and put to the buffer, generic code should format the value. GA_FULL Both attribute name and value put to the buffer. Please update protocols generating dynamic attributes to provide the attr_class and formatting hook.
2000-03-31Include "lib/string.h" instead of <string.h>. It should give us bzero()Martin Mares
and other non-portable functions on all systems.
2000-03-31Fixed bug in processing of dynamic attributes.Martin Mares
2000-03-04Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning.Martin Mares
2000-03-04Implemented real attribute cache.Martin Mares
2000-03-01Removed RTF_EXTERIOR and RTF_TAGGED (unused).Martin Mares
1999-12-01Added dumping of routing tables (`show route'). This includes filtering.Martin Mares
1999-11-18Allow EA type to be set to 'undefined' which overrides all further definitonsMartin Mares
of that EA in the same list and causes ea_find() to fail unless you add EA_ALLOW_UNDEF to the second argument. ea_sort (resp. ea_do_prune()) removes all undef'd attributes from the list. I hope this works :)
1999-11-04Renamed attr->attrs to attr->eattrs.Martin Mares
1999-04-12Removed TOS support. This simplifies many things a lot.Martin Mares
1999-03-17Implemented extended route attributes and all related functions.Martin Mares
1999-02-11struct proto again contains instance name (a copy of proto->cf->name).Martin Mares
1999-02-05Implemented new configuration/reconfiguration interface and defined protocolMartin Mares
state machines. Full explanation will follow soon.
1998-12-08Added source RTS_DUMMY for temporary routes. They should never appearMartin Mares
in the main table.
1998-12-07Minor rte/rta interface changes:Martin Mares
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() which will replace rte->attrs by a cached copy. o In order to support this, one of previously pad bytes in struct rta now holds new attribute flags (RTAF_CACHED). If you call rte_update() with uncached rta, you _must_ clear these flags. In other cases rta_lookup() sets it appropriately. o Added rte_free() which is useful when you construct a rte and then the circumstances change and you decide not to use it for an update. (Needed for temporary rte's in kernel syncer...)
1998-07-28Do not segfault on iface == NULL.Pavel Machek
1998-06-17Use '%I' instead of dirty address printing hacks.Martin Mares