summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
AgeCommit message (Expand)Author
2011-03-07continguous -> contiguousHenning Brauer
2010-10-11bgpd needs to see all routing messages so set the ROUTE_TABLEFILTER toClaudio Jeker
2010-09-30Only 6 elements of mib are used so do allocate 6 not 7.Claudio Jeker
2010-09-02remove trailing spaces and tabs from source code; no binary changesIgor Sobrado
2010-07-12Merge duplicate log messages into one log_warn().Alexander Bluhm
2010-06-03Instead of doing a poor mans offsetof() implementation change the codeClaudio Jeker
2010-05-19When installing MPLS VPN routes set the RTF_MPLS bit since those routesClaudio Jeker
2010-05-18Be more careful in ktable_update() and ktable_new() and the fib sync flag.Claudio Jeker
2010-05-17Last bits of MPLS VPN support. Hook kernel routing tables and RIB together.Claudio Jeker
2010-05-03Make it possible to load multiple routing tables at the same time and useClaudio Jeker
2010-04-13Instead of passing AF specific struct kroutes over imsgs use a structClaudio Jeker
2010-04-06Switch to a more address family independent nexthop imsg. Instead of passingClaudio Jeker
2010-02-26Fix some minor issues. 0 instead of NULL in one comparison. Set theClaudio Jeker
2010-02-23Remove some extra ().Claudio Jeker
2009-12-01Use an artificial address family id in struct bgpd_addr and almost everywhereClaudio Jeker
2009-07-23Send the used kroute along with the nexthop information. This allows usClaudio Jeker
2009-07-23knexthop_compare() failed to compare correctly and because of this it wasClaudio Jeker
2009-07-20Include more info in the bgpctl show nexthop ctl message. Mainly add theClaudio Jeker
2009-06-25Add missing RTM_VERSION checks. Bad me, no cockies.Claudio Jeker
2009-06-12Move prefixlen2mask and inet6applymask to util.c so that we can kill theClaudio Jeker
2009-06-05rtm->rtm_hdrlen conversionChris Cappuccio
2009-05-25In dispatch_rtmsg_addr() don't fatal on missing multipath deletes. Not 100%Claudio Jeker
2009-02-11Because IPv6 fucked up and created a badly sized struct sockaddr_in6 we needClaudio Jeker
2009-02-09Correct function name in warning to avoid confusion. After a discussion onClaudio Jeker
2009-01-01Remove unneeded debug messages that made it into the tree.Claudio Jeker
2008-12-12Make bgpd route priority aware and while there sync in the basics to correctlyClaudio Jeker
2008-11-21Track nexthops when the underlying route is changing. Until now true nexthopsClaudio Jeker
2008-05-09insert/delete routes with priority RTP_BGPHenning Brauer
2008-05-08backout shit committed on accidentHenning Brauer
2008-05-08in timer_set, when figuring out the right position for the timer,Henning Brauer
2007-11-24Another missing RTM_VERSION check. This will remove the RB_INSERT warningsClaudio Jeker
2007-11-24some spelling fixes from Martynas VenckusJason McIntyre
2007-10-04when inserting blackhole or reject routes, set the gateway address toHenning Brauer
2007-05-11Various spelling fixes from Stuart Henderson.Claudio Jeker
2007-04-19Use vectorized writes to send routing messages into the kernel instead ofClaudio Jeker
2007-02-22KNFHenning Brauer
2007-02-07remove a log_debug() that is no longer needed.Claudio Jeker
2006-11-28allow bgpd to work on alternate routing tables, claudio ok, jmc manpage helpHenning Brauer
2006-11-28mib we pass to sysctl when fetching the routing table has 7 entries now,Henning Brauer
2006-11-16for now, make bgpd work with routing table 0 (main one) and ignore routingHenning Brauer
2006-08-03On startup in fetchtable() clean the routing table of all PROTO1 routes.Claudio Jeker
2006-04-12messages on the routing socket have different headers - rt_msghdr,Henning Brauer
2006-03-22Change the way bgpd selects nexthops. Up until now every route was consideredClaudio Jeker
2006-02-23Use the new rtm_fmask feature to reset blackhole and reject routes onClaudio Jeker
2006-01-31Dynamic routes (PMTU, etc) are not redistributable even for IPv6.Claudio Jeker
2005-12-14Replace strlcpy() with memcpy() in the sockaddr_dl handling. sdl_data isClaudio Jeker
2005-09-21when the route to a nexthop is a reject or blackhole route, the nexthopHenning Brauer
2005-07-01tab after spaceClaudio Jeker
2005-06-24Do not automaticaly announce routes that have RTF_DYNAMIC set. These routesClaudio Jeker
2005-06-14Don't unref something that is used later. send_rtmsg() will callClaudio Jeker