summaryrefslogtreecommitdiff
path: root/sys/net/route.c
AgeCommit message (Expand)Author
2016-05-02Simplify life for routing table implementations by requiring that rtable_walkJonathan Matthew
2016-04-27Remove unused arguments from rt_checkgate().Martin Pieuchot
2016-03-26Always include the route priority in routing messages.Martin Pieuchot
2016-03-26Do not populate RTAX_NETMASK when sending a routing message for RTF_HOSTMartin Pieuchot
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
2016-02-26L2 entries are always in the first table of a routing domain, this fixesTheo de Raadt
2016-02-24Fix ECMP routing by passing the correct destination address to theMartin Pieuchot
2015-12-21Pass the destination and mask to rtable_mpath_reprio() in order to notMartin Pieuchot
2015-12-11Do not pass a NULL ifp pointer to rtdeletemsg().Martin Pieuchot
2015-12-09Do not trigger a KASSERT() if the route we're trying to remove does notMartin Pieuchot
2015-12-09Do not trigger a KASSERT() when destroying/detaching an interface withMartin Pieuchot
2015-12-05remove old lint annotationsTed Unangst
2015-12-04Move the KERNEL_LOCK from rt_match() to rtable_match().Martin Pieuchot
2015-12-03Get rid of rt_mask() and stop allocating a "struct sockaddr" for everyMartin Pieuchot
2015-12-03Remove broadcast matching from ifa_ifwithaddr(), use in_broadcast() whereVincent Gross
2015-12-03Remove unused ``rt_tableid'' field from "struct rtentry".Martin Pieuchot
2015-12-03Store an interface index instead of a pointer in the "struct rtentry".Martin Pieuchot
2015-12-02rtable_delete() does not use its prio parameter, so delete it.Alexander Bluhm
2015-12-02When destroying an interface, we have to wait until all referencesAlexander Bluhm
2015-12-02Kill the RT_REPORT flag to rtalloc() and stop sending RTM_MISS messagesClaudio Jeker
2015-12-02allocate route labels as M_RTABLE instead of M_TEMPBret Lambert
2015-12-02Move multipath Hash-Threshold selection mechanism inside rtable_match().Martin Pieuchot
2015-12-01Kill redundant or unused arguments in rtredirect().Martin Pieuchot
2015-11-27Protect the growth of the routing table arrays used by rtable_get()Martin Pieuchot
2015-11-23Include <sys/atomic.h> when atomic operations are used.Martin Pieuchot
2015-11-20Initialise the ifidx to 0 (no interface) in rtredirect() to avoid usingJonathan Gray
2015-11-18Do not dereference rt_ifp to call if_rtrequest.Martin Pieuchot
2015-11-18Revert previous workaround now that multipath route selection has beenMartin Pieuchot
2015-11-18Multipath selection should be done before caching the next hop.Martin Pieuchot
2015-11-17Unbreak next-hop caching on multipath setups.Martin Pieuchot
2015-11-11Remove an XXX that no longer makes sense, rt_ifp is now always the sameMartin Pieuchot
2015-11-09Rewrite rtalloc(9) to consider RTF_GATEWAY entries without valid next-Martin Pieuchot
2015-11-04rtfree(9) accepts NULL pointers.Martin Pieuchot
2015-11-02Merge rtable_mpath_match() into rtable_lookup().Martin Pieuchot
2015-10-30Rename rtrequest1() to rtrequest().Alexander Bluhm
2015-10-25I should not have committed this chunk. Spotted by krw@Martin Pieuchot
2015-10-25Simple sizes for free(9).Martin Pieuchot
2015-10-25Merge rtable_mpath_conflict() into rtable_insert().Martin Pieuchot
2015-10-25Introduce if_rtrequest() the successor of ifa_rtrequest().Martin Pieuchot
2015-10-25Instead of doing the the if_get() dance for rt_missmsg(), change theAlexander Bluhm
2015-10-24Some rt_ifp to rt_ifidx conversions.Martin Pieuchot
2015-10-23Update route entries reference counters atomically.Martin Pieuchot
2015-10-22Use only one refcounting mechanism for route entries.Martin Pieuchot
2015-10-22Only check for rt_ifp now that it is alays the same as rt_ifa->ifa_ifp.Martin Pieuchot
2015-10-22Kill dead code, ifa is specified and won't change.Martin Pieuchot
2015-10-22Inspired by satosin(), use inline functions to convert sockaddr dl.Alexander Bluhm
2015-10-21u_short -> unsigned int for rtableid.Martin Pieuchot
2015-10-16If a DOWN route entry is passed to a L2 output function, be dumb andMartin Pieuchot
2015-10-14Reset the RTF_CONNECTED flag when cloning an entry.Martin Pieuchot
2015-10-14Rewrite the logic around the dymanic array of routing tables to helpMartin Pieuchot