Home
last modified time | relevance | path

Searched refs:facilities_len (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/net/rose/
Drose_subr.c398 int facilities_len, len; in rose_parse_facilities() local
400 facilities_len = *p++; in rose_parse_facilities()
402 if (facilities_len == 0 || (unsigned int)facilities_len > packet_len) in rose_parse_facilities()
405 while (facilities_len >= 3 && *p == 0x00) { in rose_parse_facilities()
406 facilities_len--; in rose_parse_facilities()
411 len = rose_parse_national(p + 1, facilities, facilities_len - 1); in rose_parse_facilities()
415 len = rose_parse_ccitt(p + 1, facilities, facilities_len - 1); in rose_parse_facilities()
426 if (WARN_ON(len >= facilities_len)) in rose_parse_facilities()
428 facilities_len -= len + 1; in rose_parse_facilities()
432 return facilities_len == 0; in rose_parse_facilities()