diff options
author | hannes <hannes> | 2003-05-08 15:05:41 +0000 |
---|---|---|
committer | hannes <hannes> | 2003-05-08 15:05:41 +0000 |
commit | 3058667b3a45b00cce6c3fb182ba3566dc287e46 (patch) | |
tree | 7b4ba6e2026e12c5ba6f4be81ec15825c2d2d93d /print-mpls.c | |
parent | 0364e271922e181e666198d96ba6bdb1f7cca96b (diff) | |
download | tcpdump-3058667b3a45b00cce6c3fb182ba3566dc287e46.tar.gz |
basic preparations for mpls lsp ping decoding
Diffstat (limited to 'print-mpls.c')
-rw-r--r-- | print-mpls.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/print-mpls.c b/print-mpls.c index 34297dd0..67e974bb 100644 --- a/print-mpls.c +++ b/print-mpls.c @@ -28,7 +28,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-mpls.c,v 1.6 2003-02-04 06:26:59 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-mpls.c,v 1.7 2003-05-08 15:05:41 hannes Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -184,3 +184,13 @@ trunc: printf("[|MPLS]"); } +/* + * draft-ietf-mpls-lsp-ping-02.txt + */ +void +mpls_lsp_ping_print(const u_char *pptr, u_int length) +{ + printf("UDP, LSP-PING, length: %u", length); + if (vflag >1) + print_unknown_data(pptr,"\n\t ", length); +} |