aboutsummaryrefslogtreecommitdiffstats
path: root/man7/socket.7
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@parallels.com>2013-02-28 15:04:05 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-03-05 18:01:24 +0100
commit83e03f72cbadbd0653d616ceae73e81a6fe17a48 (patch)
tree11b913cefc195d9dbffaa199ccc1e382a85f33fc /man7/socket.7
parent8dca821ab996f752b1d418280290fe4183883ec6 (diff)
downloadman-pages-83e03f72cbadbd0653d616ceae73e81a6fe17a48.tar.gz
socket.7: SO_BINDTODEVICE is now readable
SO_BINDTODEVICE is readable since since kernel 3.8. Signed-off-by: Pavel Emelyanov <xemul@parallels.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man7/socket.7')
-rw-r--r--man7/socket.77
1 files changed, 7 insertions, 0 deletions
diff --git a/man7/socket.7 b/man7/socket.7
index bc8a8f4de0..60dca152fc 100644
--- a/man7/socket.7
+++ b/man7/socket.7
@@ -307,6 +307,13 @@ sockets.
It is not supported for packet sockets (use normal
.BR bind (2)
there).
+
+This option is available for getting since Linux 3.8. The option
+length should contain the buffer size to receive the device name
+and is recommended to be
+.BR IFNAMSZ
+bytes. The real device name length is reported back in the option
+length argument.
.TP
.B SO_BROADCAST
Set or get the broadcast flag.