summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
AgeCommit message (Expand)Author
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
2004-03-03plug a couple of little memory leaks in error paths that we hopefully neverHenning Brauer
2004-02-29Make sure that the fib output is nicely sorted. Use ntohl to compareClaudio Jeker
2004-02-07when connected routes show up at runtime we have to set ifindex in struct kifHenning Brauer
2004-02-07houps, fetchtable() had the default route special cased... bad.Henning Brauer
2004-02-07the sockaddr holding the netmask and advertised by rtm_addrs mightHenning Brauer
2004-02-07sin_family in the sockaddr_n representing the netmask we sniffed on theHenning Brauer
2004-01-30please sparc64, with & ok claudioHenning Brauer
2004-01-28log & ignore RTM_CHANGE messages for that we don't find an exact matchHenning Brauer
2004-01-27make rt_sendmsg's local nextop and prefix struct in_addr too and don't useHenning Brauer
2004-01-27move strict kroute from in_addr_t for nexthop and prefix to struct in_addrHenning Brauer
2004-01-23use log_addrHenning Brauer
2004-01-22use log_warnx and log_info. reclassify a few messages in the process and fixHenning Brauer
2004-01-22s/log_err/log_warn/Henning Brauer
2004-01-22an RTM_IFINFO message can mean a lot. it does not necessarily mean thatHenning Brauer
2004-01-18track interface type and baudrate as wellHenning Brauer
2004-01-17keep track of interface link state and invalidate connected routes dependingHenning Brauer