Lines Matching refs:len
341 int len;
351 for (len = ETHERADDRL; len > 0; len--)
574 req->len = 0;
577 ctlbuf.len = tor->OPT_length + tor->OPT_offset;
588 * len is the size of the data part of the message.
599 logdebug("# level name len\n");
612 ctlbuf.len >= sizeof (struct T_optmgmt_ack) &&
615 req->len == 0) {
624 if (ctlbuf.len >= sizeof (struct T_error_ack) &&
635 ctlbuf.len < sizeof (struct T_optmgmt_ack) ||
639 "ctlbuf.len = %d, PRIM_type = %ld\n",
640 j, getcode, ctlbuf.len, toa->PRIM_type);
643 "MGMT_flags = 0x%lx, req->len = %ld\n",
644 toa->MGMT_flags, req->len);
663 last_item->length = req->len;
664 last_item->valp = malloc((int)req->len);
668 databuf.len = 0;
676 "databuf.maxlen = %d, databuf.len = %d\n",
677 getcode, databuf.maxlen, databuf.len);
698 * size_t len: length of buffer.
706 ire_process(mib2_ipRouteEntry_t *buf, size_t len, boolean_t *changed)
720 if (len == 0)
722 endp = buf + (len / sizeof (mib2_ipRouteEntry_t));
843 * size_t len: length of buffer.
851 arp_process(mib2_ipNetToMediaEntry_t *buf, size_t len, boolean_t *changed)
860 if (len == 0)
862 endp = buf + (len / sizeof (mib2_ipNetToMediaEntry_t));
898 for (len = ETHERADDRL; len > 0; len--)