Re: zero-copy udp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Dec 3, 2007, at 2:38 PM, Stephen Hemminger wrote:
. However, I'm fine with any unreliable message protocol that
routes by default through ipv4 routers.

Simplest and safest approach without other changes is
to use AF_PACKET and mmap.


I'm unclear how this gives me a routable IP4 packet. I'm having trouble finding documentation on AF_PACKET but it appears to be a raw packet interface.
So are you suggesting I implement UDP on top of it?

Also I'm unclear how this gets rid of the buffer copy between the kernel and user
space.

By mmap I'm assuming you mean a memory mapped file. I'm unclear how that
helps.
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux