strace/xlat/bluetooth_l2_psm.in
Eugene Syromyatnikov 0e72230ef3 sockaddr: decode Bluetooth L2 PSM values
* xlat/bluetooth_l2_psm.in: New file.
* sockaddr.c: Include xlat/bluetooth_l2_psm.h.
(print_bluetooth_l2_psm): New function.
(print_sockaddr_data_bt): Use it to decode struct sockaddr_l2.l2_psm
field.
* tests/net-sockaddr.c (check_l2): Update expected output.
2018-05-15 21:41:47 +00:00

11 lines
296 B
Plaintext

/* sort -k2,2 */
L2CAP_PSM_SDP 0x0001
L2CAP_PSM_RFCOMM 0x0003
L2CAP_PSM_3DSP 0x0021
L2CAP_PSM_IPSP 0x0023
L2CAP_PSM_LE_DYN_START 0x0080
L2CAP_PSM_LE_DYN_END 0x00ff
L2CAP_PSM_DYN_START 0x1001
L2CAP_PSM_AUTO_END 0x10ff
L2CAP_PSM_DYN_END 0xffff