linux/arch
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
..
alpha net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
arm net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
avr32 net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
blackfin Blackfin: fix dma-mapping build errors 2009-06-22 22:31:00 -04:00
cris net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
frv net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
h8300 net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
ia64 net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
m32r net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
m68k net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
m68knommu ptrace: remove PT_DTRACE from m68k, m68knommu 2009-06-18 13:03:48 -07:00
microblaze net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
mips net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
mn10300 net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
parisc net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
powerpc net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
s390 net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
sh sh: Fix compiler error and include the definition of IS_ERR_VALUE 2009-07-02 03:32:48 +09:00
sparc net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
um net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
x86 net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
xtensa net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
.gitignore
Kconfig gcov: add gcov profiling infrastructure 2009-06-18 13:03:57 -07:00