linux/arch/powerpc
Jan Engelhardt 49c794e946 net: implement a SO_PROTOCOL getsockoption
Similar to SO_TYPE returning the socket type, SO_PROTOCOL allows to
retrieve the protocol used with a given socket.

I am not quite sure why we have that-many copies of socket.h, and why
the values are not the same on all arches either, but for where hex
numbers dominate, I use 0x1029 for SO_PROTOCOL as that seems to be
the next free unused number across a bunch of operating systems, or
so Google results make me want to believe. SO_PROTOCOL for others
just uses the next free Linux number, 38.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-08-05 13:02:56 -07:00
..
boot Merge commit 'kumar/next' into merge 2009-06-26 16:58:01 +10:00
configs Merge commit 'origin/master' into next 2009-06-17 10:24:53 +10:00
include/asm net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
kernel powerpc/440: Fix warning early debug code 2009-06-26 16:55:35 +10:00
kvm powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
lib powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
math-emu powerpc/math-emu: Fix efp dependence 2009-03-11 06:00:08 -05:00
mm powerpc/mm: Make k(un)map_atomic out of line 2009-06-26 14:37:25 +10:00
oprofile powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
platforms Merge commit 'kumar/next' into merge 2009-06-26 16:58:01 +10:00
sysdev Merge commit 'kumar/next' into merge 2009-06-26 16:58:01 +10:00
xmon powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
Kconfig powerpc: Add irqtrace support for 32-bit powerpc 2009-06-26 14:37:27 +10:00
Kconfig.debug powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
Makefile powerpc: Move VMX and VSX asm code to vector.S 2009-06-09 16:46:25 +10:00