Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/net/
H A Dstress_reuseport_listen.c28 int *lfds, *cur_fd, err, optvalue = 1; in bind_reuseport_sock6() local
42 cur_fd = lfds; in bind_reuseport_sock6()
45 *cur_fd = socket(AF_INET6, SOCK_STREAM, 0); in bind_reuseport_sock6()
46 if (*cur_fd == -1) in bind_reuseport_sock6()
50 err = setsockopt(*cur_fd, SOL_SOCKET, SO_REUSEPORT, in bind_reuseport_sock6()
57 err = bind(*cur_fd, (struct sockaddr *)&sa6, in bind_reuseport_sock6()
61 cur_fd++; in bind_reuseport_sock6()