Home
last modified time | relevance | path

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

12

/xnu-12377.41.6/bsd/skywalk/channel/
H A Dos_channel.h107 typedef struct channel *channel_t; typedef
280 extern channel_t os_channel_create(const uuid_t uuid, const nexus_port_t port);
285 extern channel_t os_channel_create_extended(const uuid_t uuid,
292 extern int os_channel_get_fd(const channel_t channel);
297 extern int os_channel_read_attr(const channel_t channel, channel_attr_t attr);
304 extern int os_channel_write_attr(const channel_t channel, channel_attr_t attr);
310 extern int os_channel_read_nexus_extension_info(const channel_t channel,
317 extern int os_channel_sync(const channel_t channel, const sync_mode_t mode);
322 extern void os_channel_destroy(const channel_t channel);
327 extern int os_channel_is_defunct(const channel_t channel);
[all …]
/xnu-12377.41.6/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,
295 extern uint64_t sktc_get_channel_attr(const channel_t chd,
301 extern void skt_process_if_adv(nexus_port_t port, channel_t chan);
319 channel_t chan, uint8_t payload_type, uint32_t stream_id,
H A Dskywalk_test_utils.h162 channel_t chan;
216 channel_t
260 uint32_t sktc_chew_random(channel_t channel, channel_ring_t ring, sync_mode_t mode, bool dosync, ui…
261 void sktc_pump_ring_nslots_kq(channel_t channel, channel_ring_t ring, sync_mode_t mode, bool dosync…
262 void sktc_pump_ring_nslots_select(channel_t channel, channel_ring_t ring, sync_mode_t mode, bool do…
263 void sktc_pump_ring_nslots_poll(channel_t channel, channel_ring_t ring, sync_mode_t mode, bool dosy…
268 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()
418 custom_ether_receive(channel_t ch, custom_ether_args_t *args, packet_t pkt) in custom_ether_receive()
469 custom_ether_handler(channel_t ch, custom_ether_args_t *args) in custom_ether_handler()
486 channel_t ch; in custom_ether_thread()
693 process_ring(channel_t ch, ring_id_t r) in process_ring()
719 filter_handler(channel_t ch) in filter_handler()
762 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
266 channel_t ret = NULL; in sktu_channel_create_extended()
786 sktc_chew_random(channel_t channel, channel_ring_t ring, sync_mode_t mode, bool dosync, uint32_t ns… in sktc_chew_random()
832 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()
905 sktc_pump_ring_nslots_select(channel_t channel, channel_ring_t ring, sync_mode_t mode, bool dosync,… in sktc_pump_ring_nslots_select()
976 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()
1183 channel_t
1188 channel_t channel; in sktu_create_interface_channel()
1623 channel_t chan; in sktu_channel_port_init()
H A Dskt_netifcompat.c41 static channel_t channel;
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()
327 static channel_t g_channel1, g_channel2;
H A Dskt_oneslot.c48 channel_t channel; in skt_oneslot_common()
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()
2407 sktc_get_channel_attr(const channel_t chd, channel_attr_type_t type) in sktc_get_channel_attr()
2495 skt_process_if_adv(nexus_port_t port, channel_t chan) in skt_process_if_adv()
2532 skt_process_chan_event_common(channel_t chan, uint8_t payload_type, in skt_process_chan_event_common()
2590 skt_process_channel_event(channel_t chan, uint8_t payload_type, uint32_t stream_id, in skt_process_channel_event()
/xnu-12377.41.6/libsyscall/wrappers/skywalk/
H A Dos_channel.c440 channel_t
743 channel_t
751 os_channel_get_fd(const channel_t chd) in os_channel_get_fd()
757 os_channel_read_attr(const channel_t chd, channel_attr_t cha) in os_channel_read_attr()
770 os_channel_write_attr(const channel_t chd, channel_attr_t cha) in os_channel_write_attr()
804 os_channel_read_nexus_extension_info(const channel_t chd, nexus_type_t *nt, in os_channel_read_nexus_extension_info()
821 os_channel_sync(const channel_t chd, const sync_mode_t mode) in os_channel_sync()
834 os_channel_destroy(channel_t chd) in os_channel_destroy()
849 os_channel_is_defunct(channel_t chd) in os_channel_is_defunct()
882 os_channel_ring_id(const channel_t chd, const ring_id_type_t type) in os_channel_ring_id()
[all …]
/xnu-12377.41.6/tests/
H A Dnet_tuntests.c678 setup_channels_and_rings(int kq, int channel_count, channel_t channels[], channel_ring_t rxrings[],… in setup_channels_and_rings()
709 cleanup_channels_and_rings(int channel_count, channel_t channels[], channel_ring_t rxrings[], chann… in cleanup_channels_and_rings()
818 channel_t channels[channel_count]; in xfer_1_packet_singly()
910 channel_t channels[channel_count]; in xfer_1_packet_together()

12