Ethereal-dev: Re: [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.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Tue, 7 Feb 2006 11:18:03 +0100
On Mon, Feb 06, 2006 at 10:22:11PM +0100, olivier.montanuy@xxxxxxx wrote:
> 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.

Can you please send a diff against the file?

Thanks
     Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.