summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
AgeCommit message (Expand)Author
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
2005-04-08don't whine when we can't find interface with index 0Henning Brauer
2005-03-30interface validation cleanup / fixesHenning Brauer
2005-03-29explicitely check interface flags for IFF_UP in kroute_validateHenning Brauer
2005-03-28KNFHenning Brauer
2005-03-26inet_addr("127.0.0.1") -> htonl(INADDR_LOOPBACK)Claudio Jeker
2005-03-15grow the receive buffer on the routing socket, pointed out by markus,Henning Brauer
2005-03-14send a kif structure describing the interface a route relies on alongHenning Brauer
2005-03-14"we notice when you plug the cable" - yeah, but we didn't notice when itHenning Brauer
2005-03-13when fetching the initial table, inherit the ifindex regardless of af, notHenning Brauer
2005-03-13explicitely initialize optHenning Brauer
2004-11-24if I would remember at what I looked when learning how to use our wonderfulHenning Brauer
2004-11-10"not reached" does not help LINT use NOTREACHED instead and use it only inClaudio Jeker