strace/xlat/bluetooth_l2_cid.in
Eugene Syromyatnikov 2d82c2c50a sockaddr: decode Bluetooth L2 CID values
* xlat/bluetooth_l2_cid.in: New file.
* sockaddr.c: Include xlat/bluetooth_l2_cid.h.
(print_bluetooth_l2_cid): New function.
(print_sockaddr_data_bt): Use it to decode struct sockaddr_l2.l2_cid
field.
* tests/net-sockaddr.c (check_l2): Update expected output.

Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
2018-05-15 21:41:47 +00:00

12 lines
275 B
Plaintext

/* sort -k2,2 */
L2CAP_CID_SIGNALING 0x0001
L2CAP_CID_CONN_LESS 0x0002
L2CAP_CID_A2MP 0x0003
L2CAP_CID_ATT 0x0004
L2CAP_CID_LE_SIGNALING 0x0005
L2CAP_CID_SMP 0x0006
L2CAP_CID_SMP_BREDR 0x0007
L2CAP_CID_DYN_START 0x0040
L2CAP_CID_LE_DYN_END 0x007f
L2CAP_CID_DYN_END 0xffff