aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-netflow.c
diff options
context:
space:
mode:
authorDeep Datta <deepdatta2010@yahoo.co.in>2016-11-14 15:43:05 -0600
committerAnders Broman <a.broman58@gmail.com>2016-11-16 05:21:28 +0000
commit0b4b521377592de83e5b14051691f4fbb6b60aa1 (patch)
tree5a4f719a56a7459c42c44999b6fe15e9d24b4105 /epan/dissectors/packet-netflow.c
parentbf7db022c35f408199b4c4baed187d5fc19ac77c (diff)
Adding new Ixia netflow fields for Source and Dest AS Names and Transaction Latency
Change-Id: I48c0cb58cd5643ad1c930b668b81cc3cc7270afa Reviewed-on: https://code.wireshark.org/review/18837 Reviewed-by: Michael Mann <mmann78@netscape.net> 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-netflow.c')
-rw-r--r--epan/dissectors/packet-netflow.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/epan/dissectors/packet-netflow.c b/epan/dissectors/packet-netflow.c
index 33072938e2..6754882c05 100644
--- a/epan/dissectors/packet-netflow.c
+++ b/epan/dissectors/packet-netflow.c
@@ -2012,6 +2012,9 @@ static int hf_pie_ixia_user_agent = -1;
static int hf_pie_ixia_host_name = -1;
static int hf_pie_ixia_uri = -1;
static int hf_pie_ixia_dns_txt = -1;
+static int hf_pie_ixia_source_as_name = -1;
+static int hf_pie_ixia_dest_as_name = -1;
+static int hf_pie_ixia_transaction_latency = -1;
static int hf_pie_netscaler = -1;
static int hf_pie_netscaler_roundtriptime = -1;
@@ -6517,6 +6520,18 @@ dissect_v9_v10_pdu_data(tvbuff_t *tvb, packet_info *pinfo, proto_tree *pdutree,
ti = proto_tree_add_item(pdutree, hf_pie_ixia_dns_txt,
tvb, offset, length, ENC_ASCII|ENC_NA);
break;
+ case ((VENDOR_IXIA << 16) | 186):
+ ti = proto_tree_add_item(pdutree, hf_pie_ixia_source_as_name,
+ tvb, offset, length, ENC_ASCII|ENC_NA);
+ break;
+ case ((VENDOR_IXIA << 16) | 187):
+ ti = proto_tree_add_item(pdutree, hf_pie_ixia_dest_as_name,
+ tvb, offset, length, ENC_ASCII|ENC_NA);
+ break;
+ case ((VENDOR_IXIA << 16) | 188):
+ ti = proto_tree_add_item(pdutree, hf_pie_ixia_transaction_latency,
+ tvb, offset, length, ENC_BIG_ENDIAN);
+ break;
/* END Ixia Communications */
/* START Netscaler Communications */
@@ -11063,6 +11078,27 @@ proto_register_netflow(void)
"TXT record in DNS query", HFILL}
},
+ /* ixia, 3054 / 186 */
+ {&hf_pie_ixia_source_as_name,
+ {"Source AS Name", "cflow.pie.ixia.src-as-name",
+ FT_STRING, STR_ASCII, NULL, 0x0,
+ NULL, HFILL}
+ },
+
+ /* ixia, 3054 / 187 */
+ {&hf_pie_ixia_dest_as_name,
+ {"Destination AS Name", "cflow.pie.ixia.dest-as-name",
+ FT_STRING, STR_ASCII, NULL, 0x0,
+ NULL, HFILL}
+ },
+
+ /* ixia, 3054 / 188 */
+ {&hf_pie_ixia_transaction_latency,
+ {"Transaction Latency (ms)", "cflow.pie.ixia.transact-latency-ms",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL}
+ },
+
/* Netscaler root (a hidden item to allow filtering) */
{&hf_pie_netscaler,
{"Netscaler", "cflow.pie.netscaler",