Searched refs:control_fd (Results 1 - 10 of 10) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/os-Linux/drivers/
H A Detap.h12 int control_fd; member in struct:ethertap_data
H A Dethertap_user.c185 pri->control_fd = control_fds[0];
186 iter_addresses(pri->dev, etap_open_addr, &pri->control_fd);
194 iter_addresses(pri->dev, etap_close_addr, &pri->control_fd);
199 os_close_file(pri->control_fd);
200 pri->control_fd = -1;
214 if(pri->control_fd == -1)
216 etap_open_addr(addr, netmask, &pri->control_fd);
224 if(pri->control_fd == -1)
226 etap_close_addr(addr, netmask, &pri->control_fd);
H A Dethertap_kern.c31 epri->control_fd = -1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/cnid_dbd/
H A Dcomm.c55 static int control_fd; variable
66 if (fd == control_fd)
85 * control_fd, we close a random decriptor in the table to make space. The
98 int maxfd = control_fd;
102 FD_SET(control_fd, &readfds);
127 if (FD_ISSET(control_fd, &readfds)) {
130 fd = recv_fd(control_fd, 0);
178 control_fd = ctrlfd;
182 if ( setsockopt(control_fd, SOL_SOCKET, SO_PASSCRED, &b, sizeof (b)) < 0) {
H A Dcnid_metad.c115 int control_fd; /* file descriptor to child cnid_dbd process */ member in struct:server
170 if (send_fd(up->control_fd, rqstfd) < 0) {
247 close(srv[i].control_fd);
273 up->control_fd = sv[0];
554 close(srv[i].control_fd);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/cnid_dbd/
H A Dcomm.c48 static int control_fd; variable
59 if (fd == control_fd)
78 * control_fd, we close a random decriptor in the table to make space. The
91 int maxfd = control_fd;
95 FD_SET(control_fd, &readfds);
120 if (FD_ISSET(control_fd, &readfds)) {
123 fd = recv_fd(control_fd, 0);
171 control_fd = ctrlfd;
175 if ( setsockopt(control_fd, SOL_SOCKET, SO_PASSCRED, &b, sizeof (b)) < 0) {
H A Dcnid_metad.c116 int control_fd; /* file descriptor to child cnid_dbd process */ member in struct:server
171 if (send_fd(up->control_fd, rqstfd) < 0) {
253 close(srv[i].control_fd);
278 up->control_fd = sv[0];
564 close(srv[i].control_fd);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/l2tpd-0.69/
H A Dnetwork.c335 FD_SET (control_fd, &readfds);
336 if (control_fd > max)
337 max = control_fd;
365 //write(control_fd, cmd, strlen(cmd) );
374 if (FD_ISSET (control_fd, &readfds))
H A Dl2tp.h213 extern int control_fd;
H A Dl2tpd.c53 int control_fd; /* descriptor of control area */ variable
429 close (control_fd);
1074 cnt = read (control_fd, buf, sizeof (buf));
1232 close (control_fd);
1233 control_fd = open (CONTROL_PIPE, O_RDONLY | O_NONBLOCK, 0600);
1387 control_fd = open (CONTROL_PIPE, O_RDONLY | O_NONBLOCK, 0600);
1388 if (control_fd < 0)

Completed in 111 milliseconds