/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/samba-3.0.13/source/tests/ |
H A D | unixsock.c | 44 int sock_fd; local 49 if ((sock_fd = socket(PF_LOCAL, SOCK_STREAM, 0)) < 0) { 68 if (bind(sock_fd, (struct sockaddr *) &name, size) < 0) { 73 return sock_fd; 79 int sock_fd; local 86 if ((sock_fd = bind_socket(filename)) < 0)
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/um/drivers/ |
H A D | port_user.c | 155 int sock_fd; member in struct:port_pre_exec_data 163 dup2(data->sock_fd, 0); 164 dup2(data->sock_fd, 1); 165 dup2(data->sock_fd, 2); 166 os_close_file(data->sock_fd); 188 { .sock_fd = new,
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/networking/libiproute/ |
H A D | ll_map.c | 137 int sock_fd; local 172 sock_fd = socket(AF_INET, SOCK_DGRAM, 0); 173 if (sock_fd) { 179 tmp = ioctl(sock_fd, SIOCGIFINDEX, &ifr); 180 close(sock_fd);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp/pppoecd/ |
H A D | sys-linux.c | 84 static int sock_fd = -1; /* socket for doing interface ioctls */
variable 213 sock_fd = socket(AF_INET, SOCK_DGRAM, 0);
214 if (sock_fd < 0)
247 if (sock_fd >= 0)
248 close(sock_fd);
616 if (ifunit >= 0 && ioctl(sock_fd, SIOCSIFMTU, (caddr_t) &ifr) < 0)
683 if (ioctl(sock_fd, SIOCGPPPSTATS, &req) < 0) {
739 if (ioctl(sock_fd, SIOCGIFCONF, &ifc) < 0) {
759 if (ioctl(sock_fd, SIOCGIFFLAGS, &ifreq) < 0)
767 if (ioctl(sock_fd, SIOCGIFNETMAS [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp-2.4.4/pppd/ |
H A D | sys-linux.c | 175 static int sock_fd = -1; /* socket for doing interface ioctls */ variable 311 sock_fd = socket(AF_INET, SOCK_DGRAM, 0); 312 if (sock_fd < 0) 360 if (sock_fd >= 0) 361 close(sock_fd); 1163 if (ifunit >= 0 && ioctl(sock_fd, SIOCSIFMTU, (caddr_t) &ifr) < 0) 1178 if (ifunit >= 0 && ioctl(sock_fd, SIOCGIFMTU, (caddr_t) &ifr) < 0) { 1346 if (ioctl(sock_fd, SIOCGPPPSTATS, &req) < 0) { 1612 if (ioctl(sock_fd, SIOCADDRT, &rt) < 0) { 1649 if (ioctl(sock_fd, SIOCDELR 1838 int ret, sock_fd; local [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/ppp/pppd/ |
H A D | sys-linux.c | 124 static int sock_fd = -1; /* socket for doing interface ioctls */
variable 278 sock_fd = socket(AF_INET, SOCK_DGRAM, 0);
279 if (sock_fd < 0)
327 if (sock_fd >= 0)
328 close(sock_fd);
1085 if (ifunit >= 0 && ioctl(sock_fd, SIOCSIFMTU, (caddr_t) &ifr) < 0)
1260 if (ioctl(sock_fd, SIOCGPPPSTATS, &req) < 0) {
1520 if (ioctl(sock_fd, SIOCADDRT, &rt) < 0) {
1553 if (ioctl(sock_fd, SIOCDELRT, &rt) < 0 && errno != ESRCH) {
1591 if (ioctl(sock_fd, SIOCSAR 1749 int ret, sock_fd; local [all...] |
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/sysklogd/ |
H A D | syslogd.c | 474 int sock_fd; local 515 sock_fd = xsocket(AF_UNIX, SOCK_DGRAM, 0); 516 xbind(sock_fd, (struct sockaddr *) &sunx, sizeof(sunx)); 530 FD_SET(sock_fd, &fds); 532 if (select(sock_fd + 1, &fds, NULL, NULL, NULL) < 0) { 540 if (FD_ISSET(sock_fd, &fds)) { 542 i = recv(sock_fd, G.recvbuf, MAX_READ - 1, 0);
|
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/IGMP-PROXY/src/ |
H A D | igmpv3.c | 1830 int sock_fd, ret; local 1839 sock_fd = socket(PF_NETLINK, SOCK_RAW, NETLINK_EMFC); 1841 if (sock_fd < 0) 1852 bind(sock_fd, (struct sockaddr *)&src_addr, sizeof(src_addr)); 1866 close(sock_fd); /* Foxconn added, zacker, 06/20/2009 */ 1888 ret = sendmsg(sock_fd, &msg, 0); 1892 close(sock_fd); /* Foxconn added, zacker, 06/20/2009 */ 1900 ret = recvmsg(sock_fd, &msg, 0); 1904 close(sock_fd); /* Foxconn added, zacker, 06/20/2009 */ 1916 close(sock_fd); [all...] |