summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_attr.c
AgeCommit message (Expand)Author
2006-02-09Implement "set community delete 65001:*" and friends. This will removeClaudio Jeker
2006-02-09When comparing community type, cast to u_int16_t. The same is done for theClaudio Jeker
2006-02-09attr_free() should not modify others_len as it does not resize the othersClaudio Jeker
2006-01-20No need to calloc() others if others_len is 0. The 0 malloc() does not hurtClaudio Jeker
2006-01-20Doh. > not < and attr_compare() starts to work correctly. OK henning@Claudio Jeker
2006-01-10The attributes cache broke the set community filterset because community_set()Claudio Jeker
2006-01-10In attr_diff() compare the attributes flags too. They may be different andClaudio Jeker
2006-01-05Cache optional BGP attributes (mostly communities) and use a simpleClaudio Jeker
2006-01-04Correctly count the number of allocated BGP attributes. Needs a own counter.Claudio Jeker
2006-01-03Track some (memory) statistics in the RDE. Accessible via bgpctl.Claudio Jeker
2006-01-03Move functions shared with bgpctl into new file util.c. Simplifies theClaudio Jeker
2005-12-30Remove unused attr_optlen()Claudio Jeker
2005-12-30Use sys/hash.h instead of own built functions that work similar.Claudio Jeker
2005-12-19Better English in comment.Claudio Jeker
2005-06-13realloc(3) correctly. Do not adjust the variable describing how much memoryClaudio Jeker
2005-06-10Make sure that the ATTR_EXTLEN flag is unset if the attribute length isClaudio Jeker
2005-06-10Introduce attr_optlen() to get the total lenght of an optional attributeClaudio Jeker
2005-04-16Simplify return codes of aspath_asprint().Claudio Jeker
2005-04-15Fix memory leak in case aspath_snprint() returns an error (-1).Claudio Jeker
2004-11-10It is not needed to mask the value wit 0xff as it is < 255. OK henning@Claudio Jeker
2004-08-10style, use sizeof() instead of a hardcoded value.Claudio Jeker
2004-08-06Monster diff to get one step closer to IPv6 support.Claudio Jeker
2004-08-05As usual cleanup on exit. OK henning@Claudio Jeker
2004-08-05Cleanup aspath specific functions and api. Mainly switch to a refcnt basedClaudio Jeker
2004-07-28The default localpreference is 100 and not 0. Found and ok henning@Claudio Jeker
2004-07-13fix some typosJared Yanovich
2004-07-05The rde no longer needs to check if the nexthop is the loopback address.Claudio Jeker
2004-07-05fix a few KNF falloutsHenning Brauer
2004-06-24First step at multiprotocol support, only partially done.Claudio Jeker
2004-06-24Make community set strict aligenment save, remove unneeded ENSUREsClaudio Jeker
2004-06-22Cleanup. jajaja henning@Claudio Jeker
2004-06-20at least somewhat consistently name the TAILQ_ENTRYs... this confused meHenning Brauer
2004-05-21RFC 2796 bgp route reflector support. This is very useful in conjunctionClaudio Jeker
2004-05-17extend filter language to allow basic setting of COMMUNITIES attribute.Damien Miller
2004-05-07add a filter option to dump prefixes learned in UPDATEs into a PF table,Damien Miller
2004-04-30spellingTheo de Raadt
2004-04-08swap the last two parameters to TAILQ_FOREACH_REVERSE. matches what FreeBSDHenning Brauer
2004-03-20comment spelling fixes; ok henning@David Krause
2004-03-12*size is a u_int16_t not a pointer so use 0 instead of NULL.Claudio Jeker
2004-03-12bgpctl has a empty-as keyword so make this actually work. Handle AS_EMPTYClaudio Jeker
2004-03-12I modified the print format for AS_SET so keep the aspath_strlen() functionClaudio Jeker
2004-03-12tab at EOLClaudio Jeker
2004-03-12Rewrite community_match() for loop. yaya henning@Claudio Jeker
2004-03-11Add basic support for communities. Currently it is only possible to filterClaudio Jeker
2004-03-11Ensure that aspath_snprint() returns a zero terminated string also if theClaudio Jeker
2004-03-05Plug some memory leaks in rde. Based on a patch by Patrick Latifi.Claudio Jeker
2004-03-01KNFHenning Brauer
2004-02-27remove unneded peer pointer in struct prefix and change a in_addr_t toClaudio Jeker
2004-02-26Implement "enforce neighbor-as yes|no" which is by default on for ebgpClaudio Jeker
2004-02-24spacesClaudio Jeker