forked from osmocom/wireshark
Replace pinfo->fd->flags.visited calls by PINFO_FD_VISITED(pinfo) in documentation
Change-Id: If92787ddf3444edc466f04d7c2d9327cb8a50fba Reviewed-on: https://code.wireshark.org/review/9173 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
304f9021f4
commit
2c9a9aff5a
|
@ -2489,7 +2489,7 @@ So add the following items to the struct that is used for the protocol data:
|
||||||
nstime_t ts_prev;
|
nstime_t ts_prev;
|
||||||
|
|
||||||
The ts_prev value should only be set during the first run through the
|
The ts_prev value should only be set during the first run through the
|
||||||
packets (ie pinfo->fd->flags.visited is false).
|
packets (ie PINFO_FD_VISITED(pinfo) is false).
|
||||||
|
|
||||||
Next step is to use the per-packet information (described in section 2.5)
|
Next step is to use the per-packet information (described in section 2.5)
|
||||||
to keep the calculated delta timestamp, as it can only be calculated
|
to keep the calculated delta timestamp, as it can only be calculated
|
||||||
|
|
|
@ -103,7 +103,7 @@ actual dissector.
|
||||||
|
|
||||||
conversation_add_proto_data(conversation, proto_pana, pana_info);
|
conversation_add_proto_data(conversation, proto_pana, pana_info);
|
||||||
}
|
}
|
||||||
if (!pinfo->fd->flags.visited) {
|
if (!PINFO_FD_VISITED(pinfo)) {
|
||||||
if (flags&PANA_FLAG_R) {
|
if (flags&PANA_FLAG_R) {
|
||||||
/* This is a request */
|
/* This is a request */
|
||||||
pana_trans=wmem_new(wmem_file_scope(), pana_transaction_t);
|
pana_trans=wmem_new(wmem_file_scope(), pana_transaction_t);
|
||||||
|
|
Loading…
Reference in New Issue