summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/rde_attr.c
AgeCommit message (Expand)Author
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
2004-02-23While searching a different bug found those two gems. The ntohs is obviousClaudio Jeker
2004-02-19Add support for basic filters. Nothing optimized and it has some issues butClaudio Jeker
2004-02-19Make the code more portable. Add some missing header files and make the useClaudio Jeker
2004-02-19Doh. Copy pasto. The if is always false and bogus.Claudio Jeker
2004-02-18Correctly handle parse errors in aspath and prefixes. Also do input aspathClaudio Jeker
2004-02-18Bring the path attribute parsing on big step closer to the RFC.Claudio Jeker
2004-02-18Check for optional path attributes error. This kills some XXX in the code.Claudio Jeker
2004-02-16KNFHenning Brauer
2004-02-16Basic aspath match function needed for filters and the "show rib" bgpctlClaudio Jeker
2004-02-16Add basic functions to print aspath in human readable format. OK henning@Claudio Jeker
2004-02-16Make the path attribute handling more RFC conformant. Also move theClaudio Jeker
2004-02-09replace a bunch of u_long by u_int32_tHenning Brauer
2004-02-04Move BGP path attribute handling functions in a own file. henning@ conceptual okClaudio Jeker