Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/net/
Dtcp_mmap.c365 static void do_accept(int fdlisten) in do_accept() argument
374 if (setsockopt(fdlisten, SOL_SOCKET, SO_RCVLOWAT, in do_accept()
379 apply_rcvsnd_buf(fdlisten); in do_accept()
387 fd = accept(fdlisten, (struct sockaddr *)&addr, &addrlen); in do_accept()
519 int fdlisten = socket(cfg_family, SOCK_STREAM, 0); in main() local
521 if (fdlisten == -1) { in main()
525 apply_rcvsnd_buf(fdlisten); in main()
526 setsockopt(fdlisten, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)); in main()
531 setsockopt(fdlisten, IPPROTO_TCP, TCP_MAXSEG, in main()
536 if (bind(fdlisten, (const struct sockaddr *)&listenaddr, cfg_alen) == -1) { in main()
[all …]