Lines Matching refs:chunkDescPtr

507   const struct sctpChunkDesc *chunkDescPtr;  in sctp_print()  local
572 chunkDescPtr = (const struct sctpChunkDesc *) in sctp_print()
574 chunkDescPtr != NULL && in sctp_print()
576 ((const u_char *) chunkDescPtr + sizeof(struct sctpChunkDesc)) in sctp_print()
579 chunkDescPtr = (const struct sctpChunkDesc *) nextChunk, chunkCount++) in sctp_print()
585 ND_TCHECK(*chunkDescPtr); in sctp_print()
586 chunkLength = EXTRACT_16BITS(&chunkDescPtr->chunkLength); in sctp_print()
587 if (chunkLength < sizeof(*chunkDescPtr)) { in sctp_print()
592 ND_TCHECK2(*((uint8_t *)chunkDescPtr), chunkLength); in sctp_print()
593 chunkEnd = ((const u_char*)chunkDescPtr + chunkLength); in sctp_print()
603 chunkDescPtr->chunkID))); in sctp_print()
604 switch (chunkDescPtr->chunkID) in sctp_print()
613 if ((chunkDescPtr->chunkFlg & SCTP_DATA_UNORDERED) in sctp_print()
617 if ((chunkDescPtr->chunkFlg & SCTP_DATA_FIRST_FRAG) in sctp_print()
621 if ((chunkDescPtr->chunkFlg & SCTP_DATA_LAST_FRAG) in sctp_print()
625 if( ((chunkDescPtr->chunkFlg & SCTP_DATA_UNORDERED) in sctp_print()
628 ((chunkDescPtr->chunkFlg & SCTP_DATA_FIRST_FRAG) in sctp_print()
631 ((chunkDescPtr->chunkFlg & SCTP_DATA_LAST_FRAG) in sctp_print()
635 dataHdrPtr=(const struct sctpDataPart*)(chunkDescPtr+1); in sctp_print()
651 if (EXTRACT_16BITS(&chunkDescPtr->chunkLength) < in sctp_print()
653 ND_PRINT((ndo, "bogus chunk length %u]", EXTRACT_16BITS(&chunkDescPtr->chunkLength))); in sctp_print()
657 payload_size = EXTRACT_16BITS(&chunkDescPtr->chunkLength) - in sctp_print()
684 init=(const struct sctpInitiation*)(chunkDescPtr+1); in sctp_print()
702 init=(const struct sctpInitiation*)(chunkDescPtr+1); in sctp_print()
723 sack=(const struct sctpSelectiveAck*)(chunkDescPtr+1); in sctp_print()