Home
last modified time | relevance | path

Searched refs:dlc (Results 1 – 7 of 7) sorted by relevance

/netbsd/src/sys/netbt/
Drfcomm_upper.c67 struct rfcomm_dlc *dlc; in rfcomm_attach_pcb() local
73 dlc = kmem_intr_zalloc(sizeof(struct rfcomm_dlc), KM_NOSLEEP); in rfcomm_attach_pcb()
74 if (dlc == NULL) in rfcomm_attach_pcb()
77 dlc->rd_state = RFCOMM_DLC_CLOSED; in rfcomm_attach_pcb()
78 dlc->rd_mtu = rfcomm_mtu_default; in rfcomm_attach_pcb()
80 dlc->rd_proto = proto; in rfcomm_attach_pcb()
81 dlc->rd_upper = upper; in rfcomm_attach_pcb()
83 dlc->rd_laddr.bt_len = sizeof(struct sockaddr_bt); in rfcomm_attach_pcb()
84 dlc->rd_laddr.bt_family = AF_BLUETOOTH; in rfcomm_attach_pcb()
85 dlc->rd_laddr.bt_psm = L2CAP_PSM_RFCOMM; in rfcomm_attach_pcb()
[all …]
Drfcomm_dlc.c57 struct rfcomm_dlc *dlc; in rfcomm_dlc_lookup() local
59 LIST_FOREACH(dlc, &rs->rs_dlcs, rd_next) { in rfcomm_dlc_lookup()
60 if (dlc->rd_dlci == dlci) in rfcomm_dlc_lookup()
64 return dlc; in rfcomm_dlc_lookup()
76 struct rfcomm_dlc *new, *dlc, *any, *best; in rfcomm_dlc_newconn() local
100 LIST_FOREACH(dlc, &ls->rs_dlcs, rd_next) { in rfcomm_dlc_newconn()
101 if (dlc->rd_laddr.bt_channel == chan) in rfcomm_dlc_newconn()
102 best = dlc; in rfcomm_dlc_newconn()
107 LIST_FOREACH(dlc, &ls->rs_dlcs, rd_next) { in rfcomm_dlc_newconn()
108 if (dlc->rd_laddr.bt_channel == chan) in rfcomm_dlc_newconn()
[all …]
Drfcomm_session.c306 struct rfcomm_dlc *dlc; in rfcomm_session_timeout() local
318 dlc = LIST_FIRST(&rs->rs_dlcs); in rfcomm_session_timeout()
320 rfcomm_dlc_close(dlc, ETIMEDOUT); in rfcomm_session_timeout()
388 struct rfcomm_dlc *dlc; in rfcomm_session_disconnected() local
402 dlc = LIST_FIRST(&rs->rs_dlcs); in rfcomm_session_disconnected()
404 rfcomm_dlc_close(dlc, err); in rfcomm_session_disconnected()
449 struct rfcomm_dlc *dlc; in rfcomm_session_complete() local
464 dlc = credit->rc_dlc; in rfcomm_session_complete()
465 if (dlc != NULL) { in rfcomm_session_complete()
466 dlc->rd_pending--; in rfcomm_session_complete()
[all …]
Dhci_ioctl.c61 struct rfcomm_dlc *dlc; in hci_dump() local
108 LIST_FOREACH(dlc, &rs->rs_dlcs, rd_next) { in hci_dump()
112 dlc->rd_raddr.bt_channel, dlc->rd_dlci, in hci_dump()
113 dlc->rd_state, dlc->rd_flags, in hci_dump()
114 dlc->rd_rxcred, (unsigned long)dlc->rd_rxsize, in hci_dump()
115 dlc->rd_txcred, dlc->rd_pending, in hci_dump()
116 (dlc->rd_txbuf ? dlc->rd_txbuf->m_pkthdr.len : 0)); in hci_dump()
126 LIST_FOREACH(dlc, &rs->rs_dlcs, rd_next) in hci_dump()
127 uprintf("+DLC channel=%d\n", dlc->rd_laddr.bt_channel); in hci_dump()
/netbsd/src/sys/dev/usb/
Dif_gscan.c190 uint32_t len, dlc, can_id; in gscan_rx() local
225 dlc = le32toh(gsframe->gsframe_can_dlc); in gscan_rx()
226 if (dlc > CAN_MAX_DLC) { in gscan_rx()
248 cf->can_dlc = dlc; in gscan_rx()
/netbsd/src/external/bsd/openldap/dist/servers/slapd/overlays/
Ddynlist.c158 dynlist_sc_t *dlc; in dynlist_sc_update() local
165 dlc = (dynlist_sc_t *)op->o_callback->sc_private; in dynlist_sc_update()
166 e = dlc->dlc_e; in dynlist_sc_update()
180 dlm = dlc->dlc_dli->dli_dlm; in dynlist_sc_update()
181 … if ( dlm && dlm->dlm_mapped_ad == NULL && dlm->dlm_next == NULL && dlc->dlc_attrs == NULL ) { in dynlist_sc_update()
299 for ( dlm = dlc->dlc_dli->dli_dlm; dlm; dlm = dlm->dlm_next ) { in dynlist_sc_update()
497 dynlist_sc_t dlc = { 0 }; in dynlist_prepare_entry() local
546 dlc.dlc_e = e; in dynlist_prepare_entry()
547 dlc.dlc_dli = dli; in dynlist_prepare_entry()
548 cb.sc_private = &dlc; in dynlist_prepare_entry()
[all …]
/netbsd/src/distrib/sparc/
Dinstall.md112 /disk label corrupted/{s/.*/dlc/p;q;}; \