| /xnu-8019.80.24/bsd/skywalk/nexus/ |
| H A D | nexus_var.h | 203 struct kern_nexus { struct 211 STAILQ_ENTRY(kern_nexus) nx_prov_link; argument 212 RB_ENTRY(kern_nexus) nx_link; 250 STAILQ_HEAD(, kern_nexus) nxprov_nx_head; argument 307 struct kern_nexus *, struct nexus_adapter *); 309 struct kern_nexus *, struct nx_cfg_req *, int, 311 int (*dp_cb_nx_ctor)(struct kern_nexus *); 312 void (*dp_cb_nx_dtor)(struct kern_nexus *); 313 int (*dp_cb_nx_mem_info)(struct kern_nexus *, 315 size_t (*dp_cb_nx_mib_get)(struct kern_nexus *, [all …]
|
| H A D | nexus_adapter.h | 65 struct kern_nexus; 160 struct kern_nexus *na_nx; 605 struct kern_nexus *, struct kern_nexus_domain_provider *); 627 extern int na_find(struct kern_channel *, struct kern_nexus *, 633 extern int na_connect(struct kern_nexus *, struct kern_channel *, 635 extern void na_disconnect(struct kern_nexus *, struct kern_channel *); 636 extern void na_defunct(struct kern_nexus *, struct kern_channel *, 638 extern int na_connect_spec(struct kern_nexus *, struct kern_channel *, 640 extern void na_disconnect_spec(struct kern_nexus *, struct kern_channel *); 641 extern void na_start_spec(struct kern_nexus *, struct kern_channel *); [all …]
|
| H A D | nexus.c | 50 static int nx_cmp(const struct kern_nexus *, const struct kern_nexus *); 51 RB_HEAD(kern_nexus_tree, kern_nexus); 52 RB_PROTOTYPE_SC(static, kern_nexus_tree, kern_nexus, nx_link, nx_cmp); 53 RB_GENERATE(kern_nexus_tree, kern_nexus, nx_link, nx_cmp); 79 static int nx_init_rings(struct kern_nexus *, struct kern_channel *); 80 static void nx_fini_rings(struct kern_nexus *, struct kern_channel *); 81 static int nx_init_slots(struct kern_nexus *, struct __kern_channel_ring *); 82 static void nx_fini_slots(struct kern_nexus *, struct __kern_channel_ring *); 83 static struct kern_nexus *nx_alloc(zalloc_flags_t); 84 static void nx_free(struct kern_nexus *); [all …]
|
| H A D | os_nexus.h | 404 struct kern_nexus; 413 typedef struct kern_nexus *kern_nexus_t; 996 extern errno_t kern_nexus_netif_llink_add(struct kern_nexus *, 999 extern errno_t kern_nexus_netif_llink_remove(struct kern_nexus *,
|
| /xnu-8019.80.24/bsd/skywalk/nexus/flowswitch/ |
| H A D | nx_flowswitch.c | 97 static int nx_fsw_dom_find_port(struct kern_nexus *, boolean_t, nexus_port_t *); 98 static int nx_fsw_dom_bind_port(struct kern_nexus *, nexus_port_t *, 100 static int nx_fsw_dom_unbind_port(struct kern_nexus *, nexus_port_t); 102 struct kern_nexus *, struct kern_channel *, struct chreq *, 105 struct kern_nexus *, struct kern_channel *); 107 struct kern_nexus *, struct kern_channel *, struct proc *); 109 struct kern_nexus *, struct kern_channel *, boolean_t); 118 struct kern_nexus *, struct nexus_adapter *); 120 struct kern_nexus *, struct nx_cfg_req *, int, struct proc *, 123 static int nx_fsw_prov_nx_ctor(struct kern_nexus *); [all …]
|
| H A D | nx_flowswitch.h | 174 struct kern_nexus *fsw_nx; 306 extern int nx_fsw_na_find(struct kern_nexus *, struct kern_channel *, 309 extern boolean_t nx_fsw_dom_port_is_reserved(struct kern_nexus *nx, 311 extern int nx_fsw_netagent_add(struct kern_nexus *nx); 312 extern int nx_fsw_netagent_remove(struct kern_nexus *nx); 313 extern void nx_fsw_netagent_update(struct kern_nexus *nx);
|
| H A D | fsw_var.h | 91 extern int fsw_attach_vp(struct kern_nexus *nx, struct kern_channel *ch, 94 extern int fsw_ctl(struct kern_nexus *nx, nxcfg_cmd_t nc_cmd, struct proc *p, 96 extern int fsw_ctl_detach(struct kern_nexus *nx, struct proc *p, 122 extern int fsw_vp_na_attach(struct kern_nexus *nx, const char *cr_name, 124 extern int fsw_vp_na_create(struct kern_nexus *nx, struct chreq *chr, 187 extern int fsw_netagent_add_remove(struct kern_nexus *nx, boolean_t add); 188 extern void fsw_netagent_update(struct kern_nexus *nx);
|
| H A D | fsw.c | 103 fsw_attach_vp(struct kern_nexus *nx, struct kern_channel *ch, in fsw_attach_vp() 170 fsw_nx_check(struct nx_flowswitch *fsw, struct kern_nexus *hw_nx) in fsw_nx_check() 515 const struct kern_nexus *nx, int err) in fsw_ctl_attach_log() 597 fsw_netif_port_setup(struct nx_flowswitch *fsw, struct kern_nexus *hw_nx, in fsw_netif_port_setup() 647 fsw_devna_setup(struct nx_flowswitch *fsw, struct kern_nexus *hw_nx) in fsw_devna_setup() 654 fsw_hostna_setup(struct nx_flowswitch *fsw, struct kern_nexus *hw_nx) in fsw_hostna_setup() 676 fsw_ctl_attach(struct kern_nexus *nx, struct proc *p, struct nx_spec_req *nsr) in fsw_ctl_attach() 680 struct kern_nexus *hw_nx = NULL; in fsw_ctl_attach() 776 fsw_ctl_detach(struct kern_nexus *nx, struct proc *p, in fsw_ctl_detach() 855 fsw_ctl(struct kern_nexus *nx, nxcfg_cmd_t nc_cmd, struct proc *p, in fsw_ctl() [all …]
|
| H A D | fsw_flow.c | 40 struct kern_nexus *nx = fsw->fsw_nx; in fsw_flow_add() 344 struct kern_nexus *nx = fsw->fsw_nx; in fsw_flow_del()
|
| H A D | fsw_vp.c | 268 fsw_vp_na_attach(struct kern_nexus *nx, const char *cr_name, in fsw_vp_na_attach() 344 fsw_vp_na_create(struct kern_nexus *nx, struct chreq *chr, in fsw_vp_na_create()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/kpipe/ |
| H A D | nx_kernel_pipe.c | 81 static int nx_kpipe_dom_bind_port(struct kern_nexus *, nexus_port_t *, 83 static int nx_kpipe_dom_unbind_port(struct kern_nexus *, nexus_port_t); 85 struct kern_nexus *, struct kern_channel *, struct chreq *, 88 struct kern_nexus *, struct kern_channel *); 90 struct kern_nexus *, struct kern_channel *, struct proc *); 92 struct kern_nexus *, struct kern_channel *, boolean_t); 102 struct kern_nexus *, struct nexus_adapter *); 104 static int nx_kpipe_prov_nx_ctor(struct kern_nexus *); 105 static void nx_kpipe_prov_nx_dtor(struct kern_nexus *); 106 static int nx_kpipe_prov_nx_mem_info(struct kern_nexus *, [all …]
|
| H A D | nx_kernel_pipe.h | 75 extern int nx_kpipe_na_find(struct kern_nexus *, struct kern_channel *,
|
| /xnu-8019.80.24/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif.h | 266 struct kern_nexus *nif_nx; 485 extern int nx_netif_na_find(struct kern_nexus *, struct kern_channel *, 500 struct kern_nexus *, struct nexus_adapter *); 503 struct kern_nexus *, struct nx_cfg_req *, int, struct proc *, 505 extern int nx_netif_prov_nx_ctor(struct kern_nexus *); 506 extern void nx_netif_prov_nx_dtor(struct kern_nexus *); 507 extern int nx_netif_prov_nx_mem_info(struct kern_nexus *, 509 extern size_t nx_netif_prov_nx_mib_get(struct kern_nexus *nx, 511 extern int nx_netif_prov_nx_stop(struct kern_nexus *); 523 extern void nx_netif_config_interface_advisory(struct kern_nexus *, bool); [all …]
|
| H A D | nx_netif.c | 121 static int nx_netif_dom_bind_port(struct kern_nexus *, nexus_port_t *, 123 static int nx_netif_dom_unbind_port(struct kern_nexus *, nexus_port_t); 125 struct kern_nexus *, struct kern_channel *, struct chreq *, 128 struct kern_nexus *, struct kern_channel *); 130 struct kern_nexus *, struct kern_channel *, struct proc *); 132 struct kern_nexus *, struct kern_channel *, boolean_t); 146 static int nx_netif_ctl(struct kern_nexus *, nxcfg_cmd_t, void *, 148 static int nx_netif_ctl_attach(struct kern_nexus *, struct nx_spec_req *, 150 static int nx_netif_ctl_detach(struct kern_nexus *, struct nx_spec_req *); 151 static int nx_netif_attach(struct kern_nexus *, struct ifnet *); [all …]
|
| H A D | nx_netif_compat.h | 78 extern int nx_netif_compat_attach(struct kern_nexus *nx, struct ifnet *ifp);
|
| H A D | nx_netif_llink.c | 67 static int nx_netif_llink_ext_init_queues(struct kern_nexus *, 69 static void nx_netif_llink_ext_fini_queues(struct kern_nexus *, 995 nx_netif_llink_ext_init_queues(struct kern_nexus *nx, struct netif_llink *llink) in nx_netif_llink_ext_init_queues() 1059 nx_netif_llink_ext_fini_queues(struct kern_nexus *nx, struct netif_llink *llink) in nx_netif_llink_ext_fini_queues() 1098 nx_netif_llink_ext_init_default_queues(struct kern_nexus *nx) in nx_netif_llink_ext_init_default_queues() 1105 nx_netif_llink_ext_fini_default_queues(struct kern_nexus *nx) in nx_netif_llink_ext_fini_default_queues()
|
| H A D | nx_netif_vp.c | 321 struct kern_nexus *nx = nif->nif_nx; in netif_hwna_setup() 360 struct kern_nexus *nx = nif->nif_nx; in netif_hwna_teardown() 776 struct kern_nexus *nx; in netif_vp_region_params_setup() 901 netif_vp_na_mem_new(struct kern_nexus *nx, struct nexus_adapter *na) in netif_vp_na_mem_new() 922 struct kern_nexus *nx = na->na_nx; in netif_vp_na_dtor() 943 netif_vp_na_create(struct kern_nexus *nx, struct chreq *chr, in netif_vp_na_create()
|
| H A D | nx_netif_filter_vp.c | 310 struct kern_nexus *nx = na->na_nx; in netif_filter_na_mem_new() 486 struct kern_nexus *nx = na->na_nx; in netif_filter_na_dtor() 517 netif_filter_na_create(struct kern_nexus *nx, struct chreq *chr, in netif_filter_na_create()
|
| /xnu-8019.80.24/bsd/skywalk/nexus/upipe/ |
| H A D | nx_user_pipe.c | 89 static int nx_upipe_dom_bind_port(struct kern_nexus *, nexus_port_t *, 91 static int nx_upipe_dom_unbind_port(struct kern_nexus *, nexus_port_t); 93 struct kern_nexus *, struct kern_channel *, struct chreq *, 96 struct kern_nexus *, struct kern_channel *); 98 struct kern_nexus *, struct kern_channel *, struct proc *); 100 struct kern_nexus *, struct kern_channel *, boolean_t); 110 struct kern_nexus *, struct nexus_adapter *); 112 static int nx_upipe_prov_nx_ctor(struct kern_nexus *); 113 static void nx_upipe_prov_nx_dtor(struct kern_nexus *); 344 struct kern_nexus *nx, struct nexus_adapter *na) in nx_upipe_prov_mem_new() [all …]
|
| H A D | nx_user_pipe.h | 98 extern int nx_upipe_na_find(struct kern_nexus *, struct kern_channel *,
|
| /xnu-8019.80.24/bsd/skywalk/nexus/monitor/ |
| H A D | nx_monitor.c | 158 static int nx_mon_dom_bind_port(struct kern_nexus *, nexus_port_t *, 160 static int nx_mon_dom_unbind_port(struct kern_nexus *, nexus_port_t); 162 struct kern_nexus *, struct kern_channel *, struct chreq *, 165 struct kern_nexus *, struct kern_channel *); 167 struct kern_nexus *, struct kern_channel *, struct proc *); 169 struct kern_nexus *, struct kern_channel *, boolean_t); 178 struct kern_nexus *, struct nexus_adapter *); 338 nx_mon_dom_bind_port(struct kern_nexus *nx, nexus_port_t *nx_port, in nx_mon_dom_bind_port() 349 nx_mon_dom_unbind_port(struct kern_nexus *nx, nexus_port_t nx_port) in nx_mon_dom_unbind_port() 360 struct kern_nexus *nx, struct kern_channel *ch, struct chreq *chr, in nx_mon_dom_connect() [all …]
|
| H A D | nx_monitor.h | 80 extern int nx_monitor_na_find(struct kern_nexus *, struct kern_channel *,
|
| /xnu-8019.80.24/bsd/skywalk/channel/ |
| H A D | channel.c | 84 static struct kern_channel *ch_find(struct kern_nexus *, nexus_port_t, 86 static int ch_ev_thresh_validate(struct kern_nexus *, enum txrx, 88 static struct kern_channel *ch_connect(struct kern_nexus *, struct chreq *, 1478 ch_find(struct kern_nexus *nx, nexus_port_t port, ring_id_t ring_id) in ch_find() 1541 struct kern_nexus *nx; in ch_open() 1713 ch_open_special(struct kern_nexus *nx, struct chreq *chr, boolean_t nonxref, in ch_open_special() 1783 struct kern_nexus *nx = ch->ch_nexus; in ch_close_common() 1884 ch_ev_thresh_validate(struct kern_nexus *nx, enum txrx t, in ch_ev_thresh_validate() 1935 ch_connect_log1(const struct kern_nexus *nx, const struct ch_info *cinfo, in ch_connect_log1() 2008 ch_connect_log2(const struct kern_nexus *nx, int err) in ch_connect_log2() [all …]
|
| H A D | channel_var.h | 136 struct kern_nexus; 142 struct kern_nexus *ch_nexus; 942 extern struct kern_channel *ch_open_special(struct kern_nexus *,
|
| /xnu-8019.80.24/bsd/skywalk/core/ |
| H A D | skywalk_proc_info.c | 73 struct kern_nexus *nexus; in fill_channelinfo()
|