summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
AgeCommit message (Expand)Author
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
2004-01-09flag kernel routes whch are not conencted routes as static routes.Henning Brauer
2004-01-09get us a stateful imsg relaying framework, and the first receiver,Henning Brauer
2004-01-09for RTM_IFINFO messages showing up on the routing socket do not everHenning Brauer
2004-01-08in kroute_insert, use knexthop_validate instead of hand-baking a slightlyHenning Brauer
2004-01-08in knexthop_validate, always call kroute_detach_nexthop, notHenning Brauer
2004-01-08fix kroute_detach_nexthopHenning Brauer
2004-01-08our own internal route flags should have been an u_int8_t from the beginningHenning Brauer
2004-01-08rename a few functions to further clarify thingsHenning Brauer
2004-01-08big reorganization.Henning Brauer
2004-01-08KNFHenning Brauer
2004-01-08keep track of interface status. if an interface goes down mark all connectedHenning Brauer
2004-01-07deal with messages on the AF_ROUTE socket in a multiprotocol friendlier way.Henning Brauer