#
7066cc72 |
| 31-Jan-2013 |
Gustavo Lopes |
send/recvmsg() support for Windows
|
#
95f8d34f |
| 31-Jan-2013 |
Gustavo Lopes |
Revert "Payload of HOPLIMIT/TCLASS are 8-bit" This reverts commit 61a5ec7381ba5388a52926779fe3f58af0caea83. I checked Linux and OpenBSD and both use integers to write the IPV6_T
Revert "Payload of HOPLIMIT/TCLASS are 8-bit" This reverts commit 61a5ec7381ba5388a52926779fe3f58af0caea83. I checked Linux and OpenBSD and both use integers to write the IPV6_TCLASS messages and they don't force any endianness. This is despite RFC 3542 explicitly saying the first byte of cmsg_data will have the result. In any case, it doesn't make any difference in little-endian archs.
show more ...
|
#
f10baf14 |
| 30-Jan-2013 |
Gustavo Lopes |
Payload of HOPLIMIT/TCLASS are 8-bit
|
Revision tags: php-5.3.22RC1, php-5.4.12RC1, php-5.5.0alpha4, php-5.3.21, php-5.4.11, php-5.5.0alpha3, php-5.3.21RC1, php-5.4.11RC1 |
|
#
bd580db3 |
| 01-Jan-2013 |
Gustavo Lopes |
Build fixes; accept names for if_index
|
Revision tags: php-5.3.20, php-5.4.10, php-5.5.0alpha2, php-5.3.20RC1, php-5.4.10RC1, php-5.3.19, php-5.4.9, php-5.5.0alpha1 |
|
#
4414b33a |
| 11-Nov-2012 |
Gustavo Lopes |
Refactoring: move stuff to new conversions.c
|
Revision tags: php-5.3.19RC1, php-5.4.9RC1 |
|
#
66ea0245 |
| 06-Nov-2012 |
Gustavo Lopes |
Support sticky IPV6_PKTINFO
|
#
b18bd890 |
| 06-Nov-2012 |
Gustavo Lopes |
Rename some functions for consistency
|
#
8fb1aa61 |
| 06-Nov-2012 |
Gustavo Lopes |
Destroy ancillary registry on shutdown
|
#
5bf7b08e |
| 05-Nov-2012 |
Gustavo Lopes |
Check return of fstat()
|
#
190a0ed7 |
| 05-Nov-2012 |
Gustavo Lopes |
Fix build on Mac OS X By deactivating unsupported features on this OS.
|
#
7fc4671d |
| 05-Nov-2012 |
Gustavo Lopes |
Add test for CMSG_CREDENTIALS message
|
#
a85d7f28 |
| 04-Nov-2012 |
Gustavo Lopes |
Added support for AF_UNIX messages Added constants: SCM_RIGHTS, SCM_CREDENTIALS and SO_PASSCRED. The function socket_cmsg_space() was modified to support message types with vari
Added support for AF_UNIX messages Added constants: SCM_RIGHTS, SCM_CREDENTIALS and SO_PASSCRED. The function socket_cmsg_space() was modified to support message types with variable size. Its new signature is: int socket_cmsg_space(int $level, int $type, int $n) where $n is the number of repetable elements that the message is composed of.
show more ...
|
#
17540788 |
| 05-Nov-2012 |
Gustavo Lopes |
Added missing return statements
|
#
73ab2385 |
| 02-Nov-2012 |
Gustavo Lopes |
Support for IPV6_HOPLIMIT and IPV6_TCLASS
|
#
b27c22d6 |
| 02-Nov-2012 |
Gustavo Lopes |
Fix bug in from_zval_write_control_array()
|
#
b06f0047 |
| 02-Nov-2012 |
Gustavo Lopes |
Fix bug converting zval sockaddr The bug ocurred when the family was not specified but was instead guessed.
|
#
5e51c851 |
| 01-Nov-2012 |
Gustavo Lopes |
Wrap recvmsg() and sendmsg() This introduces two new functions: int socket_recvmsg(resource $socket, array &$msghdr, int $flags) int socket_sendmsg(resource $socket, array $msgh
Wrap recvmsg() and sendmsg() This introduces two new functions: int socket_recvmsg(resource $socket, array &$msghdr, int $flags) int socket_sendmsg(resource $socket, array $msghdr, int $flags) The arrays representing struct msghdr follow the native counterpart closely: structs are mapped to arrays, fields to array elements whose key is the name of the field without the prefix (e.g. "name" instead of "msg_name") and array are mapped to sequential numeric PHP arrays. Right now the only type of ancillary data supported is fot the level/type pair IPPROTO_IPV6/IPV6_PKTINFO. I also refactored out the name resolution functions and made sockets_strerror() a global function.
show more ...
|