summaryrefslogtreecommitdiff
path: root/sys/net/route.c
AgeCommit message (Expand)Author
2013-03-28code that calls timeout functions should include timeout.hTed Unangst
2013-03-28no need for a lot of code to include proc.hTed Unangst
2013-03-07Remove the IFAFREE() macro, the ifafree() function it was calling alreadyMartin Pieuchot
2012-09-20Fix a pair of typos in comments.Bret Lambert
2012-09-19Make rt_lookup return a pointer to an rtentry struct instead ofBret Lambert
2012-09-19More radix internals pushdown; place rn_mpath_next, which accepts andBret Lambert
2012-09-18Wrap rtable_add() and rtable_l2set() calls inside ifioctl() inside softnet,Bret Lambert
2012-07-13Use NULL instead of 0 in pointer context. approvedz blambert@Claudio Jeker
2012-05-09backout 1.134 since it introduced a use-after-free for routing entries;Markus Friedl
2011-12-06Remove needless temporary variable for greater clarity.Bret Lambert
2011-12-06don't duplicate rtfree actions taken by rtrequest1() in rtdeletemsg()Bret Lambert
2011-12-06simplify the somewhat-tangled conditional maze in rt_getifa()Bret Lambert
2011-07-22fix typos, martin pelikanHenning Brauer
2011-07-04LINK_STATE cleanup. It is no longer needed to special case carp(4).Claudio Jeker
2011-04-04previous commit replaced a malloc(new) with malloc(sizeof(*new)) whichBret Lambert
2011-04-04stop using the stupid R_Malloc/Bcopy/Free macros, and just start usingBret Lambert
2010-11-16If the interface address referenced by a cloning route did not pointAlexander Bluhm
2010-08-25Let rtable_add() return usefull errnos so that the ioctl handler and theClaudio Jeker
2010-08-24Only do the link state checking and RTF_UP dance if the routing table isClaudio Jeker
2010-07-09Add support for using IPsec in multiple rdomains.Reyk Floeter
2010-07-09Add the rtableid to struct rttimer and therefor make it available toClaudio Jeker
2010-07-02remove prototype of okaytoclone, which got removed in 1.117Jonathan Gray
2010-07-01Allow to specify an alternative enc(4) interface for an SA. AllReyk Floeter
2010-06-29Replace enc(4) with a new implementation as a cloner device. We stillReyk Floeter
2010-06-28Add the rtable id as an argument to rn_walktree(). Functions likeClaudio Jeker
2010-06-04rt_timer_queue_destroy() did not actually destroy, leading to a potentialBret Lambert
2010-05-19Require RTF_MPLS to be set when a mpls route is added or changed. To removeClaudio Jeker
2010-05-07Start cleaning up the mess called rtalloc*. Kill rtalloc2, make rtalloc1Claudio Jeker
2010-03-20Don't leak memory when resizing routing table arrayBret Lambert
2010-02-09Correctly track RTF_UP on RTM_CHANGE. Since the interface can changeClaudio Jeker
2009-11-03rtables are stacked on rdomains (it is possible to have multiple routingClaudio Jeker
2009-10-26Replace pool_get() + bzero() with pool_get(..., PR_ZERO).Michael Knudsen
2009-10-10fix mbuf leak in rtinit()Dariusz Swiderski
2009-09-01Make rtinit() cope when there is a more specific route available thenClaudio Jeker
2009-07-28Plug a memory leak when calling rtable_add(0) multiple times. Fixing thisClaudio Jeker
2009-06-05Initial support for routing domains. This allows to bind interfaces toClaudio Jeker
2009-05-31Reenable interface state tracking now that I found and fixed the cause ofClaudio Jeker
2009-05-26inherit the route label on cloned routesReyk Floeter
2009-05-18The routing table index rtableid has type unsigned int in the routingAlexander Bluhm
2009-03-15Introduce splsoftassert(), similar to splassert() but for soft interruptMiod Vallat
2009-02-27Do not check the link state when installing a route. This bit was missing inClaudio Jeker
2009-02-03Use our own flags to set the operations and not RTF_PROTOX.Michele Marchetto
2009-01-28Get rid of the ugly rtentry hack.Michele Marchetto
2009-01-08Fix sockaddr_mpls structure.Michele Marchetto
2008-12-12Introduce a if_priority that will be added to RTP_STATIC when routes areClaudio Jeker
2008-11-24Implement link-state tracking on the routing table. Routes to interfacesClaudio Jeker
2008-11-21Change rn_mpath_next() to be able to walk over the full multipath listClaudio Jeker
2008-09-10Convert timeout_add() calls using multiples of hz to timeout_add_sec()Bret Lambert
2008-08-07Remove workaround used for the 4.4 release. More route prio stuff is commingClaudio Jeker
2008-08-01force route priority to RTP_DEFAULT unconditionally, effectively disablingHenning Brauer