Home
last modified time | relevance | path

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

/xnu-8796.121.2/tests/
H A Dnet_tuntests.c833 …annel_t channels[], channel_ring_t rxrings[], channel_ring_t txrings[], uuid_t uuids[], int cfds[]) in setup_channels_and_rings() argument
857 T_QUIET; T_EXPECT_POSIX_SUCCESS(cfds[ri] = os_channel_get_fd(channels[ri]), NULL); in setup_channels_and_rings()
858 EV_SET(&kev, cfds[ri], EVFILT_READ, EV_ADD | EV_ENABLE, 0, 0, (void *)(uintptr_t)ri); in setup_channels_and_rings()
976 int cfds[channel_count]; in xfer_1_packet_singly() local
981 setup_channels_and_rings(kq, channel_count, channels, rxrings, NULL, uuids, cfds); in xfer_1_packet_singly()
999 T_QUIET; T_EXPECT_EQ_PTR((void *)kev[0].ident, (void *)(uintptr_t)cfds[expected_ring], NULL); in xfer_1_packet_singly()
1068 int cfds[channel_count]; in xfer_1_packet_together() local
1073 setup_channels_and_rings(kq, channel_count, channels, rxrings, NULL, uuids, cfds); in xfer_1_packet_together()
1105 T_QUIET; T_EXPECT_EQ_ULONG(kev[e].ident, (uintptr_t)cfds[ri], NULL); in xfer_1_packet_together()