Home
last modified time | relevance | path

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

12

/external/strace/xlat/
Dsock_ax25_options.h108 #if defined(SO_BINDTODEVICE) || (defined(HAVE_DECL_SO_BINDTODEVICE) && HAVE_DECL_SO_BINDTODEVICE)
109 XLAT(SO_BINDTODEVICE),
Dsock_options.h605 #if defined(SO_BINDTODEVICE) || (defined(HAVE_DECL_SO_BINDTODEVICE) && HAVE_DECL_SO_BINDTODEVICE)
607 static_assert((SO_BINDTODEVICE) == (13), "SO_BINDTODEVICE != 13");
610 # define SO_BINDTODEVICE 13
613 #if defined(SO_BINDTODEVICE) || (defined(HAVE_DECL_SO_BINDTODEVICE) && HAVE_DECL_SO_BINDTODEVICE)
615 static_assert((SO_BINDTODEVICE) == (16409), "SO_BINDTODEVICE != 16409");
618 # define SO_BINDTODEVICE 16409
621 #if defined(SO_BINDTODEVICE) || (defined(HAVE_DECL_SO_BINDTODEVICE) && HAVE_DECL_SO_BINDTODEVICE)
623 static_assert((SO_BINDTODEVICE) == (25), "SO_BINDTODEVICE != 25");
626 # define SO_BINDTODEVICE 25
1626 XLAT(SO_BINDTODEVICE),
[all …]
Dsock_ax25_options.in15 SO_BINDTODEVICE
Dsock_options.in194 SO_BINDTODEVICE 13
196 SO_BINDTODEVICE 16409
198 SO_BINDTODEVICE 25
/external/openssh/openbsd-compat/
Dport-net.c55 if (getsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, dev, &len) == -1) { in sys_get_rdomain()
67 if (setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, in sys_set_rdomain()
88 if (setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, in sys_valid_rdomain()
/external/libwebsockets/lib/plat/unix/
Dunix-sockets.c149 #if defined(SO_BINDTODEVICE) in lws_plat_set_socket_options()
152 if (setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, vhost->iface, in lws_plat_set_socket_options()
380 if (setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, &i, sizeof(i)) < 0) { in lws_plat_BINDTODEVICE()
/external/autotest/client/cros/
Ddhcp_test_server.py67 SO_BINDTODEVICE = 25 variable
137 SO_BINDTODEVICE,
/external/kernel-headers/original/uapi/asm-generic/
Dsocket.h42 #define SO_BINDTODEVICE 25 macro
/external/rust/crates/libc/src/unix/linux_like/linux/arch/sparc/
Dmod.rs33 pub const SO_BINDTODEVICE: ::c_int = 0x000d; constant
/external/rust/crates/libc/src/unix/linux_like/linux/arch/mips/
Dmod.rs39 pub const SO_BINDTODEVICE: ::c_int = 25; constant
/external/rust/crates/libc/src/unix/linux_like/linux/arch/powerpc/
Dmod.rs34 pub const SO_BINDTODEVICE: ::c_int = 25; constant
/external/rust/crates/libc/src/unix/linux_like/linux/arch/generic/
Dmod.rs34 pub const SO_BINDTODEVICE: ::c_int = 25; constant
/external/wpa_supplicant_8/src/drivers/
Ddriver_wired.c265 if (setsockopt(drv->dhcp_sock, SOL_SOCKET, SO_BINDTODEVICE, in wired_init_sockets()
/external/mtpd/
Dmtpd.c291 if (!setsockopt(s, SOL_SOCKET, SO_BINDTODEVICE, interface, in create_socket()
/external/toybox/toys/pending/
Darping.c238 if (setsockopt(p_fd, SOL_SOCKET, SO_BINDTODEVICE, TT.iface, in arping_main()
Dtraceroute.c176 if (setsockopt(sock, SOL_SOCKET, SO_BINDTODEVICE, &ifr, sizeof(ifr))) in bind_to_interface()
/external/python/cpython2/Lib/plat-linux2/
DIN.py469 SO_BINDTODEVICE = 25 variable
/external/iputils/
Dtraceroute6.c551 if (setsockopt(probe_fd, SOL_SOCKET, SO_BINDTODEVICE, device, strlen(device)+1) == -1) in main()
/external/linux-kselftest/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()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_process.c1008 #ifdef SO_BINDTODEVICE in configure_socket()
1010 if (setsockopt(s, SOL_SOCKET, SO_BINDTODEVICE, in configure_socket()
/external/dnsmasq/src/
Dnetwork.c634 #if defined(SO_BINDTODEVICE) in local_bind()
636 setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, intname, strlen(intname)) == -1) in local_bind()
/external/curl/lib/
Dconnect.c288 #ifdef SO_BINDTODEVICE in bindlocal()
304 if(setsockopt(sockfd, SOL_SOCKET, SO_BINDTODEVICE, in bindlocal()
/external/ipsec-tools/
Dsetup.c411 if (setsockopt(fd, SOL_SOCKET, SO_BINDTODEVICE, in add_isakmp_handler()
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_ssdp.c868 if (setsockopt(sd, SOL_SOCKET, SO_BINDTODEVICE, &req, in ssdp_open_multicast_sock()
/external/iproute2/misc/
Darpd.c202 if (setsockopt(udp_sock, SOL_SOCKET, SO_BINDTODEVICE, ifr.ifr_name, strlen(ifr.ifr_name)+1) < 0) in send_probe()

12