Lines Matching refs:ds_len
128 if(pp->ds_len && pq->pdu.ds_addr) {
132 len = pp->ds_len;
153 if(((pp->ds_len & 03) != 0) || ISOK2DIG(sp->dataDigest, pp)) {
155 if(pp->ds_len & 03)
156 len = 4 - (pp->ds_len & 03);
164 pp->ds_dig = sp->dataDigest(pp->ds_addr, pp->ds_len, 0);
222 if(pq->pdu.ds_addr && pp->ds_len) {
224 iv->iov_len = pp->ds_len;
230 pp->ds_dig = sp->dataDigest(pp->ds, pp->ds_len, 0);
455 pp->ds_len = len;
485 u_int digest, ds_len, cnt;
494 ds_len = len - sizeof(pp->ds_dig);
496 cnt = MIN(ds_len, m->m_len);
498 ds_len -= cnt;
499 if(ds_len == 0)
507 KASSERT(ds_len == 0, ("ds_len not zero"));
510 sdebug(6, "len=%d] opcode=0x%x ahs_len=0x%x ds_len=0x%x",
511 pq->len, bhs->opcode, pp->ahs_len, pp->ds_len);