Lines Matching refs:pdu_len
584 if (bit->pdu_len != sizeof(two32))
602 if (bit->pdu_len > 0) {
603 char msg[bit->pdu_len+1];
605 memcpy(msg, (char *)payload, bit->pdu_len);
606 msg[bit->pdu_len] = '\0';
753 if (bit_alloc_cache < 1024 && !bit->pdu_len) {
1469 process_fmt(act, pci, t, -1ULL, t->pdu_len, buf);
1624 output_binary(t, sizeof(*t) + t->pdu_len);
2141 return bit->pdu_len;
2143 return __bswap_16(bit->pdu_len);
2162 int pdu_len, should_block, ret;
2190 pdu_len = get_pdulen(bit);
2191 if (pdu_len) {
2192 void *ptr = realloc(bit, sizeof(*bit) + pdu_len);
2194 if (read_data(fd, ptr + sizeof(*bit), pdu_len, 1, fdblock)) {
2214 output_binary(bit, sizeof(*bit) + bit->pdu_len);
2319 int ret, pdu_len, ndone = 0;
2337 pdu_len = get_pdulen(bit);
2338 if (pdu_len) {
2339 void *ptr = realloc(bit, sizeof(*bit) + pdu_len);
2340 ret = read_data(pci->fd, ptr + sizeof(*bit), pdu_len,
2357 output_binary(bit, sizeof(*bit) + bit->pdu_len);