Lines Matching refs:l
242 unsigned char l, lg, n = 0; in rose_parse_national() local
276 l = p[1]; in rose_parse_national()
277 if (len < 2 + l) in rose_parse_national()
281 if (l < AX25_ADDR_LEN) in rose_parse_national()
289 if (l < AX25_ADDR_LEN) in rose_parse_national()
296 if (l < AX25_ADDR_LEN) in rose_parse_national()
301 if (l < 1 + ROSE_ADDR_LEN) in rose_parse_national()
306 if (l % AX25_ADDR_LEN) in rose_parse_national()
311 for (pt = p + 2, lg = 0 ; lg < l ; pt += AX25_ADDR_LEN, lg += AX25_ADDR_LEN) { in rose_parse_national()
323 p += l + 2; in rose_parse_national()
324 n += l + 2; in rose_parse_national()
325 len -= l + 2; in rose_parse_national()
335 unsigned char l, n = 0; in rose_parse_ccitt() local
367 l = p[1]; in rose_parse_ccitt()
370 if (l < 10 || l > 20) in rose_parse_ccitt()
375 memcpy(callsign, p + 12, l - 10); in rose_parse_ccitt()
376 callsign[l - 10] = '\0'; in rose_parse_ccitt()
381 memcpy(callsign, p + 12, l - 10); in rose_parse_ccitt()
382 callsign[l - 10] = '\0'; in rose_parse_ccitt()
385 p += l + 2; in rose_parse_ccitt()
386 n += l + 2; in rose_parse_ccitt()
387 len -= l + 2; in rose_parse_ccitt()