summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
AgeCommit message (Expand)Author
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
2004-06-22introduce kroute6, which will be used to build a seperate v6 tableHenning Brauer
2004-06-20skip over multipath routesHenning Brauer
2004-05-08implement and use prefixlen2mask() instead of doing it by hand 3 timesHenning Brauer
2004-04-28remove XXX that is wrongTheo de Raadt
2004-04-27crud stripping; henning okTheo de Raadt
2004-03-10on shutdown, explicitely clear the knexthop, kroute and kif tables, claudio okHenning Brauer
2004-03-10in kif_kr_insert and _remove, don't whine when we do not find an interfaceHenning Brauer
2004-03-10remove an ugly hack from the time when we had no RTM_IFANNOUNCE messages:Henning Brauer
2004-03-04no ; after RB_PROTOTYPE / RB_GENERATEHenning Brauer