Revision history [back]
"Argument 6" is the pointer to the "get PDU length" routine.
The "get PDU length" routine MUST be a routine that is passed:
- a
packet_info *
passed to the dissector that's callingtcp_dissect_pdu()
; - a
tvbuff_t *
pointing to the tvbuff containing the TCP data; - an
int
whose value is the offset in that tvbuff at which that PDU begins; - a
void *
that's the dissector data pointer passed to the dissector that's callingtcp_dissect_pdu()
;
and that returns the total length of the PDU, in bytes.
If that's not what your "get PDU length" routine does, you MUST change it to do so.
"Argument 6" is the pointer to the "get PDU length" routine.
The "get PDU length" routine MUST be a routine that is passed:
- a
packet_info *
passed to the dissector that's callingtcp_dissect_pdu()
; - a
tvbuff_t *
pointing to the tvbuff containing the TCP data; - an
int
whose value is the offset in that tvbuff at which that PDUbegins;beings; - a
void *
that's the dissector data pointer passed to the dissector that's callingtcp_dissect_pdu()
;
and that returns the total length of the PDU, in bytes.
If that's not what your "get PDU length" routine does, you MUST change it to do so.