diff options
author | Michael Mann <mmann78@netscape.net> | 2016-04-27 22:40:07 -0400 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-04-30 07:11:14 +0000 |
commit | 7838ee9d1a1dddfc1f3a08989b48ca6742c9b16f (patch) | |
tree | aad606ebbd700842507c339897909e8727bcc2d2 /epan/dissectors/packet-tcp.h | |
parent | 43cf41a356e41588dff1959ddfef83e5a6785fe1 (diff) |
Add TCP preference for Process information from IPFIX
The preference is disabled by default and saves a little
bit of memory for those that don't get process information
from IPFIX.
Change-Id: I4b6a106d156862a8d53bf2ad5ee88ea857637815
Reviewed-on: https://code.wireshark.org/review/15139
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-tcp.h')
-rw-r--r-- | epan/dissectors/packet-tcp.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/epan/dissectors/packet-tcp.h b/epan/dissectors/packet-tcp.h index a9b25dadcc..b3a068ac54 100644 --- a/epan/dissectors/packet-tcp.h +++ b/epan/dissectors/packet-tcp.h @@ -311,6 +311,15 @@ typedef struct tcp_analyze_seq_flow_info_t { } tcp_analyze_seq_flow_info_t; + /* Process info, currently discovered via IPFIX */ +typedef struct tcp_process_info_t { + guint32 process_uid; /* UID of local process */ + guint32 process_pid; /* PID of local process */ + gchar *username; /* Username of the local process */ + gchar *command; /* Local process name + path + args */ + +} tcp_process_info_t; + typedef struct _tcp_flow_t { guint8 static_flags; /* true if base seq set */ guint32 base_seq; /* base seq number (used by relative sequence numbers)*/ @@ -341,10 +350,7 @@ typedef struct _tcp_flow_t { wmem_tree_t *multisegment_pdus; /* Process info, currently discovered via IPFIX */ - guint32 process_uid; /* UID of local process */ - guint32 process_pid; /* PID of local process */ - gchar *username; /* Username of the local process */ - gchar *command; /* Local process name + path + args */ + tcp_process_info_t* process_info; /* MPTCP subflow intel */ struct mptcp_subflow *mptcp_subflow; |