summaryrefslogtreecommitdiff
path: root/sys/net/rtsock.c
AgeCommit message (Expand)Author
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
2010-03-23Set rtm_mpls on RTM_GET so that we get the correct options on mpls routes.Claudio Jeker
2010-02-09Set the rtm_priority when sending RTM_ADD/RTM_DELETE messages out inClaudio Jeker
2010-02-09Correctly track RTF_UP on RTM_CHANGE. Since the interface can changeClaudio Jeker
2009-11-03rtables are stacked on rdomains (it is possible to have multiple routingClaudio Jeker
2009-09-17Remove the comaptibility structures for routing socket version 3.Claudio Jeker
2009-07-07When adding or changing a MPLS route, add RTF_MPLS flag toMichele Marchetto
2009-06-26the pr_usrreq implementation for routing sockets shares exactly one lineBret Lambert
2009-06-22Remove unneeded sotorawpcb() call, as the PCB is unmolested betweenBret Lambert
2009-06-20Decrement routing socket count in MPLS detach caseBret Lambert
2009-06-06when xflags got changed, tell the userland by routing socketsRainer Giedat
2009-06-05Initial support for routing domains. This allows to bind interfaces toClaudio Jeker
2009-05-31Hide RTP_DOWN in the kernel and don't expose it to userland. Userland isClaudio Jeker
2009-05-31Fix for the rtfree 2 panic seen by some people before the release. A missingClaudio Jeker
2009-04-18Make "route(8) change" aware of MPLS.Michele Marchetto
2009-02-03Use our own flags to set the operations and not RTF_PROTOX.Michele Marchetto
2009-01-28Get rid of the ugly rtentry hack.Michele Marchetto
2009-01-28Implement basic routing socket filtering. It is possible to give a list --Claudio Jeker
2009-01-08Fix sockaddr_mpls structure.Michele Marchetto
2009-01-03Write back the priority the kernel used. Fixes a problem seen in ospfd whenClaudio Jeker
2008-12-12Make sure that incomming routing messages don't have RTP_DOWN set. MaskClaudio Jeker
2008-11-22Allow rt_msg1() to get a NULL as struct rt_addrinfo this simplifies a fewClaudio Jeker
2008-11-21Change rn_mpath_next() to be able to walk over the full multipath listClaudio Jeker
2008-08-07Remove workaround used for the 4.4 release. More route prio stuff is commingClaudio Jeker
2008-08-01force route priority to RTP_DEFAULT unconditionally, effectively disablingHenning Brauer
2008-07-28Align the route message length to the next natural boundary via ALIGN() toClaudio Jeker
2008-06-13Change the logic when selecting routes on RTM_CHANGE & RTM_GET. RTM_CHANGEClaudio Jeker
2008-06-13Cleanup a bit. Instead of doing dst = 0 in every error handling block initClaudio Jeker
2008-05-23Deal with the situation when TCP nfs mounts timeout and processesThordur I. Bjornsson
2008-05-07Implement routing priorities. Every route inserted has a priority assignedClaudio Jeker
2008-04-23Import MPLS (Multi Protocol Label Switching)Esben Norby