Searched refs:max_fd (Results 1 - 23 of 23) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna/
H A Dupnpevents.h35 void upnpevents_selectfds(fd_set *readset, fd_set *writeset, int * max_fd);
H A Dupnpevents.c374 void upnpevents_selectfds(fd_set *readset, fd_set *writeset, int * max_fd) argument
389 if(obj->s > *max_fd)
390 *max_fd = obj->s;
396 if(obj->s > *max_fd)
397 *max_fd = obj->s;
H A Dminidlna.c694 int max_fd = -1; local
898 max_fd = MAX( max_fd, sudp);
904 max_fd = MAX( max_fd, shttpl);
913 max_fd = MAX( max_fd, e->socket);
926 upnpevents_selectfds(&readset, &writeset, &max_fd);
928 if(select(max_fd+1, &readset, &writeset, 0, &timeout) < 0)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/minidlna-1.1.5/
H A Dupnpevents.h69 void upnpevents_selectfds(fd_set *readset, fd_set *writeset, int * max_fd);
H A Dminidlna.c1026 int max_fd = -1; local
1187 max_fd = MAX(max_fd, sssdp);
1193 max_fd = MAX(max_fd, shttpl);
1199 max_fd = MAX(max_fd, sbeacon);
1205 max_fd = MAX(max_fd, smonitor);
1214 max_fd
[all...]
H A Dupnpevents.c416 void upnpevents_selectfds(fd_set *readset, fd_set *writeset, int * max_fd) argument
431 if(obj->s > *max_fd)
432 *max_fd = obj->s;
436 if(obj->s > *max_fd)
437 *max_fd = obj->s;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/pptp/
H A Dpptp_callmgr.c115 int max_fd = 0; local
167 max_fd = unix_sock;
174 if (unix_sock > max_fd) max_fd = unix_sock;
176 pptp_fd_set(conn, &read_set, &write_set, &max_fd);
177 for (; max_fd > 0 ; max_fd--) {
178 if (FD_ISSET (max_fd, &read_set) ||
179 FD_ISSET (max_fd, &write_set))
183 if ((rc = select(max_fd
[all...]
H A Dpptp_ctrl.h41 void pptp_fd_set(PPTP_CONN * conn, fd_set * read_set, fd_set * write_set, int *max_fd);
H A Dpptp_ctrl.c460 int * max_fd)
468 if (*max_fd < conn->inet_sock) *max_fd = conn->inet_sock;
472 if (*max_fd < sig_fd) *max_fd = sig_fd;
459 pptp_fd_set(PPTP_CONN * conn, fd_set * read_set, fd_set * write_set, int * max_fd) argument
H A Dpptp_gre.c469 int max_fd; local
475 max_fd = gre_fd;
476 if (pty_fd > max_fd) max_fd = pty_fd;
524 retval = select(max_fd + 1, &rfds, NULL, NULL, tvp);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/common/
H A Dsocketevtdispatch.cpp129 int max_fd = 0; local
144 if (entry->m_fdInput > max_fd)
145 max_fd = entry->m_fdInput;
151 if (entry->m_fdOutput > max_fd)
152 max_fd = entry->m_fdOutput;
158 return max_fd;
195 int max_fd = FillSets( &readset, &writeset); local
196 if (select( max_fd+1, &readset, &writeset, NULL, &tv ) == 0)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/
H A Damuled.cpp135 void FillSet(int &max_fd);
198 void CSocketSet::FillSet(int &max_fd) argument
204 if ( m_fds[i] > max_fd ) {
205 max_fd = m_fds[i];
255 int max_fd = -1; local
256 m_in_set->FillSet(max_fd);
257 m_out_set->FillSet(max_fd);
263 int result = select(max_fd + 1, m_in_set->Set(), m_out_set->Set(), 0, &tv);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/pptpd/pptpd-1.3.4/
H A Dpptpmanager.c236 int max_fd; local
248 max_fd = hostSocket;
251 if (max_fd < sig_fd) max_fd = sig_fd;
254 if (select(max_fd + 1, &connSet, NULL, NULL, NULL) != -1) break;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/aMule-2.3.1/src/webserver/src/
H A DWebInterface.cpp78 void FillSet(int &max_fd);
143 void CSocketSet::FillSet(int &max_fd) argument
148 if (m_fds[i] > max_fd) {
149 max_fd = m_fds[i];
224 int max_fd = -1; local
225 m_in_set->FillSet(max_fd);
226 m_out_set->FillSet(max_fd);
232 int result = select(max_fd + 1, m_in_set->Set(), m_out_set->Set(), 0, &tv);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/
H A Dweb.c381 int max_fd; local
385 max_fd = 0;
389 curl_multi_fdset( multi, &r_fd_set, &w_fd_set, &c_fd_set, &max_fd );
397 tr_select( max_fd+1, &r_fd_set, &w_fd_set, &c_fd_set, &t );
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/udhcpd/
H A Ddhcpc.c292 int max_fd; local
458 max_fd = signal_pipe[0] > fd ? signal_pipe[0] : fd;
459 retval = select(max_fd + 1, &rfds, NULL, NULL, &tv);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udhcpd/
H A Ddhcpc.c221 int max_fd; local
356 max_fd = signal_pipe[0] > fd ? signal_pipe[0] : fd;
357 retval = select(max_fd + 1, &rfds, NULL, NULL, &tv);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/udhcp/
H A Ddhcpc.c154 int max_fd; local
318 max_fd = udhcp_sp_fd_set(&rfds, sockfd);
323 retval = select(max_fd + 1, &rfds, NULL, NULL, &tv);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/include/curl/
H A Dmulti.h149 int *max_fd);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/dbus-1.6.8/dbus/
H A Ddbus-sysdeps-unix.c2546 int max_fd = 0;
2567 max_fd = MAX (max_fd, fdp->fd);
2573 ready = select (max_fd + 1, &read_set, &write_set, &err_set,
H A Ddbus-sysdeps-win.c1075 int max_fd = 0;
1124 max_fd = MAX (max_fd, fdp->fd);
1131 ready = select (max_fd + 1, &read_set, &write_set, &err_set, &tv);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/
H A Dmulti.c730 fd_set *exc_fd_set, int *max_fd)
773 *max_fd = this_max_fd;
728 curl_multi_fdset(CURLM *multi_handle, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *exc_fd_set, int *max_fd) argument
/netgear-R7000-V1.0.7.12_1.2.5/src/router/shared/
H A Dbroadcom.c12526 int n, max_fd = -1; local
12541 max_fd = fd;
12544 if (max_fd == -1) {
12549 n = select(max_fd + 1, &fdvar, NULL, NULL, &timeout);

Completed in 247 milliseconds