summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
AgeCommit message (Expand)Author
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
2004-10-19allow neighbor definitions to depend on interface state.Henning Brauer
2004-10-16oups, unrelated changes crept inHenning Brauer
2004-10-16prefixlen 0 is a special case for prefixlen2mask() as well, claudio okHenning Brauer
2004-08-19logic error: when there's changes affecting nexthop reachability,Henning Brauer
2004-08-05rename and move prefix_equal() to prefix_compare() which returns -1, 0, 1Claudio Jeker
2004-08-03Make the code more portable by #ifdef-ing RTF_MPATH. OK henning@Claudio Jeker
2004-07-13fix some typosJared Yanovich
2004-07-05implement "set nexthop blackhole" and "set nexthop reject"Henning Brauer
2004-07-05fix a few KNF falloutsHenning Brauer
2004-06-29little extra paranoia, ignore attempts to enter routes with a nexthopHenning Brauer
2004-06-25provide mask2prefixlen6() and prefixlen2mask6()Henning Brauer
2004-06-25after writing and deleting the kroute6 tree related functions for at least 5Henning Brauer
2004-06-22Make the RDE IPv6 ready missing is the message handling. The internalClaudio Jeker