summaryrefslogtreecommitdiff
path: root/sys/net/bfd.c
AgeCommit message (Expand)Author
2017-01-20if a route is not valid, set down instead of admindownPeter Hessler
2017-01-20fix typoPeter Hessler
2017-01-20don't increase the error counter in the not-down case, in generalPeter Hessler
2017-01-20only increase the error counter if we are in a not-down statePeter Hessler
2017-01-20correctly set our rx timer to be the required minimum, not the barePeter Hessler
2017-01-19add hooks so we can query the current state of a BFD sessionPeter Hessler
2017-01-19when parsing a BFD packet, avoid an uninitialized variable if thePeter Hessler
2017-01-19make error handling a function, and use it in a few placesPeter Hessler
2017-01-19rtisvalid() checks for RTF_UP, so instead check for RTF_BFDPeter Hessler
2017-01-19when deconfiguring a BFD session, clear both the RTF_BFD flag on thePeter Hessler
2017-01-12Remove unneeded splsoftnet().Martin Pieuchot
2016-09-24a route message for BFD, so we can notify userland about the status.Peter Hessler
2016-09-23since the kernel ticks are every 10ms, bump our minimum up a little bit.Peter Hessler
2016-09-23based on a more careful reading of the spec, we're not allowed to makePeter Hessler
2016-09-23only set the diag code when we we decide to fail it, not when the firstPeter Hessler
2016-09-23remove splsoftnet around the socket functions. if they need it, theyPeter Hessler
2016-09-20properly set our state to down when we initially create the session.Peter Hessler
2016-09-20little bit of whitespacePeter Hessler
2016-09-20sprinkle some splsoftnet around sosocket and our soon-to-be-rtmsg locationsPeter Hessler
2016-09-19sigh, correct typoPeter Hessler
2016-09-19do a better job of setting "last state"Peter Hessler
2016-09-19send a nice diagnostic reason when we destroy all bfd interfaces (reboot)Peter Hessler
2016-09-19remove a bunch of noisy implementation-helper printfsPeter Hessler
2016-09-19once again, fix the bfd state-machine. this time, tested against aPeter Hessler
2016-09-18apply the canary to the correct variablePeter Hessler
2016-09-17*** empty log message ***Peter Hessler
2016-09-15print local and remote discr as decimal, easier to compare with remote systemsPeter Hessler
2016-09-15chase dlg@'s change of merging pool_setipl into pool_initPeter Hessler
2016-09-13we no longer reach around and call DDB specific functions, so alwaysPeter Hessler
2016-09-12Add data about how long the session has been in the current state, andPeter Hessler
2016-09-10Remove a semicolon after an if statement that resulted inJonathan Gray
2016-09-07Do not check for NULL after calling an allocator with WAITOK.Martin Pieuchot
2016-09-07Use C99 types.Martin Pieuchot
2016-09-04Refactor the code an fix a few issues by doing so.Claudio Jeker
2016-09-04Only allow bfd on host routes and non-gateway routes for now.Claudio Jeker
2016-09-04Grab a reference to the route and free it once no longer needed.Claudio Jeker
2016-09-04Make it possible to toggle RTF_BFD via RTM_CHANGE and fix some minor thingsClaudio Jeker
2016-09-03handle the remaining bits of the packet we are sentPeter Hessler
2016-09-03only clear the error counter if we are successful, not if we getPeter Hessler
2016-09-03handle timer limitationsPeter Hessler
2016-09-03we really should ntohl fields coming in from the networkPeter Hessler
2016-09-03jsg@ also found some uninitialized variables, thank you!Peter Hessler
2016-09-03in order to avoid problems with precise timing, obey rfc 5880 section 6.8.7,Peter Hessler
2016-09-03if_get requires the corresponding if_put call.Peter Hessler
2016-09-03remove testing printf that snuck in accidentally.Peter Hessler
2016-09-03instead of doing everything manually, use goto cleanup idiomPeter Hessler
2016-09-03check the TTL field for incoming packets, we only support directlyPeter Hessler
2016-09-03remove a bunch of printf-debugging output and commented linesPeter Hessler
2016-09-03remove spl-dance. the functions we are protecting already do that.Peter Hessler
2016-09-03use the correct size for the pool we are init'ingPeter Hessler