Searched refs:sc_unit (Results 1 – 17 of 17) sorted by relevance
| /xnu-8792.41.9/bsd/kern/ |
| H A D | kern_control.c | 392 kcb->sac.sc_unit, kcb->userdata); in ctl_detach() 434 kctl = ctl_find_by_id_unit(sa.sc_id, sa.sc_unit); in ctl_setup_kctl() 459 if ((kctl->flags & CTL_FLAG_REG_ID_UNIT) || sa.sc_unit != 0) { in ctl_setup_kctl() 460 if (kcb_find(kctl, sa.sc_unit) != NULL) { in ctl_setup_kctl() 465 error = (*kctl->setup)(&sa.sc_unit, &kcb->userdata); in ctl_setup_kctl() 475 if (kcb_next->sac.sc_unit > unit) { in ctl_setup_kctl() 479 unit = kcb_next->sac.sc_unit + 1; in ctl_setup_kctl() 490 sa.sc_unit = unit; in ctl_setup_kctl() 542 kcb->sac.sc_unit = 0; in ctl_setup_kctl() 643 (*kcb->kctl->disconnect)(kcb->kctl->kctlref, kcb->sac.sc_unit, kcb->userdata); in ctl_connect() [all …]
|
| /xnu-8792.41.9/bsd/net/ |
| H A D | packet_mangler.c | 211 if (sac->sc_unit == 0 || sac->sc_unit > MAX_PACKET_MANGLER) { in pkt_mnglr_ctl_connect() 212 PKT_MNGLR_LOG(LOG_ERR, "bad sc_unit %u", sac->sc_unit); in pkt_mnglr_ctl_connect() 222 if (packet_manglers[sac->sc_unit - 1] != NULL) { in pkt_mnglr_ctl_connect() 223 PKT_MNGLR_LOG(LOG_ERR, "sc_unit %u in use", sac->sc_unit); in pkt_mnglr_ctl_connect() 231 packet_manglers[sac->sc_unit - 1] = p_pkt_mnglr; in pkt_mnglr_ctl_connect() 234 p_pkt_mnglr->pkt_mnglr_kcunit = sac->sc_unit; in pkt_mnglr_ctl_connect() 264 packet_manglers[sac->sc_unit - 1] = NULL; in pkt_mnglr_ctl_connect() 277 error, pkt_mnglr_active_count, sac->sc_unit); in pkt_mnglr_ctl_connect()
|
| H A D | if_pflog.h | 73 int sc_unit; member
|
| H A D | if_pflog.c | 173 pflogif->sc_unit = unit; in pflog_clone_create()
|
| H A D | remote_vif.c | 315 client->_unit = sac->sc_unit; in rvi_ctl_connect()
|
| H A D | content_filter.c | 1205 if (sac->sc_unit == 0 || sac->sc_unit > MAX_CONTENT_FILTER) { in cfil_ctl_connect() 1206 CFIL_LOG(LOG_ERR, "bad sc_unit %u", sac->sc_unit); in cfil_ctl_connect() 1208 } else if (content_filters[sac->sc_unit - 1] != NULL) { in cfil_ctl_connect() 1209 CFIL_LOG(LOG_ERR, "sc_unit %u in use", sac->sc_unit); in cfil_ctl_connect() 1215 content_filters[sac->sc_unit - 1] = cfc; in cfil_ctl_connect() 1218 cfc->cf_kcunit = sac->sc_unit; in cfil_ctl_connect() 1261 error, cfil_active_count, sac->sc_unit); in cfil_ctl_connect()
|
| H A D | network_agent.c | 274 *unitinfo = netagent_create_session(sac->sc_unit); in netagent_ctl_connect()
|
| H A D | if_utun.c | 1611 pcb->utun_unit = sac->sc_unit; in utun_ctl_bind()
|
| H A D | if_ipsec.c | 2648 pcb->ipsec_unit = sac->sc_unit; in ipsec_ctl_bind()
|
| H A D | ntstat.c | 5442 state->ncs_unit = sac->sc_unit; in nstat_control_connect()
|
| /xnu-8792.41.9/tests/ |
| H A D | net_tun_pr_35136664.c | 34 kernctl_addr.sc_unit = 0; 59 kernctl_addr.sc_unit = 0;
|
| H A D | aqm_qdelay_utun.c | 75 kernctl_addr.sc_unit = 0; in create_tun()
|
| H A D | net_tuntests.c | 429 kernctl_addr.sc_unit = 0; in create_tunsock_old() 577 kernctl_addr.sc_unit = 0; in create_tunsock_new()
|
| /xnu-8792.41.9/bsd/netinet/ |
| H A D | tcp_ccdbg.c | 47 UInt32 new_value = sac->sc_unit; in tcp_ccdbg_control_connect()
|
| H A D | flow_divert.c | 4170 if (sac->sc_unit >= GROUP_COUNT_MAX) { in flow_divert_kctl_connect() 4180 new_group->ctl_unit = sac->sc_unit; in flow_divert_kctl_connect() 4192 if (g_flow_divert_groups[sac->sc_unit] != NULL) { in flow_divert_kctl_connect() 4195 g_flow_divert_groups[sac->sc_unit] = new_group; in flow_divert_kctl_connect()
|
| H A D | mptcp_subr.c | 6283 mptcp_kern_skt_unit = sac->sc_unit; in mptcp_symptoms_ctl_connect()
|
| /xnu-8792.41.9/bsd/sys/ |
| H A D | kern_control.h | 145 u_int32_t sc_unit; /* Developer private unit number */ member
|