SO_BINDTODEVICE - SO_BINDTODEVICE - UG1586

Onload User Guide (UG1586)

Document_ID
UG1586
Release_Date
2026-06-08
Revision
1.5 English

In response to the setsockopt() function call with SO_BINDTODEVICE, sockets identifying unsupported interfaces will be handled by the kernel and all sockets identifying supported interfaces will be handled by Onload. All sends from a socket are sent via the bound interface. Only traffic received over the bound interface will be delivered to the socket.