summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
AgeCommit message (Expand)Author
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
2004-01-17keep & track interface names as well, not only indicesHenning Brauer
2004-01-17allow the interfaces as bgpd sees 'em to be queried via imsgsHenning Brauer
2004-01-17actually update interface flags in if_change()Henning Brauer
2004-01-17use the new RTM_IFANNOUNCE messages to track interface (de-)appearance,Henning Brauer
2004-01-14add soon-needed kif_remove()Henning Brauer
2004-01-11KNFHenning Brauer
2004-01-11use bgpd_addr in the nexthop tree; change nexthop_add/_remove accordinglyHenning Brauer
2004-01-11we need to have the address family set in bgpd_addr structs when theyHenning Brauer
2004-01-11when sending the nexthop status message, include the kroute that makes thatHenning Brauer
2004-01-11use struct bgpd_addr for nexthop and gateway in struct kroute_nexthopHenning Brauer
2004-01-11new message IMSG_CTL_SHOW_NEXTHOP: request/send lost of BGP nexthops andHenning Brauer
2004-01-09for IMSG_CTL_KROUTEs allow matching based on flags,Henning Brauer