Home
last modified time | relevance | path

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

/php-src/ext/sockets/tests/
H A Dsocket_set_option_bindtodevice.phpt2 Test if socket_set_option() works, option:SO_BINDTODEVICE
11 if (!defined("SO_BINDTODEVICE")) {
12 die('SKIP SO_BINDTODEVICE not supported on this platform.');
15 die('SKIP SO_BINDTODEVICE requires root permissions.');
26 $retval_1 = socket_set_option( $socket, SOL_SOCKET, SO_BINDTODEVICE, "lo");
28 $retval_2 = socket_set_option( $socket, SOL_SOCKET, SO_BINDTODEVICE, "ethIDONOTEXIST");
/php-src/ext/sockets/
H A Dsockets_arginfo.h405 #if defined(SO_BINDTODEVICE) in register_sockets_symbols()
406 REGISTER_LONG_CONSTANT("SO_BINDTODEVICE", SO_BINDTODEVICE, CONST_PERSISTENT); in register_sockets_symbols()
H A Dsockets.stub.php296 const SO_BINDTODEVICE = UNKNOWN; define
H A Dsockets.c1983 #ifdef SO_BINDTODEVICE
1984 case SO_BINDTODEVICE: {

Completed in 16 milliseconds