diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-12-15 04:23:55 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-12-15 04:23:55 +0000 |
commit | 524203fddf5cb2b37b6c10c1cb0c7d5b1da38701 (patch) | |
tree | 729224b0cbd9f3458321b2a196e6151b8cfa3930 /gtk | |
parent | 6ded357e293bf087b0db98206c7b015ac863eed2 (diff) |
From Lars Roland: export the value_string tables from packet-h225.c and
use them in the H.225 taps.
svn path=/trunk/; revision=9287
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/h225_counter.c | 237 |
1 files changed, 1 insertions, 236 deletions
diff --git a/gtk/h225_counter.c b/gtk/h225_counter.c index cf3d29894a..f28e3b7294 100644 --- a/gtk/h225_counter.c +++ b/gtk/h225_counter.c @@ -2,7 +2,7 @@ * h225 message counter for ethereal * Copyright 2003 Lars Roland * - * $Id: h225_counter.c,v 1.2 2003/12/04 00:45:38 guy Exp $ + * $Id: h225_counter.c,v 1.3 2003/12/15 04:23:55 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -73,241 +73,6 @@ static GtkWidget *filter_entry; #define FACILITY_REASONS 11 - -static const value_string RasMessage_vals[] = { - { 0, "gatekeeperRequest" }, - { 1, "gatekeeperConfirm" }, - { 2, "gatekeeperReject" }, - { 3, "registrationRequest" }, - { 4, "registrationConfirm" }, - { 5, "registrationReject" }, - { 6, "unregistrationRequest" }, - { 7, "unregistrationConfirm" }, - { 8, "unregistrationReject" }, - { 9, "admissionRequest" }, - {10, "admissionConfirm" }, - {11, "admissionReject" }, - {12, "bandwidthRequest" }, - {13, "bandwidthConfirm" }, - {14, "bandwidthReject" }, - {15, "disengageRequest" }, - {16, "disengageConfirm" }, - {17, "disengageReject" }, - {18, "locationRequest" }, - {19, "locationConfirm" }, - {20, "locationReject" }, - {21, "infoRequest" }, - {22, "infoRequestResponse" }, - {23, "nonStandardMessage" }, - {24, "unknownMessageResponse" }, - {25, "requestInProgress" }, - {26, "resourcesAvailableIndicate" }, - {27, "resourcesAvailableConfirm" }, - {28, "infoRequestAck" }, - {29, "infoRequestNak" }, - {30, "serviceControlIndication" }, - {31, "serviceControlResponse" }, - {32, "admissionConfirmSequence" }, - { 0, NULL} -}; - -static const value_string h323_message_body_vals[] = { - { 0, "setup" }, - { 1, "callProceeding" }, - { 2, "connect" }, - { 3, "alerting" }, - { 4, "information" }, - { 5, "releaseComplete" }, - { 6, "facility" }, - { 7, "progress" }, - { 8, "empty" }, - { 9, "status" }, - { 10, "statusInquiry" }, - { 11, "setupAcknowledge" }, - { 12, "notify" }, - { 0, NULL} -}; - -static const value_string FacilityReason_vals[] = { - { 0, "routeCallToGatekeeper" }, - { 1, "callForwarded" }, - { 2, "routeCallToMC" }, - { 3, "undefinedReason" }, - { 4, "conferenceListChoice" }, - { 5, "startH245" }, - { 6, "noH245" }, - { 7, "newTokens" }, - { 8, "featureSetUpdate" }, - { 9, "forwardedElements" }, - { 10, "transportedInformation" }, - { 0, NULL} -}; - -static const value_string GatekeeperRejectReason_vals[] = { - { 0, "resourceUnavailable" }, - { 1, "terminalExcluded" }, - { 2, "invalidRevision" }, - { 3, "undefinedReason" }, - { 4, "securityDenial" }, - { 5, "genericDataReason" }, - { 6, "neededFeatureNotSupported" }, - { 7, "securityError" }, - { 0, NULL} -}; - -static const value_string UnregRequestReason_vals[] = { - { 0, "reregistrationRequired" }, - { 1, "ttlExpired" }, - { 2, "securityDenial" }, - { 3, "undefinedReason" }, - { 4, "maintenance" }, - { 5, "securityError" }, - { 0, NULL} -}; - -static const value_string UnregRejectReason_vals[] = { - { 0, "notCurrentlyRegistered" }, - { 1, "callInProgress" }, - { 2, "undefinedReason" }, - { 3, "permissionDenied" }, - { 4, "securityDenial" }, - { 5, "securityError" }, - { 0, NULL} -}; - -static const value_string BandRejectReason_vals[] = { - { 0, "notBound" }, - { 1, "invalidConferenceID" }, - { 2, "invalidPermission" }, - { 3, "insufficientResources" }, - { 4, "invalidRevision" }, - { 5, "undefinedReason" }, - { 6, "securityDenial" }, - { 7, "securityError" }, - { 0, NULL} -}; - -static const value_string DisengageReason_vals[] = { - { 0, "forcedDrop" }, - { 1, "normalDrop" }, - { 2, "undefinedReason" }, - { 0, NULL} -}; - -static const value_string DisengageRejectReason_vals[] = { - { 0, "notRegistered" }, - { 1, "requestToDropOther" }, - { 2, "securityDenial" }, - { 3, "securityError" }, - { 0, NULL} -}; - -static const value_string InfoRequestNakReason_vals[] = { - { 0, "notRegistered" }, - { 1, "securityDenial" }, - { 2, "undefinedReason" }, - { 3, "securityError" }, - { 0, NULL} -}; - -static const value_string ReleaseCompleteReason_vals[] = { - { 0, "noBandwidth" }, - { 1, "gatekeeperResources" }, - { 2, "unreachableDestination" }, - { 3, "destinationRejection" }, - { 4, "invalidRevision" }, - { 5, "noPermission" }, - { 6, "unreachableGatekeeper" }, - { 7, "gatewayResources" }, - { 8, "badFormatAddress" }, - { 9, "adaptiveBusy" }, - { 10, "inConf" }, - { 11, "undefinedReason" }, - { 12, "facilityCallDeflection" }, - { 13, "securityDenied" }, - { 14, "calledPartyNotRegistered" }, - { 15, "callerNotRegistered" }, - { 16, "newConnectionNeeded" }, - { 17, "nonStandardReason" }, - { 18, "replaceWithConferenceInvite" }, - { 19, "genericDataReason" }, - { 20, "neededFeatureNotSupported" }, - { 21, "tunnelledSignallingRejected" }, - { 22, "invalidCID" }, - { 23, "invalidCID" }, - { 24, "securityError" }, - { 25, "hopCountExceeded" }, - { 0, NULL} -}; - -static const value_string AdmissionRejectReason_vals[] = { - { 0, "calledPartyNotRegistered" }, - { 1, "invalidPermission" }, - { 2, "requestDenied" }, - { 3, "undefinedReason" }, - { 4, "callerNotRegistered" }, - { 5, "routeCallToGatekeeper" }, - { 6, "invalidEndpointIdentifier" }, - { 7, "resourceUnavailable" }, - { 8, "securityDenial" }, - { 9, "qosControlNotSupported" }, - { 10, "incompleteAddress" }, - { 11, "aliasesInconsistent" }, - { 12, "routeCallToSCN" }, - { 13, "exceedsCallCapacity" }, - { 14, "collectDestination" }, - { 15, "collectPIN" }, - { 16, "genericDataReason" }, - { 17, "neededFeatureNotSupported" }, - { 18, "securityErrors" }, - { 19, "securityDHmismatch" }, - { 20, "noRouteToDestination" }, - { 21, "unallocatedNumber" }, - { 0, NULL} -}; - -static const value_string LocationRejectReason_vals[] = { - { 0, "notRegistered" }, - { 1, "invalidPermission" }, - { 2, "requestDenied" }, - { 3, "undefinedReason" }, - { 4, "securityDenial" }, - { 5, "aliasesInconsistent" }, - { 6, "routeCalltoSCN" }, - { 7, "resourceUnavailable" }, - { 8, "genericDataReason" }, - { 9, "neededFeatureNotSupported" }, - {10, "hopCountExceeded" }, - {11, "incompleteAddress" }, - {12, "securityError" }, - {13, "securityDHmismatch" }, - {14, "noRouteToDestination" }, - {15, "unallocatedNumber" }, - { 0, NULL} -}; - -static const value_string RegistrationRejectReason_vals[] = { - { 0, "discoveryRequired" }, - { 1, "invalidRevision" }, - { 2, "invalidCallSignalAddress" }, - { 3, "invalidRASAddress" }, - { 4, "duplicateAlias" }, - { 5, "invalidTerminalType" }, - { 6, "undefinedReason" }, - { 7, "transportNotSupported" }, - { 8, "transportQOSNotSupported" }, - { 9, "resourceUnavailable" }, - { 10, "invalidAlias" }, - { 11, "securityDenial" }, - { 12, "fullRegistrationRequired" }, - { 13, "additiveRegistrationNotSupported" }, - { 14, "invalidTerminalAliases" }, - { 15, "genericDataReason" }, - { 16, "neededFeatureNotSupported" }, - { 17, "securityError" }, - { 0, NULL} -}; - /* used to keep track of the statistics for an entire program interface */ typedef struct _h225counter_t { GtkWidget *win; |