Lines Matching refs:attr_id
180 int attr_id; member
235 static inline char* get_attr_id_name(int attr_id) in get_attr_id_name() argument
240 if (sdp_attr_id_nam_lookup_table[i].attr_id == attr_id) in get_attr_id_name()
475 uint16_t attr_id; in print_attr_id_list() local
490 attr_id = get_u16(frm); in print_attr_id_list()
491 name = get_attr_id_name(attr_id); in print_attr_id_list()
494 printf(" 0x%04x (%s)", attr_id, name); in print_attr_id_list()
517 uint16_t attr_id, psm; in print_attr_list() local
525 if (parse_de_hdr(frm, &n2) == SDP_DE_UINT && n2 == sizeof(attr_id)) { in print_attr_list()
527 attr_id = get_u16(frm); in print_attr_list()
529 name = get_attr_id_name(attr_id); in print_attr_list()
532 printf("aid 0x%04x (%s)\n", attr_id, name); in print_attr_list()
533 split = (attr_id != SDP_ATTR_ID_PROTOCOL_DESCRIPTOR_LIST); in print_attr_list()
540 attr_id == SDP_ATTR_ID_PROTOCOL_DESCRIPTOR_LIST ? &psm : NULL, in print_attr_list()
541 attr_id == SDP_ATTR_ID_PROTOCOL_DESCRIPTOR_LIST ? &channel : NULL); in print_attr_list()