1 | initial version |
"Argument 6" is the pointer to the "get PDU length" routine.
The "get PDU length" routine MUST be a routine that is passed:
packet_info *
passed to the dissector that's calling tcp_dissect_pdu()
;tvbuff_t *
pointing to the tvbuff containing the TCP data;int
whose value is the offset in that tvbuff at which that PDU beings;void *
that's the dissector data pointer passed to the dissector that's calling tcp_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.
2 | No.2 Revision |
"Argument 6" is the pointer to the "get PDU length" routine.
The "get PDU length" routine MUST be a routine that is passed:
packet_info *
passed to the dissector that's calling tcp_dissect_pdu()
;tvbuff_t *
pointing to the tvbuff containing the TCP data;int
whose value is the offset in that tvbuff at which that PDU void *
that's the dissector data pointer passed to the dissector that's calling tcp_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.