Home
last modified time | relevance | path

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

/net-tools-2.7.6/
Decho-server.c371 int c, ret, fd4 = 0, fd6 = 0, fd4m = 0, fd6m = 0, tcp4 = 0, tcp6 = 0, in main() local
460 if (tcp6) in main()
461 close(tcp6); in main()
468 tcp6 = get_socket(AF_INET6, IPPROTO_TCP); in main()
472 fd4, fd6, fd4m, fd6m, tcp4, tcp6); in main()
487 ret = setsockopt(tcp6, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt)); in main()
492 bind_device(tcp6, interface, &addr6_recv, sizeof(addr6_recv), AF_INET6); in main()
497 if (listen(tcp6, 0) < 0) { in main()
505 if (fcntl(tcp6, F_SETFL, O_NONBLOCK) < 0) { in main()
522 FD_SET(tcp6, &rfds); in main()
[all …]