Searched defs:sin (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/ext/ftp/
H A Dftp.c708 struct sockaddr_in *sin; local
779 sin = (struct sockaddr_in *) sa;
780 sin->sin_family = AF_INET;
781 sin->sin_addr = ipbox.ia[0];
782 sin->sin_port = ipbox.s[2];
/PHP_TRUNK/ext/sockets/
H A Dsockaddr_conv.c85 int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock) /* {{{ */ argument
91 sin->sin_addr.s_addr = tmp.s_addr;
106 memcpy(&(sin->sin_addr.s_addr), host_entry->h_addr_list[0], host_entry->h_length);
H A Dsockets.c1183 struct sockaddr_in *sin; local
1225 sin = (struct sockaddr_in *) sa;
1228 addr_string = inet_ntoa(sin->sin_addr);
1236 ZVAL_LONG(port, htons(sin->sin_port));
1264 struct sockaddr_in *sin; local
1303 sin = (struct sockaddr_in *) sa;
1306 addr_string = inet_ntoa(sin->sin_addr);
1314 ZVAL_LONG(arg3, htons(sin->sin_port));
1420 struct sockaddr_in sin = {0}; local
1427 sin
1644 struct sockaddr_in sin; local
1768 struct sockaddr_in sin; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dphp_math.h32 PHP_FUNCTION(sin); variable
/PHP_TRUNK/main/
H A Dnetwork.c961 struct sockaddr_in *sin = (struct sockaddr_in *) addr; local
962 sin->sin_family = AF_INET;
963 sin->sin_port = htons(port);
964 sin->sin_addr.s_addr = htonl(INADDR_ANY);

Completed in 9 milliseconds