Thomas Graf
677e90eda3
[NET]: Zerocopy sequential reading of skb data
...
Implements sequential reading for both linear and non-linear
skb data at zerocopy cost. The data is returned in chunks of
arbitary length, therefore random access is not possible.
Usage:
from := 0
to := 128
state := undef
data := undef
len := undef
consumed := 0
skb_prepare_seq_read(skb, from, to, &state)
while (len = skb_seq_read(consumed, &data, &state)) != 0 do
/* do something with 'data' of length 'len' */
if abort then
/* abort read if we don't wait for
* skb_seq_read() to return 0 */
skb_abort_seq_read(&state)
return
endif
/* not necessary to consume all of 'len' */
consumed += len
done
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-06-23 20:59:51 -07:00
..
acpi
asm-alpha
[PATCH] remove non-DISCONTIG use of pgdat->node_mem_map
2005-06-23 09:45:00 -07:00
asm-arm
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-arm26
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-cris
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-frv
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-generic
[PATCH] adjust per_cpu definition in non-SMP case
2005-06-23 09:45:28 -07:00
asm-h8300
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-i386
[PATCH] kprobes: function-return probes
2005-06-23 09:45:21 -07:00
asm-ia64
[IA64] Fix pfn_to_nid() so the kernel compiles again for !CONFIG_DISCONTIGMEM.
2005-06-23 14:52:51 -07:00
asm-m32r
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-m68k
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-m68knommu
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-mips
[PATCH] compat: introduce compat_time_t
2005-06-23 09:45:32 -07:00
asm-parisc
[PATCH] compat: introduce compat_time_t
2005-06-23 09:45:32 -07:00
asm-ppc
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-ppc64
Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/paulus/ppc64-2.6
2005-06-23 09:49:55 -07:00
asm-s390
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-sh
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-sh64
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-sparc
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-sparc64
[PATCH] compat: introduce compat_time_t
2005-06-23 09:45:32 -07:00
asm-um
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-v850
[PATCH] streamline preempt_count type across archs
2005-06-23 09:45:19 -07:00
asm-x86_64
[PATCH] compat: introduce compat_time_t
2005-06-23 09:45:32 -07:00
linux
[NET]: Zerocopy sequential reading of skb data
2005-06-23 20:59:51 -07:00
math-emu
media
mtd
net
[TCP]: Allow choosing TCP congestion control via sockopt.
2005-06-23 20:37:36 -07:00
pcmcia
[PATCH] yenta TI: turn off interrupts during card power-on #2
2005-06-23 09:45:31 -07:00
rxrpc
scsi
sound
[PATCH] create a kstrdup library function
2005-06-23 09:45:18 -07:00
video