summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
AgeCommit message (Expand)Author
2010-04-22Including bgpd.h in mrt.h is dumb.Claudio Jeker
2010-04-22Depending on capa.neg.as4byte (bgp session is using 4-byte AS numberClaudio Jeker
2010-04-22Correct the BGP4MP subtypes according to draft-ietf-grow-mrt-11.Claudio Jeker
2010-04-20prefix_unlink() must remove the rib entry. Currently this was only doneClaudio Jeker
2010-04-16Memory allocated with calloc() is initialized to zero, no need to do thatClaudio Jeker
2010-04-13Instead of passing AF specific struct kroutes over imsgs use a structClaudio Jeker
2010-04-07Remove XXX comment and just close received fd if calloc() fails.Nicholas Marriott
2010-04-07Call nexthop_delete() a bit later in nexthop_update(). The nh->state needsClaudio Jeker
2010-04-06Switch to a more address family independent nexthop imsg. Instead of passingClaudio Jeker
2010-03-31network static and network connected have been superseded by network inetClaudio Jeker
2010-03-30Hmpf, aid2af() leftover from the time I did the transition that should notClaudio Jeker
2010-03-29I'm going to need community_ext_conv() outside of rde_attr.c soon, so moveClaudio Jeker
2010-03-29Since we always reload the config now there is no need to allocate theClaudio Jeker
2010-03-29We always allocate rib ids dynamicaly so there is no need for allowingClaudio Jeker
2010-03-29Implement a log_rd() function to print the route destinguisher in a niceClaudio Jeker
2010-03-26pt_add() is not allowed to fail, caller expects this behaviour.Claudio Jeker
2010-03-26Be more careful when walking the tree looking for a non-empty element,Claudio Jeker
2010-03-05Allow to filter for ext-community attributes. Currently only perfect matchesClaudio Jeker
2010-03-03Compare against correct flag when printing "network inet6 static"Claudio Jeker
2010-03-03Replace enum rib_state with enum reconf_action since their doing the same.Claudio Jeker
2010-03-03Remove superfluous newlineClaudio Jeker
2010-02-26Fix some minor issues. 0 instead of NULL in one comparison. Set theClaudio Jeker
2010-02-23Fix .Oo .Xo .Oc .Xc mis-nesting by just dropping the .Xo and .Xc which,Ingo Schwarze
2010-02-23Remove some extra ().Claudio Jeker
2010-02-11Not knowing a AFI/SAFI pair in the MP capability is no reason to failClaudio Jeker
2010-02-11We need to load the config before kr_init() is called or fib-update isClaudio Jeker
2010-02-11While looking through this code I figured out that set nexthop self andClaudio Jeker
2010-02-09Don't hardcode the AID to AID_INET6 when sending MP EoR updates.Claudio Jeker
2010-02-08Unbreak IPv6 local address lookups. Some idiot aka me optimised a loop andClaudio Jeker
2010-02-08It is enough that peer->capa.mp[i] is non zero. It does not need to be 1.Claudio Jeker
2010-01-13Add support for BGP MPLS VPN aka RFC 4364. This is only the RDE part soClaudio Jeker
2010-01-11Do not crash when starting up with a bad config file. Check thatClaudio Jeker
2010-01-11lex <=, >=, !=, and >< into a single token for correctness and to reduce theTheo de Raadt
2010-01-11Make sure we do not add trailing garbage while parsing a prefix that has aClaudio Jeker
2010-01-10Generate a EoR marker in the update list instead of sending it independentClaudio Jeker
2010-01-10Switch rib_dump() to use AID instead of AFs. OK henning@Claudio Jeker
2010-01-09Fix fatalx message.Claudio Jeker
2010-01-05Make sure that all important config variables are synced on a reload inClaudio Jeker
2009-12-31Instead of passing the config via arguments to the childs on bootup issueClaudio Jeker
2009-12-18Merge rde_filter_community() with community_match() and kill a uselessClaudio Jeker
2009-12-17Fix formatstring in printf.Claudio Jeker
2009-12-16Implement "set ext-community [delete] subtype key:value" to set and deleteClaudio Jeker
2009-12-14addr2sa() will return NULL for AID_UNSPEC and pfkey_send() may end up withClaudio Jeker
2009-12-09parsecommunity() always works on a struct filter_community. So pass aClaudio Jeker
2009-12-09parsecommunity() does not allow to set unknown well-known communities.Claudio Jeker
2009-12-08porcesses -> processesJonathan Gray
2009-12-08Big AID change part two. This changes the mp capability into an array ofClaudio Jeker
2009-12-06Doh, switch src and dst in memcpy calls or the wrong thing gets copied.Claudio Jeker
2009-12-04Remove a hardcoded AF_INET6 with the correct use of the current AID.Claudio Jeker
2009-12-03Stop the IdleHold timer when going to idle state. This makes it a bitClaudio Jeker