[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACYKsS7pMFNdBxU2raMphKyb1zU7MEbhc=vsD+FdZ5sgFq71NQ@mail.gmail.com>
Date: Fri, 21 Jun 2013 07:04:16 -0300
From: Ricardo Landim <ricardolan@...il.com>
To: netdev@...r.kernel.org
Subject: UDP splice
Hi folks,
I am developing a RTP proxy for voip applications and tried use the
splice syscall
for zero copy. I am trying splice udp data to pipe and splice pipe to udp
socket.
I read some information of the splice function and reading the kernel
source code I saw this lines in net/ipv4/af_inet.c
const struct proto_ops inet_stream_ops = {
...
.splice_read = tcp_splice_read,
...
}
const struct proto_ops inet_dgram_ops = {
...
...
}
There is an implementation of splice for TCP socket but not for UDP socket.
My question is: there is some limitation in UDP socket that prevents this
implementation?
Regards,
Ricardo Landim
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists