• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/isisd/

Lines Matching refs:pdu_len

228   uint16_t checksum, rem_lifetime, pdu_len;
233 pdu_len = ntohs (hdr->pdu_len);
237 pdu_len - ISIS_FIXED_HDR_LEN - ISIS_LSP_HDR_LEN,
246 ntohs (hdr->rem_lifetime), pdu_len);
403 uint16_t pdu_len;
447 pdu_len = ntohs (hdr->pdu_len);
449 if (pdu_len < (ISIS_FIXED_HDR_LEN + ISIS_P2PHELLO_HDRLEN) ||
450 pdu_len > ISO_MTU(circuit) ||
451 pdu_len > stream_get_endp (circuit->rcv_stream))
455 circuit->area->area_tag, circuit->interface->name, pdu_len);
463 if (pdu_len < stream_get_endp (circuit->rcv_stream))
464 stream_set_endp (circuit->rcv_stream, pdu_len);
480 pdu_len - ISIS_P2PHELLO_HDRLEN - ISIS_FIXED_HDR_LEN,
886 circuit->circuit_id, pdu_len);
968 hdr.pdu_len = stream_getw (circuit->rcv_stream);
972 if (hdr.pdu_len < (ISIS_FIXED_HDR_LEN + ISIS_LANHELLO_HDRLEN) ||
973 hdr.pdu_len > ISO_MTU(circuit) ||
974 hdr.pdu_len > stream_get_endp (circuit->rcv_stream))
979 hdr.pdu_len);
987 if (hdr.pdu_len < stream_get_endp (circuit->rcv_stream))
988 stream_set_endp (circuit->rcv_stream, hdr.pdu_len);
1013 hdr.pdu_len - ISIS_LANHELLO_HDRLEN - ISIS_FIXED_HDR_LEN,
1294 uint16_t pdu_len;
1315 pdu_len = ntohs (hdr->pdu_len);
1318 if (pdu_len < (ISIS_FIXED_HDR_LEN + ISIS_LSP_HDR_LEN) ||
1319 pdu_len > ISO_MTU(circuit) ||
1320 pdu_len > stream_get_endp (circuit->rcv_stream))
1324 rawlspid_print (hdr->lsp_id), pdu_len);
1333 if (pdu_len < stream_get_endp (circuit->rcv_stream))
1334 stream_set_endp (circuit->rcv_stream, pdu_len);
1346 pdu_len,
1364 pdu_len - 12, &hdr->checksum))
1591 pdu_len, lsp0,
1640 uint16_t pdu_len;
1660 pdu_len = ntohs (chdr->pdu_len);
1661 if (pdu_len < (ISIS_FIXED_HDR_LEN + ISIS_CSNP_HDRLEN) ||
1662 pdu_len > ISO_MTU(circuit) ||
1663 pdu_len > stream_get_endp (circuit->rcv_stream))
1665 zlog_warn ("Received a CSNP with bogus length %d", pdu_len);
1675 pdu_len = ntohs (phdr->pdu_len);
1676 if (pdu_len < (ISIS_FIXED_HDR_LEN + ISIS_PSNP_HDRLEN) ||
1677 pdu_len > ISO_MTU(circuit) ||
1678 pdu_len > stream_get_endp (circuit->rcv_stream))
1680 zlog_warn ("Received a CSNP with bogus length %d", pdu_len);
1689 if (pdu_len < stream_get_endp (circuit->rcv_stream))
1690 stream_set_endp (circuit->rcv_stream, pdu_len);
1779 pdu_len - stream_get_getp (circuit->rcv_stream),
2364 hello_hdr.pdu_len = 0; /* Update the PDU Length later */