summaryrefslogtreecommitdiff
path: root/sys/net/route.c
AgeCommit message (Expand)Author
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
2016-08-19Do not seroize a struct needed for RTM_RESOLVE in the hot path.Martin Pieuchot
2016-08-16Mask the ``prio'' prior to comparing it to RTP_LOCAL.Martin Pieuchot
2016-07-22Check for errors when deleting routes inside rtable_walk() and abortMartin Pieuchot
2016-07-19Return EAGAIN for every deleted route when detaching an interface.Martin Pieuchot
2016-07-11Path MTU discovery was slightly broken. I took two ICMP packetsAlexander Bluhm
2016-07-11Revert the introduction of ``rt_addr''.Martin Pieuchot
2016-06-14Pass the configured ``ifa'' to rt_sendaddrmsg() instead of getting it viaMartin Pieuchot
2016-06-14Store the source address associated with a route in its own chunk ofMartin Pieuchot
2016-06-08Revert previous, it breaks regression tests.Martin Pieuchot
2016-06-07Use rtalloc(9) instead of ifa_ifwithnet() to find an interfaceMartin Pieuchot
2016-06-03Remove superfluous parenthesis to shut up clang, from David Hill.Martin Pieuchot
2016-06-03set rt_expire times against time_uptime, not time_second.David Gwynne
2016-06-01s/stall/stale/ in a comment about old interfaces.David Gwynne
2016-05-31Flush dynamic route entries attached to an interface when its link stateMartin Pieuchot
2016-05-31Plug a route entry leak triggered under memory pressure.Martin Pieuchot
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