Lines Matching refs:sockets
26 * - maintain list of Router Advertisement client "sockets"
27 * - distribute packet reception to enabled "sockets"
122 dynarray_t sockets;
182 dynarray_init(&globals->sockets, RTADVSocketFreeElement, NULL);
200 dynarray_free(&globals->sockets);
223 for (i = 0; i < dynarray_count(&S_globals->sockets); i++) {
227 sock = dynarray_element(&S_globals->sockets, i);
619 if (dynarray_add(&globals->sockets, sock) == FALSE) {
646 i = dynarray_index(&S_globals->sockets, sock);
648 dynarray_remove(&S_globals->sockets, i, NULL);
656 if (dynarray_count(&S_globals->sockets) == 0) {