summaryrefslogtreecommitdiff
path: root/sys/net/route.c
AgeCommit message (Expand)Author
2017-08-02Move a sanity check that only makes sense for userland where it belongs.Martin Pieuchot
2017-07-30Enable mpath support in the Allotment Routing Table (ART) on the ramdisk.Florian Obser
2017-07-30Switch installer to Allotment Routing Table (ART).Florian Obser
2017-07-28Add an error argument to rtm_send() instead of rerolling it insideMartin Pieuchot
2017-07-27Export RTAX_IFP, RTAX_IFA and RTAX_LABEL to userland in rtdeletemsg().Martin Pieuchot
2017-07-24rt_getifa() is only needed for routing commands submited by userland.Martin Pieuchot
2017-06-09Replace rtrequest(RTM_DELETE...) rtrequest_delete() and do not evenMartin Pieuchot
2017-06-07Grab the KERNEL_LOCK() around rtm*() functions. Routing sockets globalsMartin Pieuchot
2017-05-27In ifa_ifwithroute() the rtalloc() needs to be done against the rdomainClaudio Jeker
2017-05-16Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().Martin Pieuchot
2017-04-19Use the rt_rmx defines that hide the struct rt_kmetrics indirection.Alexander Bluhm
2017-03-06Prefix functions dealing with routing messages with 'rtm_' and keepMartin Pieuchot
2017-03-02Allow MPLS switching and VPLS across rdomains.Renato Westphal
2017-02-28Use rtable_match() rather than rtalloc(9) when adding a new route.Martin Pieuchot
2017-02-15Replace manual loops with FOREACH macro.Alexander Bluhm
2017-02-05Always allocate counters memory using type M_COUNTERS.Jeremie Courreges-Anglas
2017-01-24A space here, a space there. Soon we're talking real whitespaceKenneth R Westerback
2017-01-24when we lose link, do not delete entries that have the RTF_BFD flag setPeter Hessler
2017-01-20use per-cpu counters for rtstat.David Gwynne
2017-01-19remove the BFD flag on a route *before* we actually delete the routePeter Hessler
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-12-17Insert RTF_CLONED routes at a higher priority than their partent toMartin Pieuchot
2016-12-14Make 'route add default' show a nicer error message if the providedStefan Sperling
2016-12-04Since net/route.c r1.337 interface priority factors into route priorityStefan Sperling
2016-12-02Assert that rt_match() is always called at IPL_SOFTNET rather thanMartin Pieuchot
2016-11-29m_free() and m_freem() test for NULL. Simplify callers which had their ownJonathan Gray
2016-11-21Kill rtioctl() stub, returning EOPNOTSUPP since tree import.Martin Pieuchot
2016-11-15Properly initialize ``ifa''.Martin Pieuchot
2016-11-14Reflect interface priorities when inserting RTF_CONNECTED routes.Martin Pieuchot
2016-11-14Automatically create a default lo(4) interface per rdomain.Martin Pieuchot
2016-11-09Do not call splsoftnet() recursively, this won't work with a lock.Martin Pieuchot
2016-11-08Use rtalloc(9) instead of ifa_ifwithnet().Martin Pieuchot
2016-10-06Remove redundant comments that say a function must be called atAlexander Bluhm
2016-10-05rt_timer_timer() needs a process context because it messes with theMartin Pieuchot
2016-10-04Correct the flag checks inside rt_ifa_addlocal(9) and rt_ifa_dellocal(9).Martin Pieuchot
2016-09-17*** empty log message ***Peter Hessler
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-09-13Stop creating a BFD descriptor when the route is created.Martin Pieuchot
2016-09-08Call bfd_rtfree() when the route entry has been removed from the table,Martin Pieuchot
2016-09-07Only free the old cached next hop route if the new one is valid.Martin Pieuchot
2016-09-04Do not assume that an interface index of a route is still valid inAlexander Bluhm
2016-09-04Purge routes attached to an address when this address is removed.Martin Pieuchot
2016-09-04Make it possible to toggle RTF_BFD via RTM_CHANGE and fix some minor thingsClaudio Jeker
2016-09-03Add in the (disabled) kernel glue for BFDPeter Hessler
2016-09-01Disable the RTF_UP kassert check in rtisvalid() for now as it canAlexander Bluhm
2016-09-01Move the RTF_LOCAL check that only makes sense for userland toMartin Pieuchot
2016-08-31Do not flush RTF_CLONED children when adding a new route.Martin Pieuchot
2016-08-30pool_setiplDavid Gwynne
2016-08-22Use rtalloc(9) instead of ifa_ifwithnet() to find an interfaceMartin Pieuchot
2016-08-22Make the ``rt_gwroute'' pointer of RTF_GATEWAY entries immutable.Martin Pieuchot