summaryrefslogtreecommitdiff
path: root/sys/net/rtsock.c
AgeCommit message (Expand)Author
2017-11-03After inlining of raw_detach we know the sizes for free; pointed outFlorian Obser
2017-11-03use rop->rcb similar like in pfkeyv2_detach(); suggested by visaFlorian Obser
2017-11-03Inline trivial functions from raw_cb.c and tedu it.Florian Obser
2017-11-02Move PRU_DETACH out of pr_usrreq into per proto pr_detachFlorian Obser
2017-10-09Reduces the scope of the NET_LOCK() in sysctl(2) path.Martin Pieuchot
2017-09-05Replace NET_ASSERT_LOCKED() by soassertlocked() in *_usrreq().Martin Pieuchot
2017-09-01Change sosetopt() to no longer free the mbuf it receives and changeMartin Pieuchot
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-08-10Prevent userland to modify RTF_LOCAL route entries.Martin Pieuchot
2017-08-02Move a sanity check that only makes sense for userland where it belongs.Martin Pieuchot
2017-07-30Enable mpath support in the Allotment Routing Table (ART) on the ramdisk.Florian Obser
2017-07-30Switch installer to Allotment Routing Table (ART).Florian Obser
2017-07-28Add an error argument to rtm_send() instead of rerolling it insideMartin Pieuchot
2017-07-26Fix typo in comment, ok deraadt@anton
2017-07-24rt_getifa() is only needed for routing commands submited by userland.Martin Pieuchot
2017-07-03Both PF_ROUTE and PF_KEY need to start to take care of their own PCB listClaudio Jeker
2017-06-26Assert that the corresponding socket is locked when manipulating socketMartin Pieuchot
2017-06-09Replace rtrequest(RTM_DELETE...) rtrequest_delete() and do not evenMartin Pieuchot
2017-04-19Use the rt_rmx defines that hide the struct rt_kmetrics indirection.Alexander Bluhm
2017-04-05When building counter memory in preparation to copy to userland, alwaysTheo de Raadt
2017-03-16Do not allow to change the gateway of an existing entry if the AFMartin Pieuchot
2017-03-13Move PRU_ATTACH out of the pr_usrreq functions into pr_attach.Claudio Jeker
2017-03-09Remove unecessary splsoftnet()/splx() dances.Martin Pieuchot
2017-03-07Do not grab the NET_LOCK() for routing sockets operations.Martin Pieuchot
2017-03-07Since route_input is no longer part of the protosw struct it is possible toClaudio Jeker
2017-03-06Move the guts of route_output() meesing with the routing table in theirMartin Pieuchot
2017-03-06Prefix functions dealing with routing messages with 'rtm_' and keepMartin Pieuchot
2017-03-03Convert the variable argument list of the pr_output functions toAlexander Bluhm
2017-03-03It is allowed to sleep in route_output() as we run in process contextAlexander Bluhm
2017-03-02Implement a new routing message RTM_PROPOSAL that communicatesKenneth R Westerback
2017-03-02Fix a rtentry leak in error path.Martin Pieuchot
2017-03-02Convert domain declarations to C99 initializers.Martin Pieuchot
2017-02-22Use c99 struct initialization with protosw.David Hill
2017-02-01In sogetopt, preallocate an mbuf to avoid using sleeping mallocs withDavid Hill
2017-01-31Use CTASSERT instead of KASSERT for a few sysctl that use the counters APIJeremie Courreges-Anglas
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