Searched refs:netfd (Results 1 - 2 of 2) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/
H A Dnc_bloaty.c57 netfd = 3, enumerator in enum:__anon11364
69 /*int netfd;*/
221 xmove_fd(netfd, 0);
261 xlisten(netfd, 1); /* TCP: gotta listen() before we can get */
274 rr = getsockname(netfd, &ouraddr->sa, &ouraddr->len);
305 xconnect(netfd, &themaddr->sa, themaddr->len);
312 rr = recv_from_to(netfd, NULL, 0, MSG_PEEK, /*was bigbuf_net, BIGSIZ*/
322 xbind(netfd, &ouraddr->sa, ouraddr->len);
326 xconnect(netfd, &remend.sa, ouraddr->len);
333 rr = accept(netfd,
[all...]
H A Dtelnet.c56 int netfd; /* console fd:s are 0 and 1 (and 2) */ member in struct:globals
98 write(G.netfd, G.iacbuf, G.iaclen);
195 write(G.netfd, outbuf, j);
599 G.netfd = create_and_connect_stream_or_die(host, port);
601 setsockopt(G.netfd, SOL_SOCKET, SO_KEEPALIVE, &const_int_1, sizeof(const_int_1));
606 ufds[0].fd = 0; ufds[1].fd = G.netfd;
611 FD_SET(G.netfd, &readfds);
612 maxfd = G.netfd + 1;
651 if (FD_ISSET(G.netfd, &rfds))
654 len = read(G.netfd,
[all...]

Completed in 101 milliseconds