Home
last modified time | relevance | path

Searched refs:psm (Results 1 – 11 of 11) sorted by relevance

/haiku/src/tests/kits/bluetooth/l2capClient/
H A Dl2capClient.cpp18 CreateL2capSocket(const bdaddr_t* bdaddr, struct sockaddr_l2cap& l2sa, uint16 psm) in CreateL2capSocket() argument
41 l2sa.l2cap_psm = psm; in CreateL2capSocket()
66 uint16 psm = 1; in main() local
75 psm = atoi(argv[2]); in main()
76 printf("PSM requested %d\n", psm); in main()
79 if ((psm & 1) == 0) in main()
84 int sock = CreateL2capSocket(&bdaddr, l2sa, psm); in main()
/haiku/src/add-ons/kernel/network/protocols/l2cap/
H A DL2capEndpointManager.cpp69 L2capEndpointManager::ForPSM(uint16 psm) in ForPSM() argument
73 return fBoundEndpoints.Find(psm); in ForPSM()
H A Dl2cap_signal.cpp46 const uint16 psm = le16toh(command->psm); in l2cap_handle_connection_req() local
49 L2capEndpoint* endpoint = gL2capEndpointManager.ForPSM(psm); in l2cap_handle_connection_req()
57 endpoint->_HandleConnectionReq(conn, ident, psm, scid); in l2cap_handle_connection_req()
384 send_l2cap_connection_req(HciConnection* conn, uint8 ident, uint16 psm, uint16 scid) in send_l2cap_connection_req() argument
387 net_buffer* buffer = make_l2cap_connection_req(code, psm, scid); in send_l2cap_connection_req()
H A Dl2cap.cpp270 const uint16 psm = le16toh(connlessHeader->psm); in l2cap_receive_data() local
271 L2capEndpoint* endpoint = gL2capEndpointManager.ForPSM(psm); in l2cap_receive_data()
H A Dl2cap_command.cpp39 make_l2cap_connection_req(uint8& code, uint16 psm, uint16 scid) in make_l2cap_connection_req() argument
50 command->psm = htole16(psm); in make_l2cap_connection_req()
H A Dl2cap_signal.h20 status_t send_l2cap_connection_req(HciConnection* conn, uint8 ident, uint16 psm, uint16 scid);
H A Dl2cap_command.h23 net_buffer* make_l2cap_connection_req(uint8& code, uint16 psm, uint16 scid);
H A DL2capEndpointManager.h20 L2capEndpoint* ForPSM(uint16 psm);
H A DL2capEndpoint.h53 uint8 ident, uint16 psm, uint16 scid);
H A DL2capEndpoint.cpp550 uint8 ident, uint16 psm, uint16 scid) in _HandleConnectionReq() argument
/haiku/headers/private/bluetooth/
H A Dl2cap.h68 uint16 psm; member
105 uint16 psm; member