Binding such sockets via SO_BINDTODEVICE does not work at all. Instead, bind() has to be used, as described in the packet(7) man page.
Binding such sockets via SO_BINDTODEVICE does not work at all. Instead, bind() has to be used, as described in the packet(7) man page.