• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/networking/

Lines Matching refs:se_fd

236 	int se_fd;                            /* open descriptor */
380 if (getsockname(sep->se_fd, (struct sockaddr *) &ir_sin, &size) < 0) {
451 sep->se_fd = socket(sep->se_family, sep->se_socktype, 0);
452 if (sep->se_fd < 0) {
456 setsockopt_reuseaddr(sep->se_fd);
472 r = bindresvport(sep->se_fd, &sep->se_ctrladdr_in);
474 r = bind(sep->se_fd, &sep->se_ctrladdr, sep->se_ctrladdr_size);
480 r = getsockname(sep->se_fd, &sep->se_ctrladdr, &len);
487 r = bind(sep->se_fd, &sep->se_ctrladdr, sep->se_ctrladdr_size);
491 close(sep->se_fd);
492 sep->se_fd = -1;
500 listen(sep->se_fd, global_queuelen);
502 FD_SET(sep->se_fd, &allsock);
504 if (sep->se_fd > maxsock) {
505 maxsock = sep->se_fd;
876 sep->se_fd = -1;
981 if (sep->se_fd != -1)
1009 if (sep->se_fd == -1)
1011 if (sep->se_fd != -1)
1031 if (sep->se_fd != -1) {
1032 FD_CLR(sep->se_fd, &allsock);
1034 (void) close(sep->se_fd);
1036 sep->se_fd = -1;
1038 if (sep->se_fd == -1)
1061 if (sep->se_fd == -1)
1063 if (sep->se_fd != -1)
1084 if (sep->se_fd != -1) {
1085 FD_CLR(sep->se_fd, &allsock);
1087 (void) close(sep->se_fd);
1089 sep->se_fd = -1;
1091 if (sep->se_fd == -1)
1120 if (sep->se_fd != -1) {
1121 FD_CLR(sep->se_fd, &allsock);
1123 (void) close(sep->se_fd);
1157 FD_SET(sep->se_fd, &allsock);
1170 if (sep->se_fd == -1) {
1179 if (sep->se_fd != -1 && isrpcservice(sep))
1193 if (sep->se_fd == -1)
1210 (void) close(sep->se_fd);
1362 if (sep->se_fd == -1 || !FD_ISSET(sep->se_fd, &readable))
1367 ctrl = accept(sep->se_fd, NULL, NULL);
1389 ctrl = sep->se_fd;
1423 FD_CLR(sep->se_fd, &allsock);
1424 (void) close(sep->se_fd);
1425 sep->se_fd = -1;
1448 FD_CLR(sep->se_fd, &allsock);