1
linux/arch/avr32
Pavel Emelyanov ef64a54f6e sock: Introduce the SO_PEEK_OFF sock option
This one specifies where to start MSG_PEEK-ing queue data from. When
set to negative value means that MSG_PEEK works as ususally -- peeks
from the head of the queue always.

When some bytes are peeked from queue and the peeking offset is non
negative it is moved forward so that the next peek will return next
portion of data.

When non-peeking recvmsg occurs and the peeking offset is non negative
is is moved backward so that the next peek will still peek the proper
data (i.e. the one that would have been picked if there were no non
peeking recv in between).

The offset is set using per-proto opteration to let the protocol handle
the locking issues and to check whether the peeking offset feature is
supported by the protocol the socket belongs to.

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-21 15:03:48 -05:00
..
boards Cleanups on various subarchitectures 2012-01-09 14:21:03 -08:00
boot
configs rtc: fix build warnings in defconfigs 2011-06-15 20:04:02 -07:00
include/asm sock: Introduce the SO_PEEK_OFF sock option 2012-02-21 15:03:48 -05:00
kernel treewide: remove useless NORET_TYPE macro and uses 2012-01-12 20:13:03 -08:00
lib asm-generic: rename generic little-endian bitops functions 2011-03-23 19:46:11 -07:00
mach-at32ap macb: unify at91 and avr32 platform data 2011-11-22 15:21:16 +00:00
mm avr32: add export.h to arch/avr32 for EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:30:59 -04:00
oprofile
Kconfig avr32: select generic atomic64_t support 2012-02-03 16:16:40 -08:00
Kconfig.debug
Makefile kbuild: allow assignment to {A,C,LD}FLAGS_MODULE on the command line 2010-08-03 14:09:45 +02:00