• Home
  • Raw
  • Download

Lines Matching refs:attr_len

724     UINT32      seq_len, attr_len;  in save_attr_seq()  local
758 p = sdpu_get_len_from_type (p, type, &attr_len); in save_attr_seq()
759 if (((type >> 3) != UINT_DESC_TYPE) || (attr_len != 2)) in save_attr_seq()
761 SDP_TRACE_WARNING ("SDP - Bad type: 0x%02x or len: %d in attr_rsp", type, attr_len); in save_attr_seq()
837 UINT32 attr_len; in add_attr() local
848 p = sdpu_get_len_from_type (p, type, &attr_len); in add_attr()
850 attr_len &= SDP_DISC_ATTR_LEN_MASK; in add_attr()
854 if (attr_len > 4) in add_attr()
855 total_len = attr_len - 4 + (UINT16)sizeof (tSDP_DISC_ATTR); in add_attr()
868 p_attr->attr_len_type = (UINT16)attr_len | (attr_type << 12); in add_attr()
875 if( (is_additional_list != 0) && (attr_len == 2) ) in add_attr()
885 p_end = p + attr_len; in add_attr()
904 switch (attr_len) in add_attr()
916 BE_STREAM_TO_ARRAY (p, p_attr->attr_value.v.array, (INT32)attr_len); in add_attr()
922 switch (attr_len) in add_attr()
931 attr_len = 2; in add_attr()
932 p_attr->attr_len_type = (UINT16)attr_len | (attr_type << 12); in add_attr()
964 BE_STREAM_TO_ARRAY (p, p_attr->attr_value.v.array, (INT32)attr_len); in add_attr()
968 SDP_TRACE_WARNING ("SDP - bad len in UUID attr: %d", attr_len); in add_attr()
969 return (p + attr_len); in add_attr()
978 p_end = p + attr_len; in add_attr()
1003 BE_STREAM_TO_ARRAY (p, p_attr->attr_value.v.array, (INT32)attr_len); in add_attr()
1007 switch (attr_len) in add_attr()
1013 SDP_TRACE_WARNING ("SDP - bad len in boolean attr: %d", attr_len); in add_attr()
1014 return (p + attr_len); in add_attr()