Searched refs:facilities_len (Results 1 – 1 of 1) sorted by relevance
399 int facilities_len, len; in rose_parse_facilities() local401 facilities_len = *p++; in rose_parse_facilities()403 if (facilities_len == 0 || (unsigned)facilities_len > packet_len) in rose_parse_facilities()406 while (facilities_len >= 3 && *p == 0x00) { in rose_parse_facilities()407 facilities_len--; in rose_parse_facilities()412 len = rose_parse_national(p + 1, facilities, facilities_len - 1); in rose_parse_facilities()416 len = rose_parse_ccitt(p + 1, facilities, facilities_len - 1); in rose_parse_facilities()427 if (WARN_ON(len >= facilities_len)) in rose_parse_facilities()429 facilities_len -= len + 1; in rose_parse_facilities()433 return facilities_len == 0; in rose_parse_facilities()