summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
AgeCommit message (Expand)Author
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
2005-06-13route label support, kroute part and ID allocator as well as the internalHenning Brauer
2005-06-07Set the reject and blackhole flags for kernel routes too. This makes theClaudio Jeker
2005-06-07Fix the mask2prefixlen6() function once and for all. Netmasks are stored inClaudio Jeker
2005-06-06allow show fib to be limited to inet or inet6 families, claudio okHenning Brauer
2005-06-05on CTL_KROUTE requests, send back both v4 and v6 routesHenning Brauer
2005-06-05work around another disgusting ugliness in v6: the netmasks we get onHenning Brauer
2005-06-02Cleanup recent kroute6 additions. OK henningChad Loder
2005-05-27bah, more kaesefondue (debugging cruft left in)Henning Brauer
2005-05-27don't need to fetch the kernel routing twice, once for v4 and once for v6,Henning Brauer
2005-05-27will throw claudio in a big pot of kaesefondue for repeated whitespace fuckupsHenning Brauer
2005-05-27kroute6 support, at least partially. Get it in so that Henning can clean itClaudio Jeker
2005-05-13The NET_RT_IFLIST sysctl returns RTM_IFINFO and RTM_NEWADDR messages inClaudio Jeker
2005-04-28Support for "network connected" and "network static" -- announce allClaudio Jeker
2005-04-28Be more careful when copying ifname from the struct sockaddr_dl.Claudio Jeker
2005-04-18Set flag F_STATIC based on RTF_STATIC and not just because the route cameClaudio Jeker