Searched refs:sc_unit (Results 1 – 19 of 19) sorted by relevance
| /xnu-10063.101.15/bsd/kern/ |
| H A D | kern_control.c | 401 kcb->sac.sc_unit, kcb->userdata); in ctl_detach() 441 kctl = ctl_find_by_id_unit(sa.sc_id, sa.sc_unit); in ctl_setup_kctl() 467 error = (*kctl->setup)(&sa.sc_unit, &kcb->userdata); in ctl_setup_kctl() 472 } else if ((kctl->flags & CTL_FLAG_REG_ID_UNIT) || sa.sc_unit != 0) { in ctl_setup_kctl() 473 if (kcb_find(kctl, sa.sc_unit) != NULL) { in ctl_setup_kctl() 482 if (kcb_next->sac.sc_unit > unit) { in ctl_setup_kctl() 486 unit = kcb_next->sac.sc_unit + 1; in ctl_setup_kctl() 497 sa.sc_unit = unit; in ctl_setup_kctl() 531 kcb->sac.sc_unit = 0; in ctl_setup_kctl() 632 (*kcb->kctl->disconnect)(kcb->kctl->kctlref, kcb->sac.sc_unit, kcb->userdata); in ctl_connect() [all …]
|
| /xnu-10063.101.15/bsd/net/ |
| H A D | packet_mangler.c | 212 if (sac->sc_unit == 0 || sac->sc_unit > MAX_PACKET_MANGLER) { in pkt_mnglr_ctl_connect() 213 PKT_MNGLR_LOG(LOG_ERR, "bad sc_unit %u", sac->sc_unit); in pkt_mnglr_ctl_connect() 223 if (packet_manglers[sac->sc_unit - 1] != NULL) { in pkt_mnglr_ctl_connect() 224 PKT_MNGLR_LOG(LOG_ERR, "sc_unit %u in use", sac->sc_unit); in pkt_mnglr_ctl_connect() 232 packet_manglers[sac->sc_unit - 1] = p_pkt_mnglr; in pkt_mnglr_ctl_connect() 235 p_pkt_mnglr->pkt_mnglr_kcunit = sac->sc_unit; in pkt_mnglr_ctl_connect() 265 packet_manglers[sac->sc_unit - 1] = NULL; in pkt_mnglr_ctl_connect() 278 error, pkt_mnglr_active_count, sac->sc_unit); in pkt_mnglr_ctl_connect()
|
| H A D | kctl_test.c | 76 kctlref, sac->sc_id, sac->sc_unit); in kctl_test_connect() 78 error = ctl_getenqueuespace(kctlref, sac->sc_unit, &space); in kctl_test_connect()
|
| H A D | if_pflog.h | 73 int sc_unit; member
|
| H A D | if_pflog.c | 231 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 | 1237 if (sac->sc_unit == 0 || sac->sc_unit > MAX_CONTENT_FILTER) { in cfil_ctl_connect() 1238 CFIL_LOG(LOG_ERR, "bad sc_unit %u", sac->sc_unit); in cfil_ctl_connect() 1240 } else if (content_filters[sac->sc_unit - 1] != NULL) { in cfil_ctl_connect() 1241 CFIL_LOG(LOG_ERR, "sc_unit %u in use", sac->sc_unit); in cfil_ctl_connect() 1247 content_filters[sac->sc_unit - 1] = cfc; in cfil_ctl_connect() 1250 cfc->cf_kcunit = sac->sc_unit; in cfil_ctl_connect() 1293 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 | 1618 pcb->utun_unit = sac->sc_unit; in utun_ctl_bind()
|
| H A D | if_ipsec.c | 3416 pcb->ipsec_unit = sac->sc_unit; in ipsec_ctl_bind()
|
| H A D | ntstat.c | 5466 state->ncs_unit = sac->sc_unit; in nstat_control_connect()
|
| /xnu-10063.101.15/tests/ |
| H A D | net_tun_pr_35136664.c | 34 kernctl_addr.sc_unit = 0; 59 kernctl_addr.sc_unit = 0;
|
| H A D | rvi_control_get_interface.c | 40 .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-10063.101.15/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 | 4555 if (group == NULL || sac->sc_unit != group->ctl_unit) { in flow_divert_kctl_connect() 4557 sac->sc_unit, group ? group->ctl_unit : 0); in flow_divert_kctl_connect()
|
| H A D | mptcp_subr.c | 6292 mptcp_kern_skt_unit = sac->sc_unit; in mptcp_symptoms_ctl_connect()
|
| /xnu-10063.101.15/bsd/sys/ |
| H A D | kern_control.h | 146 u_int32_t sc_unit; /* Developer private unit number */ member
|