Home | History | Annotate | Download | only in sdp

Lines Matching full:attr_len

723     UINT32      seq_len, attr_len;
757 p = sdpu_get_len_from_type (p, type, &attr_len);
758 if (((type >> 3) != UINT_DESC_TYPE) || (attr_len != 2))
760 SDP_TRACE_WARNING ("SDP - Bad type: 0x%02x or len: %d in attr_rsp", type, attr_len);
836 UINT32 attr_len;
847 p = sdpu_get_len_from_type (p, type, &attr_len);
849 attr_len &= SDP_DISC_ATTR_LEN_MASK;
853 if (attr_len > 4)
854 total_len = attr_len - 4 + (UINT16)sizeof (tSDP_DISC_ATTR);
867 p_attr->attr_len_type = (UINT16)attr_len | (attr_type << 12);
874 if( (is_additional_list != 0) && (attr_len == 2) )
884 p_end = p + attr_len;
903 switch (attr_len)
915 BE_STREAM_TO_ARRAY (p, p_attr->attr_value.v.array, (INT32)attr_len);
921 switch (attr_len)
930 attr_len = 2;
931 p_attr->attr_len_type = (UINT16)attr_len | (attr_type << 12);
963 BE_STREAM_TO_ARRAY (p, p_attr->attr_value.v.array, (INT32)attr_len);
967 SDP_TRACE_WARNING ("SDP - bad len in UUID attr: %d", attr_len);
968 return (p + attr_len);
977 p_end = p + attr_len;
1002 BE_STREAM_TO_ARRAY (p, p_attr->attr_value.v.array, (INT32)attr_len);
1006 switch (attr_len)
1012 SDP_TRACE_WARNING ("SDP - bad len in boolean attr: %d", attr_len);
1013 return (p + attr_len);