Lines Matching refs:fds
68 static struct zsock_pollfd fds[LLMNR_MAX_POLL]; variable
625 ARRAY_FOR_EACH(fds, j) { in init_listener()
626 fds[j].fd = -1; in init_listener()
646 ARRAY_FOR_EACH(fds, j) { in init_listener()
647 if (fds[j].fd == ipv6) { in init_listener()
652 if (fds[j].fd < 0) { in init_listener()
653 fds[j].fd = ipv6; in init_listener()
654 fds[j].events = ZSOCK_POLLIN; in init_listener()
666 ret = net_socket_service_register(&svc_llmnr, fds, ARRAY_SIZE(fds), NULL); in init_listener()
693 ARRAY_FOR_EACH(fds, j) { in init_listener()
694 if (fds[j].fd == ipv4) { in init_listener()
699 if (fds[j].fd < 0) { in init_listener()
700 fds[j].fd = ipv4; in init_listener()
701 fds[j].events = ZSOCK_POLLIN; in init_listener()
713 ret = net_socket_service_register(&svc_llmnr, fds, ARRAY_SIZE(fds), NULL); in init_listener()