Lines Matching refs:len

431 ipv6cp_input(unit, p, len)
434 int len;
436 fsm_input(&ipv6cp_fsm[unit], p, len);
499 int len = *lenp;
504 if (len >= vjlen) { \
508 len -= vjlen; \
516 if (len >= idlen) { \
520 len -= idlen; \
529 *lenp -= len;
541 ipv6cp_ackci(f, p, len)
544 int len;
559 if ((len -= vjlen) < 0) \
574 if ((len -= idlen) < 0) \
593 if (len != 0)
612 ipv6cp_nakci(f, p, len)
615 int len;
634 len >= (cilen = CILEN_IFACEID) && \
637 len -= cilen; \
647 len >= cilen && \
649 len -= cilen; \
694 while (len > CILEN_VOID) {
697 if( (len -= cilen) < 0 )
726 if (len != 0)
747 ipv6cp_rejci(f, p, len)
750 int len;
766 len >= (cilen = CILEN_IFACEID) && \
769 len -= cilen; \
781 len >= p[1] && \
783 len -= p[1]; \
799 if (len != 0)
834 int len, cilen, type;
850 for (len = *lenp; len > 0; len -= cilen, p = prev + cilen) {
853 if ((len < 2) || p[1] > len) {
1421 int code, id, len, olen;
1431 GETSHORT(len, p);
1432 if (len < HEADERLEN || len > plen)
1437 len -= HEADERLEN;
1444 while (len >= 2) {
1448 if (olen < 2 || olen > len) {
1452 len -= olen;
1477 if (len > 0 && *p >= ' ' && *p < 0x7f) {
1479 print_string((char *)p, len, printer, arg);
1480 p += len;
1481 len = 0;
1487 printer(arg, " %32.*B", len, p);
1501 ipv6_active_pkt(pkt, len)
1503 int len;
1510 len -= PPP_HDRLEN;
1512 if (len < IP6_HDRLEN) {
1513 dbglog("IPv6 packet of length %d is not activity", len);
1529 if (len < IP6_HDRLEN + TCP_HDRLEN) {
1530 dbglog("Bad TCP length %d<%d+%d %s->%s is not activity", len,
1536 len == IP6_HDRLEN + get_tcpoff(tcp) * 4) {
1540 info("TCP %d data %s%s->%s is activity", len - IP6_HDRLEN - TCP_HDRLEN,