Searched refs:SO_BINDTODEVICE (Results 1 – 16 of 16) sorted by relevance
/Zephyr-latest/tests/net/socket/offload_dispatcher/src/ |
D | main.c | 701 ret = zsock_setsockopt(test_sock, SOL_SOCKET, SO_BINDTODEVICE, in ZTEST() 734 ret = zsock_setsockopt(test_sock, SOL_SOCKET, SO_BINDTODEVICE, in ZTEST() 782 ret = zsock_setsockopt(test_sock, SOL_SOCKET, SO_BINDTODEVICE, in ZTEST() 829 ret = zsock_setsockopt(test_sock, SOL_SOCKET, SO_BINDTODEVICE, in ZTEST()
|
/Zephyr-latest/tests/net/socket/misc/src/ |
D | main.c | 190 ret = zsock_setsockopt(sock_s, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice() 201 ret = zsock_setsockopt(sock_c, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice() 226 ret = zsock_setsockopt(sock_c, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice() 254 ret = zsock_setsockopt(sock_s, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice() 264 ret = zsock_setsockopt(sock_c, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_so_bindtodevice()
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | sockets.rst | 240 leaves an opening to use ``SO_BINDTODEVICE`` socket option, to bind a socket to 260 setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, sizeof(ifreq)); 286 setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, sizeof(ifreq)); 288 In case no ``SO_BINDTODEVICE`` socket option is used on a socket, the socket
|
/Zephyr-latest/include/zephyr/net/ |
D | socket.h | 876 #define SO_BINDTODEVICE 25 macro
|
/Zephyr-latest/subsys/net/lib/ptp/ |
D | transport.c | 58 SO_BINDTODEVICE, in transport_socket_open()
|
/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_udp_uploader.c | 318 if (zsock_setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, &req, in zperf_udp_upload()
|
/Zephyr-latest/subsys/net/lib/sockets/ |
D | socket_dispatcher.c | 319 if ((level == SOL_SOCKET) && (optname == SO_BINDTODEVICE)) { in sock_dispatch_setsockopt_vmeth()
|
D | Kconfig | 272 interface and thus socket implementation with SO_BINDTODEVICE socket
|
D | sockets_inet.c | 2379 case SO_BINDTODEVICE: { in zsock_setsockopt_ctx()
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | mdns_responder.c | 785 ret = zsock_setsockopt(v6, SOL_SOCKET, SO_BINDTODEVICE, in init_listener() 878 ret = zsock_setsockopt(v4, SOL_SOCKET, SO_BINDTODEVICE, in init_listener()
|
D | resolve.c | 335 ret = zsock_setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, in bind_to_iface()
|
/Zephyr-latest/doc/releases/ |
D | migration-guide-3.5.rst | 300 of ``SO_BINDTODEVICE`` BSD socket option. If the Kconfig option is set to ``n``, 302 to the network interface is used by the ``SO_BINDTODEVICE`` socket option. 304 interface name is used by the ``SO_BINDTODEVICE`` socket option.
|
D | release-notes-2.6.rst | 767 * Added support for SO_BINDTODEVICE socket option.
|
/Zephyr-latest/tests/net/vlan/src/ |
D | main.c | 936 ret = zsock_setsockopt(client_sock, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in ZTEST()
|
/Zephyr-latest/subsys/net/lib/dhcpv4/ |
D | dhcpv4_server.c | 1613 ret = zsock_setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in net_dhcpv4_server_start()
|
/Zephyr-latest/tests/net/socket/udp/src/ |
D | main.c | 1981 ret = zsock_setsockopt(sock_c, SOL_SOCKET, SO_BINDTODEVICE, &ifreq, in test_check_ttl()
|