Searched refs:rfds (Results 1 - 25 of 34) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/udhcp/
H A Dsignalpipe.c51 /* Quick little function to setup the rfds. Will return the
54 int udhcp_sp_fd_set(fd_set *rfds, int extra_fd) argument
56 FD_ZERO(rfds);
57 FD_SET(signal_pipe[0], rfds);
60 FD_SET(extra_fd, rfds);
69 int udhcp_sp_read(fd_set *rfds) argument
73 if (!FD_ISSET(signal_pipe[0], rfds))
H A Dcommon.h82 int udhcp_sp_fd_set(fd_set *rfds, int extra_fd);
83 int udhcp_sp_read(fd_set *rfds);
H A Ddhcprelay.c259 fd_set rfds; local
267 FD_ZERO(&rfds);
269 FD_SET(fds[i], &rfds);
272 if (select(max_socket + 1, &rfds, NULL, NULL, &tv) > 0) {
274 if (FD_ISSET(fds[0], &rfds)) {
282 if (!FD_ISSET(fds[i], &rfds))
H A Ddhcpd.c27 fd_set rfds; local
102 max_sock = udhcp_sp_fd_set(&rfds, server_socket);
109 retval = select(max_sock + 1, &rfds, NULL, NULL,
122 switch (udhcp_sp_read(&rfds)) {
H A Ddhcpc.c160 fd_set rfds; local
318 max_fd = udhcp_sp_fd_set(&rfds, sockfd);
323 retval = select(max_fd + 1, &rfds, NULL, NULL, &tv);
423 } else if (listen_mode != LISTEN_NONE && FD_ISSET(sockfd, &rfds)) {
530 int signo = udhcp_sp_read(&rfds);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/compat/
H A Dpselect.c51 pselect(int count, fd_set * __restrict rfds, fd_set * __restrict wfds, argument
71 rv = select(count, rfds, wfds, efds, tvp);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/compat/
H A Dpselect.c51 pselect(int count, fd_set * restrict rfds, fd_set * restrict wfds, argument
71 rv = select(count, rfds, wfds, efds, tvp);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/random/
H A Drndlinux.c133 fd_set rfds; local
137 FD_ZERO(&rfds);
138 FD_SET(fd, &rfds);
141 if ( !(rc=select(fd+1, &rfds, NULL, NULL, &tv)) )
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/radvd/
H A Drecv.c32 fd_set rfds; local
46 FD_ZERO( &rfds );
47 FD_SET( sock, &rfds );
49 if( select( sock+1, &rfds, NULL, NULL, NULL ) < 0 )
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/
H A Dtcp.c116 fd_set rfds; local
123 FD_ZERO(&rfds);
124 FD_SET(s->fd, &rfds);
127 ret = select(fd_max + 1, &rfds, NULL, NULL, &tv);
128 if (ret > 0 && FD_ISSET(s->fd, &rfds)) {
H A Drtpproto.c194 fd_set rfds; local
211 FD_ZERO(&rfds);
213 FD_SET(s->rtp_fd, &rfds);
216 FD_SET(s->rtcp_fd, &rfds);
217 n = select(fd_max + 1, &rfds, NULL, NULL, NULL);
220 if (FD_ISSET(s->rtcp_fd, &rfds)) {
233 if (FD_ISSET(s->rtp_fd, &rfds)) {
H A Dudp.c464 fd_set rfds; local
471 FD_ZERO(&rfds);
472 FD_SET(s->udp_fd, &rfds);
475 ret = select(s->udp_fd + 1, &rfds, NULL, NULL, &tv);
478 if (!(ret > 0 && FD_ISSET(s->udp_fd, &rfds)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/demos/state_machine/
H A Dstate_machine.c319 fd_set rfds,wfds; local
323 FD_ZERO(&rfds);
327 FD_SET(nFD,&rfds);
342 FD_SET(0,&rfds);
345 n=select(nFD+1,&rfds,&wfds,NULL,NULL);
349 if(FD_ISSET(nFD,&rfds))
401 if(FD_ISSET(0,&rfds))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/demos/state_machine/
H A Dstate_machine.c319 fd_set rfds,wfds; local
323 FD_ZERO(&rfds);
327 FD_SET(nFD,&rfds);
342 FD_SET(0,&rfds);
345 n=select(nFD+1,&rfds,&wfds,NULL,NULL);
349 if(FD_ISSET(nFD,&rfds))
401 if(FD_ISSET(0,&rfds))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/bftpd-1.6.6/
H A Dcommands_admin.c69 fd_set rfds; local
79 FD_ZERO(&rfds);
80 FD_SET(0, &rfds);
83 if (select(1, &rfds, NULL, NULL, &tv) > 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/util/
H A Dsocket.c99 fd_set rfds; local
102 FD_ZERO(&rfds);
121 FD_SET(socket, &rfds);
125 while ((ret = select(socket + 1, &rfds, NULL, NULL, &tv)) < 1) {
147 FD_SET(socket, &rfds);
202 fd_set rfds; local
222 FD_ZERO(&rfds);
223 FD_SET(socket, &rfds);
227 while ((ret = select(socket + 1, &rfds, NULL, NULL, &tv)) < 1) {
247 FD_ZERO(&rfds);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/util/
H A Dsocket.c91 fd_set rfds; local
94 FD_ZERO(&rfds);
113 FD_SET(socket, &rfds);
117 while ((ret = select(socket + 1, &rfds, NULL, NULL, &tv)) < 1) {
141 FD_SET(socket, &rfds);
196 fd_set rfds; local
216 FD_ZERO(&rfds);
217 FD_SET(socket, &rfds);
221 while ((ret = select(socket + 1, &rfds, NULL, NULL, &tv)) < 1) {
241 FD_ZERO(&rfds);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/udhcpd/
H A Ddhcpd.c83 fd_set rfds; local
150 FD_ZERO(&rfds);
151 FD_SET(server_socket, &rfds);
152 FD_SET(signal_pipe[0], &rfds);
159 retval = select(max_sock + 1, &rfds, NULL, NULL,
172 if (FD_ISSET(signal_pipe[0], &rfds)) {
H A Ddhcpc.c281 fd_set rfds; local
441 FD_ZERO(&rfds);
453 if (fd >= 0) FD_SET(fd, &rfds);
454 FD_SET(signal_pipe[0], &rfds);
459 retval = select(max_fd + 1, &rfds, NULL, NULL, &tv);
606 } else if (retval > 0 && listen_mode != LISTEN_NONE && FD_ISSET(fd, &rfds)) {
747 } else if (retval > 0 && FD_ISSET(signal_pipe[0], &rfds)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-dnsconfd/
H A Dmain.c456 fd_set rfds, wfds; local
458 FD_ZERO(&rfds);
461 FD_SET(fd, &rfds);
462 FD_SET(daemon_signal_fd(), &rfds); local
465 if (select(fd+1, &rfds, NULL, NULL, NULL) < 0) {
476 if (FD_ISSET(daemon_signal_fd(), &rfds)) {
508 } else if (FD_ISSET(fd, &rfds)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/
H A Dtftp.c118 fd_set rfds; variable
226 FD_ZERO(&rfds); variable
227 FD_SET(socketfd, &rfds);
228 switch (select(socketfd + 1, &rfds, NULL, NULL, &tv)) {
H A Dtelnet.c617 fd_set rfds = readfds; local
619 switch (select(maxfd, &rfds, NULL, NULL, NULL))
638 if (FD_ISSET(0, &rfds))
651 if (FD_ISSET(G.netfd, &rfds))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dlasi_82596.c367 struct i596_rfd rfds[RX_RING_SIZE] __attribute__((aligned(32))); member in struct:i596_private
578 for (i = 0, rfd = lp->rfds; i < rx_ring_size; i++, rfd++) {
585 lp->rfd_head = lp->rfds;
586 lp->scb.rfd = WSWAPrfd(virt_to_dma(lp,lp->rfds));
587 rfd = lp->rfds;
589 rfd->v_prev = lp->rfds + rx_ring_size - 1;
590 rfd = lp->rfds + rx_ring_size - 1;
591 rfd->v_next = lp->rfds;
592 rfd->b_next = WSWAPrfd(virt_to_dma(lp,lp->rfds));
623 lp->rfds[
[all...]
H A D82596.c329 struct i596_rfd rfds[RX_RING_SIZE]; member in struct:i596_private
562 for (i = 0, rfd = lp->rfds; i < rx_ring_size; i++, rfd++) {
569 lp->rfd_head = lp->rfds;
570 lp->scb.rfd = WSWAPrfd(virt_to_bus(lp->rfds));
571 rfd = lp->rfds;
573 rfd->v_prev = lp->rfds + rx_ring_size - 1;
574 rfd = lp->rfds + rx_ring_size - 1;
575 rfd->v_next = lp->rfds;
576 rfd->b_next = WSWAPrfd(virt_to_bus(lp->rfds));
602 lp->rfds[
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/pptp/
H A Dpptp_gre.c481 fd_set rfds; local
488 FD_ZERO(&rfds);
489 FD_SET(gre_fd, &rfds);
490 FD_SET(pty_fd, &rfds);
524 retval = select(max_fd + 1, &rfds, NULL, NULL, tvp);
525 if (FD_ISSET(pty_fd, &rfds)) {
533 if (FD_ISSET(gre_fd, &rfds)) {

Completed in 233 milliseconds

12