Home
last modified time | relevance | path

Searched refs:SO_BINDTODEVICE (Results 1 – 2 of 2) sorted by relevance

/tools/include/uapi/asm-generic/
Dsocket.h42 #define SO_BINDTODEVICE 25 macro
/tools/testing/selftests/net/
Dnettest.c295 rc = setsockopt(sd, SOL_SOCKET, SO_BINDTODEVICE, name, strlen(name)+1); in bind_to_device()
308 rc = getsockopt(sd, SOL_SOCKET, SO_BINDTODEVICE, name, &optlen); in get_bind_to_device()