summaryrefslogtreecommitdiff
path: root/sys/net/rtsock.c
AgeCommit message (Expand)Author
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
2015-09-11Introduce rtref(9) use it in rtable_lookup() before returning a routeMartin Pieuchot
2015-08-24Always increment the reference counter of the returned route entry inMartin Pieuchot
2015-08-19Convert all calls to rtrequest1() and the following error checkAlexander Bluhm
2015-08-17Convert two rt->rt_refcnt-- into rtfree(9) making sure the route entryMartin Pieuchot
2015-07-18NET_RT_DUMP is dumb and tries to iterates over all possible AF tablesMartin Pieuchot
2015-07-18Abstract the routing table internals behind an rtable_* API.Martin Pieuchot
2015-07-18On systems with a full routing table (550k+), we often want to be able toPeter Hessler
2015-07-16Fix rn_match and there for the expoerted lookup functions in radix.cClaudio Jeker
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-06-30Get rid of the undocumented & temporary* m_copy() macro added forMartin Pieuchot
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-05-13test mbuf pointers against NULL not 0Jonathan Gray
2015-05-05Flag user specified routes with an AF_LINK gateway as RTF_LLINFO.Martin Pieuchot
2015-02-11Do not store the key and the gateway of a route entry in the same chunkMartin Pieuchot
2015-01-13Restore sending RTM_ADD and RTM_DELETE messages to userland for everyMartin Pieuchot
2014-12-19Do not report an EDQUOT "Disk quota exceeded" error from the routingAlexander Bluhm
2014-12-11Do not change the interface of a route if it is not intended.Martin Pieuchot
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-08-12route_cb is internal to rtsock.cMartin Pieuchot
2014-08-11Put back the checks about RTF_LOCAL routes now that userland tools areMartin Pieuchot
2014-07-29Revert the checks about RTF_LOCAL routes.Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
2014-05-31Unbreak RTM_CHANGE. Unlike RTM_LOCK or RTM_GET it is OK to pass in aClaudio Jeker
2014-05-27Big refactoring of the radix code (mainly rn_addroute but also partClaudio Jeker
2014-05-27Reserve the highest route priority for kernel-managed routes and preventMartin Pieuchot
2014-05-16Do not put any link-layer address on the per-ifp lists or on the RB-Martin Pieuchot
2014-04-25Remove rti_ifp from rt_addrinfo, one less ifp pointer, say yay!Martin Pieuchot
2014-03-18Rename rt_gettable() into rtable_get(), swap its arguments to beMartin Pieuchot
2014-03-17Remove pre-rt_getifa() code to find the address descriptor (ifa) relatedMartin Pieuchot
2014-03-12RTAX_IFP points to the "struct sockaddr_dl" corresponding to theMartin Pieuchot
2014-02-13Replace hand crafted routing label code with the rtlabel_id2sa()Alexander Bluhm
2014-02-12Add rtlabel to rt_newaddrmsg, From: Florian Riehm <mail at friehm dot de>Henning Brauer
2014-01-22Remove genmask support from the kernel. rtmsgs with RTA_GENMASK set willClaudio Jeker
2014-01-21Substitute crazy defines and convert some 0 to NULL.Martin Pieuchot
2014-01-20Get rid of the old routing message version 4 transition code beforeAlexander Bluhm
2014-01-19RTF_MPATH is a flag userland needs to be able to pass in since it is usedClaudio Jeker