Searched refs:netfd (Results 1 - 3 of 3) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/ |
H A D | nc_bloaty.c | 57 netfd = 3, enumerator in enum:__anon19908 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 D | telnet.c | 56 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...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/Documentation/lguest/ |
H A D | lguest.c | 1469 int netfd; local 1480 netfd = open_or_die("/dev/net/tun", O_RDWR); 1483 if (ioctl(netfd, TUNSETIFF, &ifr) != 0) 1486 if (ioctl(netfd, TUNSETOFFLOAD, 1494 ioctl(netfd, TUNSETNOCSUM, 1); 1497 return netfd;
|
Completed in 71 milliseconds