/asus-wl-520gu-7.0.1.45/src/router/samba/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)
|
/asus-wl-520gu-7.0.1.45/src/router/vsftpd/ |
H A D | sysdeputil.h | 55 void vsf_sysutil_send_fd(int sock_fd, int send_fd); 56 int vsf_sysutil_recv_fd(int sock_fd);
|
H A D | postprivparent.c | 118 int sock_fd = vsf_privop_get_ftp_port_sock(p_sess); local 120 priv_sock_send_fd(p_sess->parent_fd, sock_fd); 121 vsf_sysutil_close(sock_fd);
|
H A D | ftpdataio.c | 33 static void init_data_sock_params(struct vsf_session* p_sess, int sock_fd); 195 init_data_sock_params(struct vsf_session* p_sess, int sock_fd) argument 201 p_sess->data_fd = sock_fd; 203 vsf_sysutil_activate_keepalive(sock_fd); 205 vsf_sysutil_set_iptos_throughput(sock_fd); 209 vsf_sysutil_activate_linger(sock_fd);
|
H A D | sysdeputil.c | 963 vsf_sysutil_send_fd(int sock_fd, int send_fd) argument 991 retval = sendmsg(sock_fd, &msg, 0); 999 vsf_sysutil_recv_fd(const int sock_fd) argument 1021 retval = recvmsg(sock_fd, &msg, 0); 1046 vsf_sysutil_send_fd(int sock_fd, int send_fd) argument 1060 retval = sendmsg(sock_fd, &msg, 0); 1068 vsf_sysutil_recv_fd(int sock_fd) argument 1083 retval = recvmsg(sock_fd, &msg, 0);
|
/asus-wl-520gu-7.0.1.45/src/router/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...] |
/asus-wl-520gu-7.0.1.45/src/router/pppd/pppd/ |
H A D | sys-linux.c | 180 static int sock_fd = -1; /* socket for doing interface ioctls */ variable 317 sock_fd = socket(AF_INET, SOCK_DGRAM, 0); 318 if (sock_fd < 0) 366 if (sock_fd >= 0) 367 close(sock_fd); 1158 if (ifunit >= 0 && ioctl(sock_fd, SIOCSIFMTU, (caddr_t) &ifr) < 0) 1173 if (ifunit >= 0 && ioctl(sock_fd, SIOCGIFMTU, (caddr_t) &ifr) < 0) { 1344 if (ioctl(sock_fd, SIOCGPPPSTATS, &req) < 0) { 1612 if (ioctl(sock_fd, SIOCADDRT, &rt) < 0) { 1645 if (ioctl(sock_fd, SIOCDELR 1850 int ret, sock_fd; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/pppd.mppe/pppd/ |
H A D | sys-linux.c | 180 static int sock_fd = -1; /* socket for doing interface ioctls */ variable 317 sock_fd = socket(AF_INET, SOCK_DGRAM, 0); 318 if (sock_fd < 0) 366 if (sock_fd >= 0) 367 close(sock_fd); 1158 if (ifunit >= 0 && ioctl(sock_fd, SIOCSIFMTU, (caddr_t) &ifr) < 0) 1173 if (ifunit >= 0 && ioctl(sock_fd, SIOCGIFMTU, (caddr_t) &ifr) < 0) { 1344 if (ioctl(sock_fd, SIOCGPPPSTATS, &req) < 0) { 1612 if (ioctl(sock_fd, SIOCADDRT, &rt) < 0) { 1645 if (ioctl(sock_fd, SIOCDELR 1850 int ret, sock_fd; local [all...] |
/asus-wl-520gu-7.0.1.45/src/router/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...] |
/asus-wl-520gu-7.0.1.45/src/router/networkmap/ |
H A D | networkmap.c | 94 int sock_fd, device_id; local 95 sock_fd = socket(PF_PACKET, SOCK_DGRAM, 0); //2008.06.27 Yau change to UDP Socket 97 if(sock_fd < 0) 100 device_id = iface_get_id(sock_fd, device); 105 if ( iface_bind(sock_fd, device_id) < 0) 108 return sock_fd;
|
/asus-wl-520gu-7.0.1.45/src/router/busybox/ |
H A D | syslogd.c | 545 int sock_fd; local 567 if ((sock_fd = socket (AF_UNIX, SOCK_STREAM, 0)) < 0) 571 if ((bind (sock_fd, (struct sockaddr *) &sunx, addrLength)) || (listen (sock_fd, 5))) 578 FD_SET (sock_fd, &fds); 614 if (fd == sock_fd) { 618 if ((conn = accept (sock_fd, (struct sockaddr *) &sunx, &addrLength)) < 0) { 630 } /* fd == sock_fd */
|