Lines Matching refs:port
72 tPORT* p_port = &rfc_cb.port.port[port_index]; in port_allocate_port()
285 for (tRFC_MCB& mcb : rfc_cb.port.rfc_mcb) { in port_find_mcb()
329 return &rfc_cb.port.port[handle - 1]; in port_find_mcb_dlci_port()
342 for (tPORT& port : rfc_cb.port.port) { in port_find_dlci_port()
343 if (port.in_use && (port.rfc.p_mcb == nullptr)) { in port_find_dlci_port()
344 if (port.dlci == dlci) { in port_find_dlci_port()
345 return &port; in port_find_dlci_port()
346 } else if ((dlci & 0x01) && (port.dlci == (dlci - 1))) { in port_find_dlci_port()
347 port.dlci++; in port_find_dlci_port()
348 return &port; in port_find_dlci_port()
365 for (tPORT& port : rfc_cb.port.port) { in port_find_port()
366 if (port.in_use && (port.dlci == dlci) && (port.bd_addr == bd_addr)) { in port_find_port()
367 return &port; in port_find_port()