Ethereal-dev: [Ethereal-dev] Patch: Netflow v9 MPLS-Aware

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Mon, 06 Feb 2006 22:22:11 +0100
This is a simple patch to the Netflow v9 dissector, that let it decode
Netflow v9 MPLS-Aware, a feature of Cisco 12000 IOS 12.0.26S and above.

This patch only modifies one file  epan/dissector/packet-netflow.c
for the following Netflow v9 types:
 46 = MPLS top label type (LDP, VPN, BGP, etc.)
 47 = MPLS top label adress (IP address of destination PE router)
 70 to 74 = MPLS labels 1 to 4.

Note: for MPLS labels I used proto_tree_add_text. I think that
 proto_tree_add_item with a bitfield for the label, the experimental bits
 and the top-of-stack bit would be a bit too verbose.

With regards,

  Olivier Montanuy