Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ripngd/
H A Dstartup.c471 if (poll_ifs == NULL) { in setup_listen_sock()
472 poll_ifs = (struct pollfd *) in setup_listen_sock()
476 poll_ifs = (struct pollfd *)realloc((char *)poll_ifs, in setup_listen_sock()
479 if (poll_ifs == NULL) { in setup_listen_sock()
484 poll_ifs[poll_ifs_num - 1].fd = sock; in setup_listen_sock()
485 poll_ifs[poll_ifs_num - 1].events = POLLIN; in setup_listen_sock()
514 if (poll_ifs[i].fd == ifp->int_sock) { in resetup_listen_sock()
516 poll_ifs[i].fd = 0; in resetup_listen_sock()
517 poll_ifs[i].events = 0; in resetup_listen_sock()
524 poll_ifs[i] = poll_ifs[poll_ifs_num - 1]; in resetup_listen_sock()
[all …]
H A Dmain.c51 struct pollfd *poll_ifs = NULL; variable
245 if ((n = poll(poll_ifs, poll_ifs_num, timeout)) < 0) { in main()
277 if (poll_ifs[i].revents & POLLERR) { in main()
282 if (poll_ifs[i].revents & POLLIN) { in main()
285 if (poll_ifs[i].fd == ifp->int_sock) in main()
H A Ddefs.h143 extern struct pollfd *poll_ifs;