/external/kernel-headers/original/linux/hdlc/ |
H A D | ioctl.h | 33 unsigned int dlci; member in struct:__anon6891 37 unsigned int dlci; member in struct:__anon6892
|
/external/bluetooth/bluedroid/stack/rfcomm/ |
H A D | rfc_int.h | 51 extern void RFCOMM_DlcEstablishReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu); 52 extern void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result); 54 extern void RFCOMM_DataReq (tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf); 56 extern void RFCOMM_DlcReleaseReq (tRFC_MCB *p_mcb, UINT8 dlci); 58 extern void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu); 59 extern void RFCOMM_ParNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k); 66 extern void RFCOMM_FlowReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT8 state); 68 extern void RFCOMM_PortNegReq (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars); 69 extern void RFCOMM_PortNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars, UINT16 param_mask); 71 extern void RFCOMM_ControlReq (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_CTR 80 UINT8 dlci; member in struct:__anon1423 91 UINT8 dlci; member in struct:__anon1423::__anon1424::__anon1425 107 UINT8 dlci; member in struct:__anon1423::__anon1424::__anon1427 120 UINT8 dlci; member in struct:__anon1423::__anon1424::__anon1429 134 UINT8 dlci; member in struct:__anon1423::__anon1424::__anon1430 [all...] |
H A D | rfc_port_if.c | 76 ** connection with the specific dlci on a specific bd device. 82 void RFCOMM_DlcEstablishReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) argument 84 tPORT *p_port = port_find_mcb_dlci_port (p_mcb, dlci); 88 PORT_DlcEstablishCnf (p_mcb, dlci, 0, RFCOMM_ERROR); 104 void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result) argument 106 tPORT *p_port = port_find_mcb_dlci_port (p_mcb, dlci); 110 PORT_DlcReleaseInd (p_mcb, dlci); 129 void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) argument 131 tPORT *p_port = port_find_mcb_dlci_port (p_mcb, dlci); 163 rfc_send_pn (p_mcb, dlci, TRU 177 RFCOMM_ParNegRsp(tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) argument 198 RFCOMM_PortNegReq(tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars) argument 228 RFCOMM_PortNegRsp(tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars, UINT16 param_mask) argument 246 RFCOMM_ControlReq(tRFC_MCB *p_mcb, UINT8 dlci, tPORT_CTRL *p_pars) argument 273 RFCOMM_FlowReq(tRFC_MCB *p_mcb, UINT8 dlci, UINT8 enable) argument 299 RFCOMM_LineStatusReq(tRFC_MCB *p_mcb, UINT8 dlci, UINT8 status) argument 321 RFCOMM_DlcReleaseReq(tRFC_MCB *p_mcb, UINT8 dlci) argument 334 RFCOMM_DataReq(tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf) argument [all...] |
H A D | port_rfc.c | 70 p_mcb->port_inx[p_port->dlci] = p_port->inx; 77 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu); 114 RFCOMM_ControlReq (p_mcb, p_port->dlci, &p_port->local_ctrl); 135 RFCOMM_PortNegReq (p_mcb, p_port->dlci, &p_port->user_port_pars); 184 RFCOMM_DlcReleaseReq (p_mcb, p_port->dlci); 215 RFCOMM_ParNegReq (p_mcb, p_port->dlci, p_port->mtu); 292 void PORT_ParNegInd (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) argument 294 tPORT *p_port = port_find_mcb_dlci_port (p_mcb, dlci); 298 RFCOMM_TRACE_EVENT2 ("PORT_ParNegInd dlci:%d mtu:%d", dlci, mt 383 PORT_ParNegCnf(tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k) argument 444 PORT_DlcEstablishInd(tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu) argument 493 PORT_DlcEstablishCnf(tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result) argument 544 PORT_PortNegInd(tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars, UINT16 param_mask) argument 577 PORT_PortNegCnf(tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars, UINT16 result) argument 618 PORT_ControlInd(tRFC_MCB *p_mcb, UINT8 dlci, tPORT_CTRL *p_pars) argument 677 PORT_ControlCnf(tRFC_MCB *p_mcb, UINT8 dlci, tPORT_CTRL *p_pars) argument 714 PORT_LineStatusInd(tRFC_MCB *p_mcb, UINT8 dlci, UINT8 line_status) argument 748 PORT_DlcReleaseInd(tRFC_MCB *p_mcb, UINT8 dlci) argument 821 PORT_DataInd(tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf) argument 921 PORT_FlowInd(tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN enable_data) argument [all...] |
H A D | rfc_port_fsm.c | 115 BTM_SEC_PROTO_RFCOMM, (UINT32)(p_port->dlci / 2), 136 BTM_SEC_PROTO_RFCOMM, (UINT32)(p_port->dlci / 2), 149 rfc_send_dm (p_port->rfc.p_mcb, p_port->dlci, FALSE); 153 rfc_send_dm (p_port->rfc.p_mcb, p_port->dlci, FALSE); 187 rfc_send_disc (p_port->rfc.p_mcb, p_port->dlci); 203 PORT_DlcEstablishCnf (p_port->rfc.p_mcb, p_port->dlci, p_port->rfc.p_mcb->peer_l2cap_mtu, RFCOMM_SUCCESS); 208 PORT_DlcEstablishCnf (p_port->rfc.p_mcb, p_port->dlci, p_port->rfc.p_mcb->peer_l2cap_mtu, RFCOMM_ERROR); 213 rfc_send_ua (p_port->rfc.p_mcb, p_port->dlci); 214 PORT_DlcEstablishCnf (p_port->rfc.p_mcb, p_port->dlci, p_port->rfc.p_mcb->peer_l2cap_mtu, RFCOMM_ERROR); 220 rfc_send_ua (p_port->rfc.p_mcb, p_port->dlci); 537 UINT8 dlci = p_frame->dlci; local [all...] |
H A D | port_utils.c | 70 tPORT *port_allocate_port (UINT8 dlci, BD_ADDR bd_addr) argument 88 p_port->dlci = dlci; 240 p_port->rfc.p_mcb->port_inx[p_port->dlci] = 0; 265 p_port->dlci &= 0xfe; 316 tPORT *port_find_mcb_dlci_port (tRFC_MCB *p_mcb, UINT8 dlci) argument 323 if (dlci > RFCOMM_MAX_DLCI) 326 inx = p_mcb->port_inx[dlci]; 343 tPORT *port_find_dlci_port (UINT8 dlci) argument 353 if (p_port->dlci 377 port_find_port(UINT8 dlci, BD_ADDR bd_addr) argument [all...] |
H A D | rfc_ts_frames.c | 39 void rfc_send_sabme (tRFC_MCB *p_mcb, UINT8 dlci) argument 51 /* SABME frame, command, PF = 1, dlci */ 52 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); 56 *p_data = RFCOMM_SABME_FCS ((UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci); 71 void rfc_send_ua (tRFC_MCB *p_mcb, UINT8 dlci) argument 83 /* ua frame, response, PF = 1, dlci */ 84 *p_data++ = RFCOMM_EA | cr | (dlci << RFCOMM_SHIFT_DLCI); 88 *p_data = RFCOMM_UA_FCS ((UINT8 *)(p_buf + 1) + L2CAP_MIN_OFFSET, cr, dlci); 103 void rfc_send_dm (tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN pf) argument 115 /* DM frame, response, PF = 1, dlci */ 135 rfc_send_disc(tRFC_MCB *p_mcb, UINT8 dlci) argument 167 rfc_send_buf_uih(tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf) argument 231 rfc_send_pn(tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN is_command, UINT16 mtu, UINT8 cl, UINT8 k) argument 332 rfc_send_msc(tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN is_command, tPORT_CTRL *p_pars) argument 386 rfc_send_rls(tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN is_command, UINT8 status) argument 449 rfc_send_rpn(tRFC_MCB *p_mcb, UINT8 dlci, BOOLEAN is_command, tPORT_STATE *p_pars, UINT16 mask) argument 539 rfc_send_credit(tRFC_MCB *p_mcb, UINT8 dlci, UINT8 credit) argument [all...] |
H A D | rfc_l2cap_if.c | 178 rfc_cb.port.port[idx - 1].dlci += 1; 179 RFCOMM_TRACE_DEBUG2 ("RFCOMM MX - DLCI:%d -> %d", i, rfc_cb.port.port[idx - 1].dlci); 323 if (rfc_cb.rfc.rx_frame.dlci == RFCOMM_MX_DLCI) 339 if (((p_port = port_find_mcb_dlci_port (p_mcb, rfc_cb.rfc.rx_frame.dlci)) == NULL) 347 rfc_send_dm (p_mcb, rfc_cb.rfc.rx_frame.dlci, rfc_cb.rfc.rx_frame.pf); 352 if ((p_port = port_find_dlci_port (rfc_cb.rfc.rx_frame.dlci)) == NULL) 354 rfc_send_dm (p_mcb, rfc_cb.rfc.rx_frame.dlci, TRUE); 358 p_mcb->port_inx[rfc_cb.rfc.rx_frame.dlci] = p_port->inx;
|
H A D | port_int.h | 96 /* tPORT based on dlci */ 101 UINT8 is_initiator; /* TRUE if this side sends SABME (dlci=0) */ 162 UINT8 dlci; /* DLCI of the connection */ member in struct:t_port_info 226 extern tPORT *port_allocate_port (UINT8 dlci, BD_ADDR bd_addr); 230 extern tPORT *port_find_mcb_dlci_port (tRFC_MCB *p_mcb, UINT8 dlci); 232 extern tPORT *port_find_dlci_port (UINT8 dlci); 233 extern tPORT *port_find_port (UINT8 dlci, BD_ADDR bd_addr);
|
H A D | port_api.c | 74 ** (scn * 2 + 1) dlci. 83 UINT8 dlci; local 104 dlci = (scn << 1) + 1; 106 dlci = (scn << 1); 109 /* do not allow the same (dlci, bd_addr) to be opened twice by application */ 110 if (!is_server && ((p_port = port_find_port (dlci, bd_addr)) != NULL)) 121 if ((p_port = port_allocate_port (dlci, bd_addr)) == NULL) 146 RFCOMM_TRACE_EVENT2 ("RFCOMM_CreateConnection dlci:%d signal state:0x%x", dlci, p_port->default_signal_state); 940 RFCOMM_LineStatusReq (p_port->rfc.p_mcb, p_port->dlci, error [all...] |
H A D | rfc_utils.c | 376 p_mcb->port_inx[p_port->dlci] = 0; 406 PORT_FlowInd(p_port->rfc.p_mcb, p_port->dlci, TRUE);
|
H A D | rfc_mx_fsm.c | 237 rfc_cb.port.port[idx - 1].dlci += 1; 238 RFCOMM_TRACE_DEBUG2 ("RFCOMM MX - DLCI:%d -> %d", i, rfc_cb.port.port[idx - 1].dlci);
|
/external/iproute2/include/linux/hdlc/ |
H A D | ioctl.h | 66 unsigned int dlci; member in struct:__anon6199 70 unsigned int dlci; member in struct:__anon6200
|
/external/bluetooth/bluedroid/stack/include/ |
H A D | rfcdefs.h | 69 #define RFCOMM_PARSE_CTRL_FIELD(ea, cr, dlci, p_data) \ 73 dlci = *p_data++ >> RFCOMM_SHIFT_DLCI; \ 74 if (!ea) dlci += *p_data++ << RFCOMM_SHIFT_DLCI2; \ 77 #define RFCOMM_FORMAT_CTRL_FIELD(p_data, ea, cr, dlci) \ 78 *p_data++ = ea | cr | (dlci << RFCOMM_SHIFT_DLCI) 114 #define RFCOMM_VALID_DLCI(dlci) \ 115 (((dlci) == 0) || (((dlci) >= 2) && ((dlci) <= RFCOMM_MAX_DLCI)))
|
/external/tcpdump/ |
H A D | print-fr.c | 103 static int parse_q922_addr(const u_char *p, u_int *dlci, u_int *sdlcore, argument 110 *dlci = ((p[0] & 0xFC) << 2) | ((p[1] & 0xF0) >> 4); 123 *dlci = (*dlci << 7) | (p[0] >> 1); 136 *dlci = (*dlci << 6) | (p[0] >> 2); 177 fr_hdr_print(int length, u_int addr_len, u_int dlci, u_int8_t *flags, u_int16_t nlpid) argument 181 dlci, 187 dlci, 195 dlci, 224 u_int dlci; local 807 u_int dlci; local [all...] |
/external/iproute2/lib/ |
H A D | ll_types.c | 46 __PF(DLCI,dlci)
|
/external/kernel-headers/original/linux/ |
H A D | wanrouter.h | 36 * Oct 05, 1997 Jaspreet Singh Added 'dlci_num' and 'dlci[100]' to 37 * 'wan_fr_conf_t' to configure a list of dlci(s) 154 unsigned dlci[100]; /* List of all DLCIs */ member in struct:wan_fr_conf
|