diff --git a/epan/dissectors/packet-tcp.h b/epan/dissectors/packet-tcp.h index a33472a978..4ca4fb5bf9 100644 --- a/epan/dissectors/packet-tcp.h +++ b/epan/dissectors/packet-tcp.h @@ -51,7 +51,8 @@ struct tcpheader { }; /* - * Private data passed from the TCP dissector to subdissectors. + * Private data passed from the TCP dissector to subdissectors. Passed to the + * subdissectors in pinfo->private_data */ struct tcpinfo { guint32 seq; /* Sequence number of first byte in the data */ diff --git a/epan/req_resp_hdrs.h b/epan/req_resp_hdrs.h index 3a91483fb5..841fbc390c 100644 --- a/epan/req_resp_hdrs.h +++ b/epan/req_resp_hdrs.h @@ -26,8 +26,15 @@ #ifndef __REQ_RESP_HDRS_H__ #define __REQ_RESP_HDRS_H__ -/* +/** * Optionally do reassembly of the request/response line, headers, and body. + * + * @param tvb The buffer. + * @param offset The offset in the buffer to begin inspection. + * @param pinfo Packet info from the parent protocol. + * @param desegment_headers Do desegmentation on headers. + * @param desegment_body Do desegmenation on body. + * @return TRUE if desegmentation is complete otherwise FALSE */ extern gboolean req_resp_hdrs_do_reassembly(tvbuff_t *tvb, int offset, packet_info *pinfo,