android_kernel_xiaomi_sm8350/arch/microblaze
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 microblaze_mmu_v2: Makefiles 2009-05-26 16:45:24 +02:00
configs microblaze_mmu_v2: Add mmu_defconfig 2009-05-26 16:45:13 +02:00
include/asm net: implement a SO_PROTOCOL getsockoption 2009-08-05 13:02:56 -07:00
kernel microblaze: Add missing symbols for CONSTRUCTORS support 2009-06-20 14:36:58 +02:00
lib microblaze_mmu_v2: Makefiles 2009-05-26 16:45:24 +02:00
mm Move FAULT_FLAG_xyz into handle_mm_fault() callers 2009-06-21 13:08:22 -07:00
platform microblaze_v8: Makefiles for Microblaze cpu 2009-03-27 14:25:51 +01:00
Kconfig microblaze_mmu_v2: Kconfig update 2009-05-26 16:45:24 +02:00
Kconfig.debug microblaze_v8: Kconfig patches 2009-03-27 14:25:50 +01:00
Makefile microblaze_mmu_v2: Makefiles 2009-05-26 16:45:24 +02:00