summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/kroute.c
AgeCommit message (Expand)Author
2004-01-062004Henning Brauer
2004-01-05protect against trying to couple when we're already coupled to the fib,Henning Brauer
2004-01-02mark a few numbers U to please compilers; henning okTheo de Raadt
2003-12-30typos from davidHenning Brauer
2003-12-28typo in commentHenning Brauer
2003-12-27styleHenning Brauer
2003-12-27consider the defualt route in kroute_match as well. it is a special case.Henning Brauer
2003-12-27keep a copy of the fd locally instead of passing it around all timeHenning Brauer
2003-12-27provide kroute_fib_couple and _decouple, pumping all bgp routes from theHenning Brauer
2003-12-27implement "no fib-update" much coolerHenning Brauer
2003-12-27when a static route is deleted on that a nexthop depends, we re-checkHenning Brauer
2003-12-26detect when a newly added kernel route (non-bgp of course) matches a nexthopHenning Brauer
2003-12-26factor out common codeHenning Brauer
2003-12-2620 minutes debugging for a missinf return (0) at the end of a function,Henning Brauer
2003-12-26by making kroute_dispatch_msg() and kroute_nexthop_add() return int insteadHenning Brauer
2003-12-26report as many errors upstream as possible instead of fatal() so theyHenning Brauer
2003-12-26handle kroute_init failures nicerHenning Brauer
2003-12-26provide a real log_errHenning Brauer
2003-12-26127/8 is special, and thus needs special protection.Henning Brauer
2003-12-26o improve logging dramaticallyHenning Brauer
2003-12-26handle IMSG_NEXTHOP_DELETE as wellHenning Brauer
2003-12-26kroute_nexthop_check -> kroute_nexthop_addHenning Brauer
2003-12-26kroute_validate_nexthop is a private functionHenning Brauer
2003-12-26finally marry rde and kroute parts of the nexthop verification:Henning Brauer
2003-12-26o in struct nexthop_node, we don't need the full kroute_nexthop struct,Henning Brauer
2003-12-25nothing uses the special return value kroute_msg used to set for EEXIST anyHenning Brauer
2003-12-25bring us closer to a complete nexthop verification that does NOT needHenning Brauer
2003-12-25detect connected routes and flag them as suchHenning Brauer
2003-12-25track routing table changes that are _not_ caused by bgpd itselfHenning Brauer
2003-12-25factor out prefixlen_classful() and mask2prefixlen()Henning Brauer
2003-12-25kill an inappropriate XXXHenning Brauer
2003-12-25remove a useless check & commentHenning Brauer
2003-12-25(more or less) handle ESRCH for RTM_ADDHenning Brauer
2003-12-25it actually makes more sense to call the merged function kroute_changeHenning Brauer
2003-12-25kroute_change is obsolete, long live kroute_addHenning Brauer
2003-12-25check with our local view wether there is already an entry for the to beHenning Brauer
2003-12-25oups, remove debugging cruftHenning Brauer
2003-12-25skip over routing table entires with flag LLINFO (that's arp cache)Henning Brauer
2003-12-25dump a copy of the kernel routing table into our own view on startupHenning Brauer
2003-12-24no O_NONBLOCK for routing and tcp sockets, theoHenning Brauer
2003-12-24now that we keep track of the routes we added to the kernel we can removeHenning Brauer
2003-12-24keep track of the routes we inserted to the kernelHenning Brauer
2003-12-23use RTF_PROTO1 for nowHenning Brauer
2003-12-23no RTF_MASKHenning Brauer
2003-12-23don't panic on EEXIST. that's normal for a full-table router to get a routeHenning Brauer
2003-12-23bzero, set sin_len, and fix an error messageHenning Brauer
2003-12-22o add low-level functions for adding/chaining/removing kernel routesHenning Brauer