summaryrefslogtreecommitdiff
path: root/sys/net/rtsock.c
AgeCommit message (Expand)Author
2017-01-24Introduce rt_report() a function that generates a route message from anClaudio Jeker
2017-01-23i botched the copyout to ifr->ifr_data in SIOCGIFDATA.David Gwynne
2017-01-23merge the ifnet and ifqueue stats together when userland wants them.David Gwynne
2017-01-23Zap some bad whitespace.Kenneth R Westerback
2017-01-22Cleanup error handling. Do not use 'goto flush' early on since the messageClaudio Jeker
2017-01-21Change route_input to a non-variadic function and just pass the addressClaudio Jeker
2017-01-20use per-cpu counters for rtstat.David Gwynne
2017-01-19add hooks so we can query the current state of a BFD sessionPeter Hessler
2016-12-20A NET_LOCK() was is missing in tcp_sysctl() which shows up as splAlexander Bluhm
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-11-29m_free() and m_freem() test for NULL. Simplify callers which had their ownJonathan Gray
2016-11-21Enforce that pr_usrreq functions are called at IPL_SOFTNET.Martin Pieuchot
2016-10-18Place splsoftnet() in route_input() to shut up splassert warningsAlexander Bluhm
2016-09-27Protect sbappendaddr() and sorwakeup() with splsoftnet inAlexander Bluhm
2016-09-24a route message for BFD, so we can notify userland about the status.Peter Hessler
2016-09-17*** empty log message ***Peter Hessler
2016-09-07Rename rtable_mpath_next() into rtable_iterate() and make it do a properMartin Pieuchot
2016-09-05Kill raw_ctlinput() this function is INCOMPLETE since rev 1.1 and is notClaudio Jeker
2016-09-04Make it possible to toggle RTF_BFD via RTM_CHANGE and fix some minor thingsClaudio Jeker
2016-09-01No longer needed to special case RTM_GET in these if statements sinceClaudio Jeker
2016-09-01Move RTM_GET into its own case block not intermixing it with RTM_CHANGEClaudio Jeker
2016-09-01Move the RTF_LOCAL check that only makes sense for userland toMartin Pieuchot
2016-09-01Use rtable_match() rather than rtalloc() when looking for an existingMartin Pieuchot
2016-09-01RTM_CHANGE should not allow to change the gateway of a mpath route.Martin Pieuchot
2016-08-23Update the L2 content of a RTF_CACHED entry instead of going thoughMartin Pieuchot
2016-08-22Make the ``rt_gwroute'' pointer of RTF_GATEWAY entries immutable.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-03set rt_expire times against time_uptime, not time_second.David Gwynne
2016-06-01Remove ART-specific hack now that route reference counts is similarMartin Pieuchot
2016-03-30Implement proxy ARP for ART based on mpath support.Martin Pieuchot
2016-03-26Always include the route priority in routing messages.Martin Pieuchot
2016-01-12Compare if the prefix lengths are equal rather than checking if theMartin Pieuchot
2015-12-03Get rid of rt_mask() and stop allocating a "struct sockaddr" for everyMartin Pieuchot
2015-12-03Store an interface index instead of a pointer in the "struct rtentry".Martin Pieuchot
2015-11-18Do not dereference rt_ifp to call if_rtrequest.Martin Pieuchot
2015-11-09Rewrite rtalloc(9) to consider RTF_GATEWAY entries without valid next-Martin Pieuchot
2015-11-02Merge rtable_mpath_match() into rtable_lookup().Martin Pieuchot
2015-10-30Rename rtrequest1() to rtrequest().Alexander Bluhm
2015-10-25Be more consisten with rtmsgs. Always set rtm_index (even in the RTM_GETClaudio Jeker
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-23It was possible to create a gateway route pointing to another gatewayAlexander Bluhm
2015-10-23Introduce a new sysctl NET_RT_IFNAMES that returns only ifnames to ifindexClaudio Jeker
2015-10-22Use only one refcounting mechanism for route entries.Martin Pieuchot
2015-10-22Inspired by satosin(), use inline functions to convert sockaddr dl.Alexander Bluhm
2015-09-21Pass the correct variable to free(9) and while here add the size.Martin Pieuchot