lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 5 Sep 2008 15:55:14 +0200
From:	"Johann Baudy" <>
To:	"Evgeniy Polyakov" <>
Subject: Re: Fwd: Packet mmap: TX RING and zero copy

Hi Evgeniy,

> That's a bug. Likely no one sends file content via udp, so it was not
> detected...

Ok, I'll will run a FTRACE of this issue on monday;

>> I will try to investigate it but for my app sendfile() is not
>> conceivable. Only vmsplice could, but too slow.
> Well, you can mmap empty file into the RAM, lock it there, DMA data from
> the sensor to the mmapped area, add headers (just in the mapped area)
> and then sendfile that file.. Single syscall, zero-copy, standard
> interfaces :)

OK but it seems that there is no way to control packet format.
(beginning of packet and size of packet).
Each packet must start with a specific header (on my app). This is a
kind of streaming.


Johann Baudy
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists