summaryrefslogtreecommitdiff
path: root/print-mpls.c
Commit message (Collapse)AuthorAgeFilesLines
* -code cosmetics: improve readability by replacing "v" by "label_entry"hannes2005-07-051-19/+28
| | | | | -do multiline formatting for label-stacks deeper than 1 -hide the IPv4/IPv6 printer under the vflag for explicit NULL labels
* refactored ip_print() so that chained header parser (ESP/AH) canmcr2005-04-061-3/+11
| | | | more easily call the inner parts.
* make MPLS label handling macros available to the outside worldhannes2004-06-141-15/+2
|
* add baseline LSP-PING support per draft-ietf-mpls-lsp-ping-05hannes2004-06-061-12/+1
|
* Have the configure script arrange that the Makefile define _U_guy2003-11-161-4/+4
| | | | | | | | | | appropriately, and that GNUmakefile and the MSVC++ project file define it apppriately, as we do with libpcap, rather than defining it in "interface.h". Undo the rcsid-shuffling and addition of extra #includes, as we no longer need to arrange that "interface.h" be included before using _U_ in an RCS ID or copyright.
* From Neil Spring:guy2003-11-151-4/+4
| | | | | | | | | | | use "_U_" in the definitions of "rcsid[]", to eliminate complaints about those variables being unused; move the definitions after the include of "interface.h", or add an include of "interface.h", so that "_U_" is defined. Include "config.h" before including "tcpdump-stdinc.h" in "missing/datalinks.c".
* don't pass on src & dst MAC adresses to the isoclns decoder as MAC adresseshannes2003-05-221-2/+2
| | | | should be really printed in ether_print() using the eflag
* basic preparations for mpls lsp ping decodinghannes2003-05-081-1/+11
|
* keep the one-line rule for vflag<1, display exp value always, indicate ↵hannes2003-02-041-10/+20
| | | | payload type (IP,IPv6,OSI) in vflag<1 mode
* Generally there's no indication of protocol in MPLS labelhannes2002-08-081-9/+66
| | | | | | | | | | | | encoding, however draft-hsmit-isis-aal5mux-00.txt describes a technique that looks at the first payload byte if the BOS (bottom of stack) bit is set and tries to determine the network layer protocol 0x45-0x4f is IPv4 0x60-0x6f is IPv6 0x83 is IS-IS this technique is sometimes known as NULL encapsulation and decoding is particularly useful for control-plane traffic [BGP] which cisco by default sends MPLS encapsulated
* Added support for Win32, based on WinPcap.risso2002-08-011-7/+2
|
* Print the whole MPLS label stack.fenner2002-05-071-17/+18
| | | | Submitted by: Kaarthik Sivakumar <kaarthik@torrentnet.com>
* Include <netinet/in.h> to declare or define "ntohl()".guy2001-06-261-1/+3
|
* MPLS label encapsulation decoding, per RFC3032.itojun2001-06-211-0/+121
TODO: multiple labels. other media types.