Lines Matching refs:chunkDescPtr
97 const struct sctpChunkDesc *chunkDescPtr; in sctp_print() local
163 chunkDescPtr = (const struct sctpChunkDesc *) in sctp_print()
165 chunkDescPtr != NULL && in sctp_print()
167 ((const u_char *) chunkDescPtr + sizeof(struct sctpChunkDesc)) in sctp_print()
170 chunkDescPtr = (const struct sctpChunkDesc *) nextChunk, chunkCount++) in sctp_print()
176 TCHECK(*chunkDescPtr); in sctp_print()
177 chunkLength = EXTRACT_16BITS(&chunkDescPtr->chunkLength); in sctp_print()
178 if (chunkLength < sizeof(*chunkDescPtr)) { in sctp_print()
183 TCHECK2(*((u_int8_t *)chunkDescPtr), chunkLength); in sctp_print()
184 chunkEnd = ((const u_char*)chunkDescPtr + chunkLength); in sctp_print()
193 switch (chunkDescPtr->chunkID) in sctp_print()
201 if ((chunkDescPtr->chunkFlg & SCTP_DATA_UNORDERED) in sctp_print()
205 if ((chunkDescPtr->chunkFlg & SCTP_DATA_FIRST_FRAG) in sctp_print()
209 if ((chunkDescPtr->chunkFlg & SCTP_DATA_LAST_FRAG) in sctp_print()
213 if( ((chunkDescPtr->chunkFlg & SCTP_DATA_UNORDERED) in sctp_print()
216 ((chunkDescPtr->chunkFlg & SCTP_DATA_FIRST_FRAG) in sctp_print()
219 ((chunkDescPtr->chunkFlg & SCTP_DATA_LAST_FRAG) in sctp_print()
223 dataHdrPtr=(const struct sctpDataPart*)(chunkDescPtr+1); in sctp_print()
235 if (EXTRACT_16BITS(&chunkDescPtr->chunkLength) < in sctp_print()
240 EXTRACT_16BITS(&chunkDescPtr->chunkLength)); in sctp_print()
244 forces_print(payloadPtr, EXTRACT_16BITS(&chunkDescPtr->chunkLength)- chunksize); in sctp_print()
254 if (EXTRACT_16BITS(&chunkDescPtr->chunkLength) < in sctp_print()
259 EXTRACT_16BITS(&chunkDescPtr->chunkLength)); in sctp_print()
263 EXTRACT_16BITS(&chunkDescPtr->chunkLength) - in sctp_print()
276 init=(const struct sctpInitiation*)(chunkDescPtr+1); in sctp_print()
295 init=(const struct sctpInitiation*)(chunkDescPtr+1); in sctp_print()
317 sack=(const struct sctpSelectiveAck*)(chunkDescPtr+1); in sctp_print()
388 printf("[Unknown chunk type: 0x%x]", chunkDescPtr->chunkID); in sctp_print()