X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/ec799d60f6cd3f41041b57efe3963c28dda94d4a..0f328b4aa16b0b47f05a85c440ce1d07719e3cac:/gmpls.c diff --git a/gmpls.c b/gmpls.c index 73917679..e527540e 100644 --- a/gmpls.c +++ b/gmpls.c @@ -1,4 +1,4 @@ -/* +/* * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that: (1) source code * distributions retain the above copyright notice and this paragraph @@ -10,21 +10,16 @@ * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE. * - * Original code by Hannes Gredler (hannes@juniper.net) + * Original code by Hannes Gredler (hannes@gredler.at) */ -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/gmpls.c,v 1.7 2006-04-14 07:11:59 hannes Exp $ (LBL)"; -#endif - #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include +#include -#include "interface.h" +#include "netdissect.h" #include "gmpls.h" /* rfc3471 */ @@ -141,8 +136,8 @@ const struct tok gmpls_payload_values[] = { { 0, NULL } }; -/* - * Link Type values used by LMP Service Discovery (specifically, the Client +/* + * Link Type values used by LMP Service Discovery (specifically, the Client * Port Service Attributes Object). See UNI 1.0 section 9.4.2 for details. */ const struct tok lmp_sd_service_config_cpsa_link_type_values[] = { @@ -151,9 +146,9 @@ const struct tok lmp_sd_service_config_cpsa_link_type_values[] = { { 0, NULL} }; -/* - * Signal Type values for SDH links used by LMP Service Discovery (specifically, - * the Client Port Service Attributes Object). See UNI 1.0 section 9.4.2 for +/* + * Signal Type values for SDH links used by LMP Service Discovery (specifically, + * the Client Port Service Attributes Object). See UNI 1.0 section 9.4.2 for * details. */ const struct tok lmp_sd_service_config_cpsa_signal_type_sdh_values[] = { @@ -168,9 +163,9 @@ const struct tok lmp_sd_service_config_cpsa_signal_type_sdh_values[] = { { 0, NULL} }; -/* - * Signal Type values for SONET links used by LMP Service Discovery (specifically, - * the Client Port Service Attributes Object). See UNI 1.0 section 9.4.2 for +/* + * Signal Type values for SONET links used by LMP Service Discovery (specifically, + * the Client Port Service Attributes Object). See UNI 1.0 section 9.4.2 for * details. */ const struct tok lmp_sd_service_config_cpsa_signal_type_sonet_values[] = { @@ -186,7 +181,7 @@ const struct tok lmp_sd_service_config_cpsa_signal_type_sonet_values[] = { }; #define DIFFSERV_BC_MODEL_RDM 0 /* draft-ietf-tewg-diff-te-proto-07 */ -#define DIFFSERV_BC_MODEL_MAM 1 /* draft-ietf-tewg-diff-te-proto-07 */ +#define DIFFSERV_BC_MODEL_MAM 1 /* draft-ietf-tewg-diff-te-proto-07 */ #define DIFFSERV_BC_MODEL_EXTD_MAM 254 /* experimental */ const struct tok diffserv_te_bc_values[] = {