summaryrefslogtreecommitdiff
path: root/sys/net/rtsock.c
AgeCommit message (Expand)Author
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
2014-01-10replace the rest of the obsolete radix macrosTed Unangst
2014-01-09replace Bcopy macro with memmove and memcpy. ok mpiTed Unangst
2013-11-01The old routing messages compatibility code did not work on strictAlexander Bluhm
2013-10-31Convert the route expire timestamp in kernel and routing messageAlexander Bluhm
2013-10-20rt_mpath_next() was always called with 0 in the last argument. So drop it.Claudio Jeker
2013-10-20Make sure that the RTM_DESYNC message is not filtered out. Also ensure thatClaudio Jeker
2013-08-28Remove unused argument from *rtrequest()Martin Pieuchot
2013-05-17Do not attempt to delete the undeletable RNF_ROOT route.Kenneth R Westerback
2013-03-15change LIST_END to literal NULL for clarity.Ted Unangst
2013-03-07Remove the IFAFREE() macro, the ifafree() function it was calling alreadyMartin Pieuchot
2012-09-20Fix a pair of typos in comments.Bret Lambert
2012-09-19Make rt_lookup return a pointer to an rtentry struct instead ofBret Lambert
2012-09-19More radix internals pushdown; place rn_mpath_next, which accepts andBret Lambert
2012-09-17Whitespace change (excess indentation).Bret Lambert
2012-03-28Use p_p->ps_pid as pid in the route header instead of the thread pid. GiveClaudio Jeker
2011-04-07Do not use NULL in integer comparisons. No functional change.Miod Vallat
2011-04-04m_copyback is no longer a void function, so start using its error returnBret Lambert
2011-04-03Always reserve space in the routing socket for a desync mbuf. This allowsJoel Sing
2011-03-31- use nitems(); no binary changeJasper Lievisse Adriaanse
2011-02-14free mbuf in failure case. fix for pr6562. ok claudio.Ted Unangst
2011-01-06dst my point to memory inside rt so move the check up before theClaudio Jeker
2011-01-06Minor style nitClaudio Jeker
2010-10-28Do not send route messages to userland processes that the kernelClaudio Jeker
2010-10-11Implement an rtsocket filter for rtableids. A process will initiallyClaudio Jeker
2010-09-08Switch the MPLS blocks for RTM_CHANGE. Do not always remove the MPLSClaudio Jeker
2010-09-02don't attempt to enqueue routing messages on sockets marked SS_CANTRCVMOREBret Lambert
2010-08-25Let rtable_add() return usefull errnos so that the ioctl handler and theClaudio Jeker
2010-08-24last is a pointer so initialize to NULL and not 0. Also move initializationClaudio Jeker
2010-07-14The append side of a socketbuffer is not allowed to call sbflush().Claudio Jeker
2010-07-14if we produce a lot of rtsock messages it is possible we will hit aDavid Gwynne
2010-07-09When protocol filtering is used on the rtsocket filter only messages thatClaudio Jeker
2010-07-02m_copyback can fail to allocate memory, but is a void fucntion so gymnasticsBret Lambert
2010-06-28Add the rtable id as an argument to rn_walktree(). Functions likeClaudio Jeker
2010-05-19Require RTF_MPLS to be set when a mpls route is added or changed. To removeClaudio Jeker
2010-04-21Implement a way to get information about a rtable. Currently only the rtableidClaudio Jeker