or' content='cgit '/>
summaryrefslogtreecommitdiff
path: root/sys/rump/net/lib/libsockin/sockin.c
AgeCommit message (Collapse)Author
2013-08-29Remove SS_ISCONFIRMING, it is unused and TP4 will not come back.rmind
2013-06-23Make sure sockin module is initialized only oncestacktic
2013-06-01check for EOF from backing sucketpooka
2013-06-01Assert that we get PRU_ATTACH requests only for the families wepooka
have registered.
2013-06-01Add IPv6 supportstacktic
2013-04-30few more conversionspooka
2013-04-30Make hypercall calling conventions consistent: iff a hypercall can fail,pooka
it returns an int containing the error value.
2013-04-27rumpuser_poll() is used only by sockin, so make the hypercallpooka
private to that component.
2013-03-18Move the rumpuser_net set of hypercalls to be a private to the sockinpooka
component. This cleans up the generic hypercall interfaces from ones specific to only one component. They should always have been private, but the infrastructure to "make it so" didn't exist earlier. no functional change
2011-03-31Hide the radix-trie implementation of the forwarding table so that wedyoung
will have an easier time replacing it with something different, even if it is a second radix-trie implementation. sys/net/route.c and sys/net/rtsock.c no longer operate directly on radix_nodes or radix_node_heads. Hopefully this will reduce the temptation to implement multipath or source-based routing using grotty hacks to the grotty old radix-trie code, too. :-)
2010-12-05claim ENOTTY for PRU_CONTROL for nowpooka
2010-12-05Revert previous: it introduces a dependency between sockin and thepooka
netinet rump components and will have to be done another way.
2010-12-05use in_control() for PRU_CONTROLpooka
2010-04-05Push the bpf_ops usage back into bpf.h. Push the common ifp->if_bpfjoerg
check into the inline functions as well the fourth argument for bpf_attach.
2010-01-26support bpfpooka
2009-10-20Only allocate a "struct iovec" array from the healp if a reasonably sizedtron
stack array isn't large enough.
2009-10-18Avoid panic if a file system tries to write a chain of more than 32 mbuf-stron
to a socket. This happens e.g. when copying large files to SMBFS. Code reviewed by Antti Kantee.
2009-10-17fix off-by-one in sanity check and bump lazy bum magic valuepooka
2009-10-16for udp sockets crank snd/rcvbufsize to 64kpooka
2009-09-02* implement pr_ctloutputpooka
* check for errno before more costly checks
2009-03-18Ansify function definitions w/o arguments. Generated with sed.cegger
2009-01-30.. but we still need to check if nam is passed to PRU_SEND forpooka
non-connected sockets.
2009-01-30Call soisconnected() in PRU_CONNECT for udp sockets too.pooka
2009-01-27* read TCP sockets in cluster-sized chunks instead of IP_MAXPACKET.pooka
(it might be a better to chain a few clusters into the iov instead of just one since we are making the syscall anyway) * don't overwrite the useful error value
2009-01-27Hold softnet_lock only when we need it.pooka
2009-01-26* support PRU_SOCK/PEERADDRpooka
* soisdisconnected() TCP sockets if read returns a non-transient error or 0
2009-01-26Convert compile-time SOCKIN_NOTHREADS into runtime rump_threads check.pooka
2008-12-18__KERNEL_RCSIDpooka
2008-11-26Add dummy pr_ctloutput. I'm sure I had one at some point, sincepooka
it's required for rump_nfs to work, but I guess I lost it somewhere. (yes, it should actually be implemented also)
2008-11-25Make sockin radix-capable.pooka
2008-11-25Support PRU_BIND / PRU_LISTEN / PRU_ACCEPT in sockin.pooka
2008-10-26Remove trailing whitespace.minskim
2008-10-16appease 64bit gccpooka
2008-10-15Mostly support TCP, mostly meaning "client-side TCP", since listen,pooka
accept etc. is not supported yet. Disconnect is not really supported either, but doesn't matter in most cases.
2008-10-02Add a very simplistic PF_INET/SOCK_DGRAM domain/proto implementation,pooka
which delegates the work to host kernel sockets. This does not run the entire kernel TCP/IP stack in userspace and therefore does not require the ability to send or receive raw packets. This implies that root priviledges are not required. As already said above, only supports UDPv4 for now. Extending should be easy.