summaryrefslogtreecommitdiff
path: root/sys/net/route.c
AgeCommit message (Expand)Author
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
2008-07-28Fix the tracking of RTF_MPATH. Until now the magic happend on the first routeClaudio Jeker
2008-06-08First minimal cleanup of routing code, kill rtrequest() it got replaced withClaudio Jeker
2008-05-09replace rtrequest() with corresponding rtrequest1() replacement.Claudio Jeker
2008-05-09when cloning, copy the priority from the parent to the cloned route,Henning Brauer
2008-05-07Implement routing priorities. Every route inserted has a priority assignedClaudio Jeker
2008-05-07Redo rev 1.8 but this time with an additional fix to solve the dhclient crashesClaudio Jeker
2008-05-05in rt_gettable, we unfortunately have to check for rt_tables[id] != NULLHenning Brauer
2008-01-05make sure all callers of rtlabel_id2name check for a null return value.Henning Brauer
2007-09-17Do not take wild guesses at how if_enc's internal works, includePierre-Yves Ritschard
2007-09-15malloc sweep:Henning Brauer
2007-06-14Add a new "rtlabel" option to ifconfig. It allows to specify a route labelReyk Floeter
2007-05-08wildcard is nowhere used anymore. Figured out by deraadt@Claudio Jeker