Home
last modified time | relevance | path

Searched refs:tunfd (Results 1 – 1 of 1) sorted by relevance

/net-tools-3.5.0/
Dtunslip6.c925 int tunfd, maxfd; in main() local
1088 tunfd = tun_alloc(tundev, tap, make); in main()
1089 if(tunfd == -1) err(1, "main: open"); in main()
1126 FD_SET(tunfd, &rset); in main()
1127 if(tunfd > maxfd) maxfd = tunfd; in main()
1135 serial_to_tun(inslip, tunfd); in main()
1155 if(slip_empty() && FD_ISSET(tunfd, &rset)) { in main()
1156 size=tun_to_serial(tunfd, slipfd); in main()