summaryrefslogtreecommitdiff
path: root/sys/net/route.c
AgeCommit message (Expand)Author
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
2015-10-13Make sure RTF_LOCAL route entries are UP when added to the tree.Martin Pieuchot
2015-10-07Initialize the routing table before domains.Martin Pieuchot
2015-10-07Move route entry debug helpers where they belong.Martin Pieuchot
2015-10-07Move the reference counting of a newly created route entry insideMartin Pieuchot
2015-10-01Revert previous, it also breaks naddy@'s nested NFS setup.Martin Pieuchot
2015-09-30Do not try to refetch a route at the L2 layer if the given one is DOWNMartin Pieuchot
2015-09-28Factors ou the route hashing code to implement Equal-Cost Multi-PathMartin Pieuchot
2015-09-25Ensure that RTF_LOCAL route entries always stay UP.Martin Pieuchot