Home
last modified time | relevance | path

Searched refs:channel_t (Results 1 – 25 of 29) sorted by relevance

12

/xnu-11417.101.15/bsd/skywalk/channel/
H A Dos_channel.h106 typedef struct channel *channel_t; typedef
288 extern channel_t os_channel_create(const uuid_t uuid, const nexus_port_t port);
293 extern channel_t os_channel_create_extended(const uuid_t uuid,
300 extern int os_channel_get_fd(const channel_t channel);
305 extern int os_channel_read_attr(const channel_t channel, channel_attr_t attr);
312 extern int os_channel_write_attr(const channel_t channel, channel_attr_t attr);
318 extern int os_channel_read_nexus_extension_info(const channel_t channel,
325 extern int os_channel_sync(const channel_t channel, const sync_mode_t mode);
330 extern void os_channel_destroy(const channel_t channel);
335 extern int os_channel_is_defunct(const channel_t channel);
[all …]
/xnu-11417.101.15/tests/skywalk/
H A Dskt_pllupipe.c77 channel_t channel; in skt_pllupipe_txk_main()
103 channel_t channel; in skt_pllupipe_txs_main()
129 channel_t channel; in skt_pllupipe_txp_main()
155 channel_t channel; in skt_pllupipe_rxk_main()
181 channel_t channel; in skt_pllupipe_rxs_main()
207 channel_t channel; in skt_pllupipe_rxp_main()
H A Dskt_writemem.c47 channel_t channel; in skt_writeif_main()
78 channel_t channel; in skt_writering_main()
130 channel_t channel; in skt_readsmap_main()
166 channel_t channel; in skt_writesmap_main()
247 skt_verify_nxadv_region(channel_t channel) in skt_verify_nxadv_region()
282 channel_t channel; in skt_nxregion_verify_main()
H A Dskt_closecfd.c43 channel_t channel; in skt_closecfd_main()
79 channel_t channel; in skt_writecfd_main()
117 channel_t channel; in skt_readcfd_main()
H A Dskywalk_test_common.h94 extern void set_watermark(channel_t, bool, channel_threshold_unit_t, uint32_t);
102 extern int wait_on_fd(int, int16_t, channel_t, uint32_t,
301 extern uint64_t sktc_get_channel_attr(const channel_t chd,
307 extern void skt_process_if_adv(nexus_port_t port, channel_t chan);
325 channel_t chan, uint8_t payload_type, uint32_t stream_id,
H A Dskywalk_test_utils.h161 channel_t chan;
215 channel_t
262 uint32_t sktc_chew_random(channel_t channel, channel_ring_t ring, sync_mode_t mode, bool dosync, ui…
263 void sktc_pump_ring_nslots_kq(channel_t channel, channel_ring_t ring, sync_mode_t mode, bool dosync…
264 void sktc_pump_ring_nslots_select(channel_t channel, channel_ring_t ring, sync_mode_t mode, bool do…
265 void sktc_pump_ring_nslots_poll(channel_t channel, channel_ring_t ring, sync_mode_t mode, bool dosy…
270 channel_t sktu_create_interface_channel(sktu_if_type_t type, int tunsock);
H A Dskt_ringid.c73 channel_ring_t (*get_ring)(const channel_t chd, const ring_id_t rid)) in skt_ringid_main_common()
76 channel_t channel; in skt_ringid_main_common()
H A Dskt_filter.c84 channel_t ch;
184 put_packet(channel_t ch, ring_id_t ring_id, packet_t pkt) in put_packet()
205 get_packet(channel_t ch, ring_id_t r, packet_t *pktp) in get_packet()
275 custom_ether_send(channel_t ch, custom_ether_args_t *args) in custom_ether_send()
419 custom_ether_receive(channel_t ch, custom_ether_args_t *args, packet_t pkt) in custom_ether_receive()
470 custom_ether_handler(channel_t ch, custom_ether_args_t *args) in custom_ether_handler()
487 channel_t ch; in custom_ether_thread()
694 process_ring(channel_t ch, ring_id_t r) in process_ring()
720 filter_handler(channel_t ch) in filter_handler()
763 channel_t ch; in filter_thread()
H A Dskt_kqueue.c131 channel_t channel; in skt_kqueue_basic_rx()
216 channel_t channel; in skt_kqueue_basic_tx()
342 channel_t channel; in skt_kqueue_lowat_basic_rx()
463 channel_t channel; in skt_kqueue_lowat_basic_tx()
H A Dskt_fsw29301703.c59 channel_t channels[nchannels]; in skt_fsw29301703_common()
H A Dskt_badring.c48 channel_t channel; in skt_badringtx_common()
167 channel_t channel; in skt_badringrx_common()
H A Dskt_fullupipe.c75 channel_t channel0, channel1; in skt_fullupipe_main()
271 channel_t channel0, channel1; in skt_upipepeerclosure_main()
H A Dskt_mangle.c156 channel_t channel; in skt_mangle_rx()
251 channel_t channel; in skt_mangle_tx()
H A Dskt_utun27302538.c52 static channel_t channel;
H A Dskt_shutdown2.c63 channel_t channel; in skt_shutdown2_common()
H A Dskt_debug_verify.c48 channel_t channel; in skt_debug_verify_main()
H A Dskt_bind.c47 static channel_t ch00, ch01; /* ch0 ring 0,1 */
48 static channel_t ch10, ch11; /* ch1 ring 0,1 */
H A Dskt_teardown.c67 channel_t channel; in skt_teardown_pass()
H A Dskywalk_test_utils.c254 channel_t
269 channel_t ret = NULL; in sktu_channel_create_extended()
800 sktc_chew_random(channel_t channel, channel_ring_t ring, sync_mode_t mode, bool dosync, uint32_t ns… in sktc_chew_random()
846 sktc_pump_ring_nslots_kq(channel_t channel, channel_ring_t ring, sync_mode_t mode, bool dosync, uin… in sktc_pump_ring_nslots_kq()
919 sktc_pump_ring_nslots_select(channel_t channel, channel_ring_t ring, sync_mode_t mode, bool dosync,… in sktc_pump_ring_nslots_select()
990 sktc_pump_ring_nslots_poll(channel_t channel, channel_ring_t ring, sync_mode_t mode, bool dosync, u… in sktc_pump_ring_nslots_poll()
1185 channel_t
1190 channel_t channel; in sktu_create_interface_channel()
1644 channel_t chan; in sktu_channel_port_init()
H A Dskt_netifcompat.c41 static channel_t channel;
H A Dskt_oneslot.c48 channel_t channel; in skt_oneslot_common()
H A Dskt_utunloop.c96 channel_t rxchannel, int rxindex, in skt_utunloop_xfer_slots()
97 channel_t txchannel, int txindex, in skt_utunloop_xfer_slots()
326 static channel_t g_channel1, g_channel2;
H A Dskywalk_test_common.c289 channel_t sktc_channel;
903 set_watermark(channel_t channel, bool is_tx, in set_watermark()
921 channel_t channel, uint32_t lowat, enum timeout_behavior b) in wait_on_fd()
2459 sktc_get_channel_attr(const channel_t chd, channel_attr_type_t type) in sktc_get_channel_attr()
2547 skt_process_if_adv(nexus_port_t port, channel_t chan) in skt_process_if_adv()
2584 skt_process_chan_event_common(channel_t chan, uint8_t payload_type, in skt_process_chan_event_common()
2642 skt_process_channel_event(channel_t chan, uint8_t payload_type, uint32_t stream_id, in skt_process_channel_event()
/xnu-11417.101.15/libsyscall/wrappers/skywalk/
H A Dos_channel.c456 channel_t
771 channel_t
779 os_channel_get_fd(const channel_t chd) in os_channel_get_fd()
785 os_channel_read_attr(const channel_t chd, channel_attr_t cha) in os_channel_read_attr()
798 os_channel_write_attr(const channel_t chd, channel_attr_t cha) in os_channel_write_attr()
832 os_channel_read_nexus_extension_info(const channel_t chd, nexus_type_t *nt, in os_channel_read_nexus_extension_info()
849 os_channel_sync(const channel_t chd, const sync_mode_t mode) in os_channel_sync()
862 os_channel_destroy(channel_t chd) in os_channel_destroy()
877 os_channel_is_defunct(channel_t chd) in os_channel_is_defunct()
910 os_channel_ring_id(const channel_t chd, const ring_id_type_t type) in os_channel_ring_id()
[all …]
/xnu-11417.101.15/tests/
H A Dnet_tuntests.c833 setup_channels_and_rings(int kq, int channel_count, channel_t channels[], channel_ring_t rxrings[],… in setup_channels_and_rings()
864 cleanup_channels_and_rings(int channel_count, channel_t channels[], channel_ring_t rxrings[], chann… in cleanup_channels_and_rings()
973 channel_t channels[channel_count]; in xfer_1_packet_singly()
1065 channel_t channels[channel_count]; in xfer_1_packet_together()

12