[NET]: Introducing socket mark socket option.
authorLaszlo Attila Toth <panther@balabit.hu>
Thu, 31 Jan 2008 03:08:16 +0000 (19:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:27:19 +0000 (19:27 -0800)
commit4a19ec5800fc3bb64e2d87c4d9fdd9e636086fe0
tree610bd4e7dbcbdae25ba3806f4256745e98617825
parent036c2e27bc3a6498afb35de017d810194032d765
[NET]: Introducing socket mark socket option.

A userspace program may wish to set the mark for each packets its send
without using the netfilter MARK target. Changing the mark can be used
for mark based routing without netfilter or for packet filtering.

It requires CAP_NET_ADMIN capability.

Signed-off-by: Laszlo Attila Toth <panther@balabit.hu>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
27 files changed:
include/asm-alpha/socket.h
include/asm-arm/socket.h
include/asm-avr32/socket.h
include/asm-blackfin/socket.h
include/asm-cris/socket.h
include/asm-frv/socket.h
include/asm-h8300/socket.h
include/asm-ia64/socket.h
include/asm-m32r/socket.h
include/asm-m68k/socket.h
include/asm-mips/socket.h
include/asm-parisc/socket.h
include/asm-powerpc/socket.h
include/asm-s390/socket.h
include/asm-sh/socket.h
include/asm-sparc/socket.h
include/asm-sparc64/socket.h
include/asm-v850/socket.h
include/asm-x86/socket.h
include/asm-xtensa/socket.h
include/net/route.h
include/net/sock.h
net/core/sock.c
net/ipv4/ip_output.c
net/ipv4/raw.c
net/ipv6/ip6_output.c
net/ipv6/raw.c