Unless I'm missing an inside joke, the following paragraph in the
socket(7) man page mistakenly references bind(8) instead of bind(2).
SO_BINDTODEVICE
Bind this socket to a particular device like "eth0", as specified in
the passed interface name. If the name is an empty string or the
option length is zero, the socket device binding is removed. The
passed option is a variable-length null-terminated interface name
string with the maximum size of IFNAMSIZ. If a socket is bound to an
interface, only packets received from that particular interface are
processed by the socket. Note that this only works for some socket
types, particularly AF_INET sockets. It is not supported for packet
sockets (use normal bind(8) there).
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Netdev]
[Linux Ethernet Bridging]
[Linux Wireless]
[Kernel Newbies]
[Memory]
[Security]
[Linux for Hams]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux RAID]
[Linux Admin]
[Samba]
[Video 4 Linux]
[Linux Resources]