Searched refs:conn_fd (Results 1 - 7 of 7) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/httpd/
H A Dhttpd.c92 int conn_fd; variable
745 if((flags = fcntl(conn_fd, F_GETFL)) != -1 &&
746 fcntl(conn_fd, F_SETFL, flags | O_NONBLOCK) != -1){//*/
752 fcntl(conn_fd, F_SETFL, flags);
757 if(ioctl(conn_fd, FIONBIO, (int) &flags) != -1){
763 ioctl(conn_fd, FIONBIO, (int) &flags);
1145 //int conn_fd;
1201 if ((conn_fd = accept(listen_fd, &usa.sa, &sz)) < 0) {
1205 if (!(conn_fp = fdopen(conn_fd, "r+"))) {
1215 close(conn_fd);
[all...]
H A Dbroadcom.c35 extern int conn_fd;
186 if ((flags = fcntl(conn_fd, F_GETFL)) < 0 ||
187 fcntl(conn_fd, F_SETFL, flags | O_NONBLOCK) < 0) {
213 if (waitfor(conn_fd, 5) <= 0)
231 if (fcntl(conn_fd, F_SETFL, flags) < 0) {
H A Dweb_ex.c35 extern int conn_fd;
2791 fd = conn_fd;
6958 if (waitfor(conn_fd, 10) <= 0)
7054 fcntl(conn_fd, F_SETOWN, -ret);
7069 ret = fcntl(conn_fd, F_GETOWN, 0);
7150 if(waitfor(conn_fd, 10) <= 0){
7226 fcntl(conn_fd, F_SETOWN, -ret);
7236 ret = fcntl(conn_fd, F_GETOWN, 0);
/asus-wl-520gu-7.0.1.45/src/router/library/libupnp-1.2.1/upnp/src/gena/
H A Dgena_device.c197 int conn_fd; local
210 conn_fd = http_Connect( destination_url, &url );
211 if( conn_fd < 0 ) {
212 return conn_fd; // return UPNP error
215 if( ( ret_code = sock_init( &info, conn_fd ) ) != 0 ) {
/asus-wl-520gu-7.0.1.45/src/router/rc/
H A Dbtnsetup.c1246 int conn_fd; local
1295 if ((conn_fd = accept(listen_fd, &usa.sa, &sz)) < 0) {
1304 if (!OTSPacketHandler(conn_fd))
/asus-wl-520gu-7.0.1.45/src/router/rc.orig/
H A Dbtnsetup.c1237 int conn_fd; local
1286 if ((conn_fd = accept(listen_fd, &usa.sa, &sz)) < 0) {
1295 if (!OTSPacketHandler(conn_fd))
/asus-wl-520gu-7.0.1.45/src/router/u2ec/
H A Dusbsock.c3473 static int handle_fifo(int *fd, fd_set *pfds, int *pfdm, int conn_fd) argument
3500 FD_SET(conn_fd, pfds);
3501 *pfdm = conn_fd > *pfdm ? conn_fd : *pfdm;
3719 int conn_fd, new_fd; // socket fd local
3778 if ((conn_fd = stream_sock_init(uTCPUSB)) < 0) {
3783 fd_in_use[conn_fd] = 1;
3786 FD_SET(conn_fd, &master_fds);
3787 fdmax = conn_fd > fdmax ? conn_fd
[all...]

Completed in 108 milliseconds