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
..
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-02-22 09:23:02 -08:00
2009-02-22 09:23:02 -08:00
2009-01-16 21:58:10 +10:00
2009-06-11 21:02:17 +02:00
2009-06-11 21:02:17 +02:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-06-11 21:02:14 +02:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:44 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:44 +10:00
2009-03-24 15:17:45 +10:00
2009-01-16 21:58:10 +10:00
2009-01-26 10:38:43 -08:00
2009-03-24 15:17:44 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-27 16:42:00 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:45 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:45 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:41 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:42 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:44 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-05-29 08:40:02 -07:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:42 +10:00
2009-03-02 16:49:37 -05:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:42 +10:00
2009-01-16 21:58:10 +10:00
2009-03-27 12:46:23 +01:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-03-26 21:15:30 +01:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-26 10:33:01 -08:00
2009-01-16 21:58:10 +10:00
2009-06-16 19:47:51 -07:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-06-11 13:09:10 +10:00
2009-06-11 13:09:10 +10:00
2009-06-11 13:09:10 +10:00
2009-06-11 13:09:10 +10:00
2009-06-11 13:09:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-03-26 21:15:27 +01:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:41 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-06-11 21:01:52 +02:00
2009-03-24 15:17:45 +10:00
2009-03-24 15:17:42 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:45 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-06-11 21:02:17 +02:00
2009-06-11 21:02:17 +02:00
2009-03-24 15:17:43 +10:00
2009-01-16 21:58:10 +10:00
2009-03-16 17:52:16 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:41 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:43 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:43 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-06-11 13:09:11 +10:00
2009-01-16 21:58:10 +10:00
2009-03-17 08:44:42 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-04-02 01:05:31 +00:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:43 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:44 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-03-17 08:44:41 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-03-16 18:00:25 +10:00
2009-03-17 08:47:11 +10:00
2009-06-11 21:01:52 +02:00
2009-01-16 21:58:10 +10:00
2009-08-05 13:02:56 -07:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-06-11 13:09:11 +10:00
2009-01-16 21:58:10 +10:00
2009-06-11 13:09:11 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:42 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:45 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-03-24 15:17:43 +10:00
2009-03-24 15:17:43 +10:00
2009-04-22 20:39:49 +02:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00
2009-01-16 21:58:10 +10:00