Remove obsolete dissectors.

Change-Id: Icd480491670de9d8495a95861b18a8a5cb9724b4
Reviewed-on: https://code.wireshark.org/review/4006
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
AndersBroman 2014-09-05 15:40:18 +02:00 committed by Anders Broman
parent ceef7eba75
commit 07b003a98f
30 changed files with 0 additions and 12547 deletions

View File

@ -1122,7 +1122,6 @@ endif
DIST_SUBDIRS = \
asn1 \
capchild \
caputils \
codecs \

View File

@ -44,7 +44,6 @@ set(ASN1_SRC_DIRS
dsp
ess
ftam
gnm
goose
gprscdr
gsm_map

View File

@ -45,7 +45,6 @@ SUBDIRS = \
dsp \
ess \
ftam \
gnm \
goose \
gprscdr \
gsm_map \

View File

@ -1,975 +0,0 @@
-- Module ASN1DefinedTypesModule (M.3100:04/2005)
-- 8 ASN.1 modules
--<GDMO.Document "ITU-T Recommendation M.3100">
-- 8.1 ASN1DefinedTypesModule
ASN1DefinedTypesModule {itu-t recommendation m gnm(3100) informationModel(0)
asn1Modules(2) asn1DefinedTypesModule(0)} DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- EXPORTS everything
IMPORTS
-- Note: RDNSequence, formerly imported
-- from X.501 InformationFramework, is imported from X.711 CMIP.
RDNSequence, ObjectInstance, ObjectClass
FROM CMIP-1 {joint-iso-itu-t ms(9) cmip(1) modules(0) protocol(3)}
MappingList, SignalRate
FROM M3100ASN1TypeModule2 {itu-t recommendation m gnm(3100)
informationModel(0) asn1Modules(2) asn1Module2(1)}
ProbableCause, AdministrativeState, AvailabilityStatus, AttributeList,
AdditionalInformation
FROM Attribute-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2)
asn1Module(2) 1};
m3100InformationModel OBJECT IDENTIFIER ::=
{itu-t recommendation m gnm(3100) informationModel(0)}
m3100standardSpecificExtension OBJECT IDENTIFIER ::=
{m3100InformationModel standardSpecificExtension(0)}
m3100ObjectClass OBJECT IDENTIFIER ::=
{m3100InformationModel managedObjectClass(3)}
m3100Package OBJECT IDENTIFIER ::= {m3100InformationModel package(4)}
m3100Parameter OBJECT IDENTIFIER ::= {m3100InformationModel parameter(5)}
m3100Attribute OBJECT IDENTIFIER ::= {m3100InformationModel attribute(7)}
m3100NameBinding OBJECT IDENTIFIER ::= {m3100InformationModel nameBinding(6)}
m3100Action OBJECT IDENTIFIER ::= {m3100InformationModel action(9)}
m3100Notification OBJECT IDENTIFIER ::=
{m3100InformationModel notification(10)}
-- Reserved arcs below m3100InformationModel are (8) for attribute groups
characteristicInfo OBJECT IDENTIFIER ::=
{m3100standardSpecificExtension 0}
opticalSTM1SPICI CharacteristicInformation ::= {characteristicInfo 1}
-- opticalSPITTP* object instances with stmLevel attribute = 1
opticalSTM4SPICI CharacteristicInformation ::=
{characteristicInfo 2}
-- opticalSPITTP* object instances with stmLevel attribute = 4
opticalSTM16SPICI CharacteristicInformation ::=
{characteristicInfo 3}
-- opticalSPITTP* object instances with stmLevel attribute = 16
electricalSTM1SPICI CharacteristicInformation ::=
{characteristicInfo 4}
-- electricalSPITTP* object instances with stmLevel attribute = 1
rsSTM1SPICI CharacteristicInformation ::=
{characteristicInfo 5}
-- rsCTP* object instances with stmLevel attribute = 1
rsSTM4SPICI CharacteristicInformation ::=
{characteristicInfo 6}
-- rsCTP* object instances with stmLevel attribute = 4
rsSTM16SPICI CharacteristicInformation ::=
{characteristicInfo 7}
-- rsCTP* object instances with stmLevel attribute = 16
msSTM1SPICI CharacteristicInformation ::=
{characteristicInfo 8}
-- msCTP* object instances with stmLevel attribute = 1
msSTM4SPICI CharacteristicInformation ::=
{characteristicInfo 9}
-- msCTP* object instances with stmLevel attribute = 4
msSTM16SPICI CharacteristicInformation ::=
{characteristicInfo 10}
-- msCTP* object instances with stmLevel attribute = 16
au3TU3VC3CI CharacteristicInformation ::=
{characteristicInfo 11}
au4VC4CI CharacteristicInformation ::= {characteristicInfo 12}
tu11VC11CI CharacteristicInformation ::= {characteristicInfo 13}
tu12VC12CI CharacteristicInformation ::= {characteristicInfo 14}
tu2VC2CI CharacteristicInformation ::= {characteristicInfo 15}
tu12VC11CI CharacteristicInformation ::= {characteristicInfo 16}
vpCI CharacteristicInformation ::= {characteristicInfo 17}
vcCI CharacteristicInformation ::= {characteristicInfo 18}
e0CI CharacteristicInformation ::= {characteristicInfo 19}
e1CI CharacteristicInformation ::= {characteristicInfo 20}
e2CI CharacteristicInformation ::= {characteristicInfo 21}
e3CI CharacteristicInformation ::= {characteristicInfo 22}
e4CI CharacteristicInformation ::= {characteristicInfo 23}
e5-565M CharacteristicInformation ::= {characteristicInfo 24}
sts3c-and-VC4-1c CharacteristicInformation ::= {characteristicInfo 25}
sts12c-and-VC4-4c CharacteristicInformation ::= {characteristicInfo 26}
sts48c-and-VC4-16c CharacteristicInformation ::= {characteristicInfo 27}
sts192c-and-VC4-64c CharacteristicInformation ::= {characteristicInfo 28}
section-OC1-STS1-and-RS-STM0 CharacteristicInformation ::=
{characteristicInfo 29}
section-OC192-STS192-and-RS-STM64 CharacteristicInformation ::=
{characteristicInfo 30}
line-OC1-STS1-and-MS-STM0 CharacteristicInformation ::=
{characteristicInfo 31}
line-OC192-STS192-and-MS-STM64 CharacteristicInformation ::=
{characteristicInfo 32}
fc-12-133M CharacteristicInformation ::= {characteristicInfo 33}
-- Fiber Channel protocol
fc-25-266M CharacteristicInformation ::=
{characteristicInfo 34}
-- Fiber Channel protocol
fc-50-531M CharacteristicInformation ::=
{characteristicInfo 35}
-- Fiber Channel protocol
fc-100-1063M CharacteristicInformation ::=
{characteristicInfo 36}
-- Fiber Channel protocol
fddi CharacteristicInformation ::=
{characteristicInfo 37}
fast-Ethernet CharacteristicInformation ::= {characteristicInfo 38}
gigabit-Ethernet CharacteristicInformation ::= {characteristicInfo 39}
isdn-BRI CharacteristicInformation ::= {characteristicInfo 40}
-- ISDN Basic Rate Interface PTP layer rate
dsr-OC192-and-STM64 CharacteristicInformation ::=
{characteristicInfo 41}
dsr-OC768-and-STM256 CharacteristicInformation ::= {characteristicInfo 42}
section-OC24-STS24-and-RS-STM8 CharacteristicInformation ::=
{characteristicInfo 43}
line-OC24-STS24-and-MS-STM8 CharacteristicInformation ::=
{characteristicInfo 44}
section-OC768-STS768-and-RS-STM256 CharacteristicInformation ::=
{characteristicInfo 45}
line-OC768-STS768-and-MS-STM256 CharacteristicInformation ::=
{characteristicInfo 46}
tenGigabit-Ethernet CharacteristicInformation ::= {characteristicInfo 47}
-- The following value assignments are for the Probable Cause when Integer Choice is used within the
-- TMN application context. These values shall always be assigned by this Recommendation in the context
-- of TMN.
indeterminate ProbableCause ::=
localValue:0
-- The following are used with communications alarm.
aIS ProbableCause ::=
localValue:1
callSetUpFailure ProbableCause ::= localValue:2
degradedSignal ProbableCause ::= localValue:3
farEndReceiverFailure ProbableCause ::= localValue:4
framingError ProbableCause ::= localValue:5
lossOfFrame ProbableCause ::= localValue:6
lossOfPointer ProbableCause ::= localValue:7
lossOfSignal ProbableCause ::= localValue:8
payloadTypeMismatch ProbableCause ::= localValue:9
transmissionError ProbableCause ::= localValue:10
remoteAlarmInterface ProbableCause ::= localValue:11
excessiveBER ProbableCause ::= localValue:12
pathTraceMismatch ProbableCause ::= localValue:13
unavailable ProbableCause ::= localValue:14
signalLabelMismatch ProbableCause ::= localValue:15
lossOfMultiFrame ProbableCause ::= localValue:16
receiveFailure ProbableCause ::= localValue:17
transmitFailure ProbableCause ::= localValue:18
modulationFailure ProbableCause ::= localValue:19
demodulationFailure ProbableCause ::= localValue:20
broadcastChannelFailure ProbableCause ::= localValue:21
connectionEstablishmentError ProbableCause ::= localValue:22
invalidMessageReceived ProbableCause ::= localValue:23
localNodeTransmissionError ProbableCause ::= localValue:24
remoteNodeTransmissionError ProbableCause ::= localValue:25
routingFailure ProbableCause ::= localValue:26
-- Values 27-50 are reserved for communications alarm related probable causes
-- The following are used with equipment alarm.
backplaneFailure ProbableCause ::=
localValue:51
dataSetProblem ProbableCause ::= localValue:52
equipmentIdentifierDuplication ProbableCause ::= localValue:53
externalIFDeviceProblem ProbableCause ::= localValue:54
lineCardProblem ProbableCause ::= localValue:55
multiplexerProblem ProbableCause ::= localValue:56
nEIdentifierDuplication ProbableCause ::= localValue:57
powerProblem ProbableCause ::= localValue:58
processorProblem ProbableCause ::= localValue:59
protectionPathFailure ProbableCause ::= localValue:60
receiverFailure ProbableCause ::= localValue:61
replaceableUnitMissing ProbableCause ::= localValue:62
replaceableUnitTypeMismatch ProbableCause ::= localValue:63
synchronizationSourceMismatch ProbableCause ::= localValue:64
terminalProblem ProbableCause ::= localValue:65
timingProblem ProbableCause ::= localValue:66
transmitterFailure ProbableCause ::= localValue:67
trunkCardProblem ProbableCause ::= localValue:68
replaceableUnitProblem ProbableCause ::= localValue:69
realTimeClockFailure ProbableCause ::= localValue:70
-- An equipment alarm to be issued if the system detects that the real time clock has failed.
antennaFailure ProbableCause ::=
localValue:71
batteryChargingFailure ProbableCause ::= localValue:72
diskFailure ProbableCause ::= localValue:73
frequencyHoppingFailure ProbableCause ::= localValue:74
iODeviceError ProbableCause ::= localValue:75
lossOfSynchronisation ProbableCause ::= localValue:76
lossOfRedundancy ProbableCause ::= localValue:77
powerSupplyFailure ProbableCause ::= localValue:78
signalQualityEvaluationFailure ProbableCause ::= localValue:79
tranceiverFailure ProbableCause ::= localValue:80
protectionMechanismFailure ProbableCause ::= localValue:81
protectingResourceFailure ProbableCause ::= localValue:82
-- Values 83-100 are reserved for equipment alarm related probable causes
-- The following are used with environmental alarm.
airCompressorFailure ProbableCause ::=
localValue:101
airConditioningFailure ProbableCause ::= localValue:102
airDryerFailure ProbableCause ::= localValue:103
batteryDischarging ProbableCause ::= localValue:104
batteryFailure ProbableCause ::= localValue:105
commercialPowerFailure ProbableCause ::= localValue:106
coolingFanFailure ProbableCause ::= localValue:107
engineFailure ProbableCause ::= localValue:108
fireDetectorFailure ProbableCause ::= localValue:109
fuseFailure ProbableCause ::= localValue:110
generatorFailure ProbableCause ::= localValue:111
lowBatteryThreshold ProbableCause ::= localValue:112
pumpFailure ProbableCause ::= localValue:113
rectifierFailure ProbableCause ::= localValue:114
rectifierHighVoltage ProbableCause ::= localValue:115
rectifierLowFVoltage ProbableCause ::= localValue:116
ventilationsSystemFailure ProbableCause ::= localValue:117
enclosureDoorOpen ProbableCause ::= localValue:118
explosiveGas ProbableCause ::= localValue:119
fire ProbableCause ::= localValue:120
flood ProbableCause ::= localValue:121
highHumidity ProbableCause ::= localValue:122
highTemperature ProbableCause ::= localValue:123
highWind ProbableCause ::= localValue:124
iceBuildUp ProbableCause ::= localValue:125
intrusionDetection ProbableCause ::= localValue:126
lowFuel ProbableCause ::= localValue:127
lowHumidity ProbableCause ::= localValue:128
lowCablePressure ProbableCause ::= localValue:129
lowTemperature ProbableCause ::= localValue:130
lowWater ProbableCause ::= localValue:131
smoke ProbableCause ::= localValue:132
toxicGas ProbableCause ::= localValue:133
coolingSystemFailure ProbableCause ::= localValue:134
externalEquipmentFailure ProbableCause ::= localValue:135
externalPointFailure ProbableCause ::= localValue:136
-- Values 137-150 are reserved for environmental alarm related probable causes
-- The following are used with Processing error alarm.
storageCapacityProblem ProbableCause ::=
localValue:151
memoryMismatch ProbableCause ::= localValue:152
corruptData ProbableCause ::= localValue:153
outOfCPUCycles ProbableCause ::= localValue:154
sfwrEnvironmentProblem ProbableCause ::= localValue:155
sfwrDownloadFailure ProbableCause ::= localValue:156
lossOfRealTime ProbableCause ::= localValue:157
-- A processing error alarm to be issued if the system detects that it has lost the time in
-- the real time clock but the clock itself is working. This could happen e.g. during a power
-- cut in a small NE which does not have battery backup for the real time clock.
reinitialized ProbableCause ::=
localValue:158
-- A processing error alarm to be issued after the system has reinitialised. This will indicate
-- to the management systems that the view they have of the managed system may no longer
-- be valid. Usage example: The managed
-- system issues this alarm after a reinitialization with severity warning to inform the
-- management system about the event. No clearing notification will be sent.
applicationSubsystemFailure ProbableCause ::=
localValue:159
configurationOrCustomisationError ProbableCause ::= localValue:160
databaseInconsistency ProbableCause ::= localValue:161
fileError ProbableCause ::= localValue:162
outOfMemory ProbableCause ::= localValue:163
softwareError ProbableCause ::= localValue:164
timeoutExpired ProbableCause ::= localValue:165
underlayingResourceUnavailable ProbableCause ::= localValue:166
versionMismatch ProbableCause ::= localValue:167
-- Values 168-200 are reserved for processing error alarm related probable causes.
bandwidthReduced ProbableCause ::=
localValue:201
congestion ProbableCause ::= localValue:202
excessiveErrorRate ProbableCause ::= localValue:203
excessiveResponseTime ProbableCause ::= localValue:204
excessiveRetransmissionRate ProbableCause ::= localValue:205
reducedLoggingCapability ProbableCause ::= localValue:206
systemResourcesOverload ProbableCause ::= localValue:207
AcceptableCircuitPackTypeList ::= SET OF PrintableString
AddedTps ::= SEQUENCE {
gtp ObjectInstance,
tpsAdded SEQUENCE OF ObjectInstance
}
AddLeg ::= SEQUENCE {
mpCrossConnection ObjectInstance,
legs SET OF ToTermSpecifier
}
AddTpsToGtpInformation ::=
SEQUENCE OF
SEQUENCE {tpsAdded SEQUENCE OF TerminationPointInformation,
gtp ObjectInstance OPTIONAL}
AddTpsToGtpResult ::=
SEQUENCE OF CHOICE {failed [0] Failed,
addedTps [1] AddedTps}
-- the n-th element in the "SEQUENCE OF" is related to the n-th element in the "SEQUENCE OF" of the
-- "AddTpsToGtpInformation" type.
AddTpsToTpPoolInformation ::=
SEQUENCE OF
SEQUENCE {tps SET OF TerminationPointInformation,
toTpPool ObjectInstance OPTIONAL}
AddTpsToTpPoolResult ::=
SEQUENCE OF
CHOICE {failed [0] Failed,
tpsAddedToTpPool [1] TpsAddedToTpPool}
-- the n-th element in the "SEQUENCE OF" is related to the n-th element in the "SEQUENCE OF" of the
-- "AddTPsToTpPoolInformation" type.
AlarmEffectOnServiceParameter ::= BOOLEAN -- TRUE implies service is affected
AlarmSeverityAssignment ::= SEQUENCE {
problem ProbableCause,
severityAssignedServiceAffecting [0] AlarmSeverityCode OPTIONAL,
severityAssignedNonServiceAffecting [1] AlarmSeverityCode OPTIONAL,
severityAssignedServiceIndependent [2] AlarmSeverityCode OPTIONAL
}
AlarmSeverityAssignmentList ::= SET OF AlarmSeverityAssignment
AlarmSeverityCode ::= ENUMERATED {
non-alarmed(0), minor(1), major(2), critical(3), warning(4)}
AlarmStatus ::= ENUMERATED {
cleared(0), activeReportable-Indeterminate(1), activeReportable-Warning(2),
activeReportable-Minor(3), activeReportable-Major(4),
activeReportable-Critical(5), activePending(6)}
Boolean ::= BOOLEAN
Bundle ::= SEQUENCE {
characteristicInfoType CharacteristicInformation,
bundlingFactor INTEGER
}
ChannelNumber ::= INTEGER
CharacteristicInformation ::= OBJECT IDENTIFIER
CircuitDirectionality ::= ENUMERATED {onewayOut(0), onewayIn(1), twoway(2)}
CircuitPackAvailabilityStatus ::=
AvailabilityStatus(WITH COMPONENT (notInstalled))
CircuitPackType ::= PrintableString
Connected ::= CHOICE {
pointToPoint [0] PointToPoint,
pointToMultipoint [1] PointToMultipoint
}
ConnectInformation ::=
SEQUENCE OF
SEQUENCE {itemType
CHOICE {unidirectional [0] ConnectionType,
bidirectional [1] ConnectionTypeBi,
addleg [2] AddLeg},
administrativeState AdministrativeState OPTIONAL,
namedCrossConnection [3] NamedCrossConnection OPTIONAL,
...,
userLabel [4] UserLabel OPTIONAL,
redline [5] Boolean OPTIONAL,
...,
additionalInfo [6] AdditionalInformation OPTIONAL
}
ConnectorType ::= INTEGER
-- currently defined values for ConnectorType are
fcConnectorType ConnectorType ::=
1 -- Fibre Connector
lcConnectorType ConnectorType ::= 2 -- Lucent connector
scConnectorType ConnectorType ::= 3 -- Subscriber Connector
ConnectivityPointer ::= CHOICE {
none NULL,
single ObjectInstance,
concatenated SEQUENCE OF ObjectInstance
}
ConnectResult ::= SEQUENCE OF CHOICE {failed Failed,
connected Connected}
-- the n-th element in the "SEQUENCE OF" is related to the n-th element in the "SEQUENCE OF" of the
-- "ConnectInformation" type.
ConnectionType ::= CHOICE {
explicitPToP [0] ExplicitPtoP,
ptoTpPool [1] PtoTPPool,
explicitPtoMP [2] ExplicitPtoMP,
ptoMPools [3] PtoMPools
}
ConnectionTypeBi ::= CHOICE {
explicitPToP [0] ExplicitPtoP,
ptoTpPool [1] PtoTPPool
}
Count ::= INTEGER
CreateError ::= INTEGER
CrossConnectionName ::= GraphicString
CrossConnectionObjectPointer ::= CHOICE {
notConnected [0] ObjectInstance, -- Fabric object
connected [1] ObjectInstance, -- Cross-connection object
multipleConnections MultipleConnections
}
CTPUpstreamPointer ::=
ConnectivityPointer
(WITH COMPONENTS {
...,
-- the other two choices are present
concatenated ABSENT
})
CTPDownstreamPointer ::=
DownstreamConnectivityPointer
(WITH COMPONENTS {
...,
concatenated ABSENT,
broadcastConcatenated ABSENT
-- other choices are present
})
CurrentProblem ::= SEQUENCE {
problem [0] ProbableCause,
alarmStatus [1] AlarmStatus
}
CurrentProblemList ::= SET OF CurrentProblem
Directionality ::= ENUMERATED {unidirectional(0), bidirectional(1)}
DisconnectInformation ::= SEQUENCE OF ObjectInstance -- tps
DisconnectResult ::=
SEQUENCE OF CHOICE {failed Failed,
disconnected ObjectInstance} -- tp
-- the n-th element in the "SEQUENCE OF" is related to the n-th element in the "SEQUENCE OF" of the
-- "DisconnectInformation" type.
DownstreamConnectivityPointer ::= CHOICE {
none NULL,
single ObjectInstance,
concatenated SEQUENCE OF ObjectInstance,
broadcast SET OF ObjectInstance,
broadcastConcatenated [1] SET OF SEQUENCE OF ObjectInstance
}
ExplicitPtoMP ::= SEQUENCE {fromTp ExplicitTP,
toTPs SET OF ExplicitTP
}
ExplicitPtoP ::= SEQUENCE {fromTp ExplicitTP,
toTp ExplicitTP
}
ExplicitTP ::= CHOICE {
oneTPorGTP ObjectInstance,
listofTPs SEQUENCE OF ObjectInstance
}
ExternalTime ::= GeneralizedTime
EquipmentHolderAddress ::= SEQUENCE OF PrintableString
EquipmentHolderType ::= GraphicString
Failed ::= CHOICE {
logicalProblem LogicalProblem,
resourceProblem ResourceProblem
}
GeneralError ::=
SEQUENCE OF
SEQUENCE {cause GeneralErrorCause,
details GraphicString OPTIONAL,
relatedObjects [0] SET OF ObjectInstance OPTIONAL,
attributeList [1] AttributeList OPTIONAL}
GeneralErrorCause ::= CHOICE {
globalValue OBJECT IDENTIFIER,
localValue INTEGER
}
objectInIncompatibleState GeneralErrorCause ::= localValue:1
noValidRelatedObject GeneralErrorCause ::= localValue:2
involvedInOffering GeneralErrorCause ::= localValue:3
serviceNotSupported GeneralErrorCause ::= localValue:4
provisioningOrderConflict GeneralErrorCause ::= localValue:5
equipmentFailure GeneralErrorCause ::= localValue:6
maxNumberExceeded GeneralErrorCause ::= localValue:7
containedObjects GeneralErrorCause ::= localValue:8
-- ObjectInIncompatibleState is used to specify that the object is in a state
-- that does not allow the operation. Details of the state should be
-- provided.
-- NoValidRelatedObject is used to specify related objects that do not
-- exist in the MIB.
-- InvolvedInOffering is used to identify object(s) that are already
-- involved in a conflicting service offering.
-- ServiceNotSupported is used to indicate that the operation is
-- attempting to initiate a service that is not supported by the
-- equipment.
-- ProvisioningOrderConflict is used to identify that a service is
-- being provisioned in an order that is not supported by the equipment.
-- EquipmentFailure is used to indicate that an equipment failure as
-- occured during the operation.
-- MaxNumberExceeded is used to indicate that requested create operation
-- cannot be completed as the maximum number of instances are reached.
-- ContainedObjects is used to indicate that requested delete operation
-- cannot be completed as there are contained instances.
HolderStatus ::= CHOICE {
holderEmpty [0] NULL,
inTheAcceptableList [1] CircuitPackType,
notInTheAcceptableList [2] CircuitPackType,
unknownType [3] NULL
}
IndividualSwitchOver ::= SEQUENCE {
connection ObjectInstance,
-- crossConnection of connectionProtection (defined in Recommendation G.774.04)
unchangedTP ObjectInstance,
newTP ObjectInstance
-- designates the newTP to which the unchanged TP has to be connected with
}
IndividualResult ::= CHOICE {failed [0] Failed,
pass [1] Connected
}
InformationTransferCapabilities ::= ENUMERATED {
speech(0), audio3pt1(1), audio7(2), audioComb(3), digitalRestricted56(4),
digitalUnrestricted64(5)
-- "..." these ellipses defined in ASN.1 amendment are used here to indicate that this is
-- an extensible type and additional enumerations may be added in future --}
ListOfCharacteristicInformation ::= SET OF CharacteristicInformation
ListOfTPs ::= SET OF ObjectInstance
LocationName ::= GraphicString
LogicalProblem ::= SEQUENCE {
problemCause ProblemCause,
incorrectInstances SET OF ObjectInstance OPTIONAL
}
MultipleConnections ::=
SET OF
CHOICE {downstreamNotConnected [0] ObjectInstance,
downstreamConnected [1] ObjectInstance,
upstreamNotConnected [2] ObjectInstance,
upstreamConnected [3] ObjectInstance}
NamedCrossConnection ::= SEQUENCE {
redline BOOLEAN,
name CrossConnectionName
}
NameType ::= CHOICE {numericName INTEGER,
pString GraphicString
}
NumberOfCircuits ::= INTEGER
ObjectList ::= SET OF ObjectInstance
PhysicalPortSignalRateAndMappingList ::= CHOICE {
diverse
SEQUENCE {downstream SignalRateAndMappingList,
upStream SignalRateAndMappingList},
uniform SignalRateAndMappingList
}
Pointer ::= ObjectInstance
PointerOrNull ::= CHOICE {pointer ObjectInstance,
null NULL
}
PointToPoint ::= SEQUENCE {
fromTp ObjectInstance,
toTp ObjectInstance,
xCon ObjectInstance
}
PointToMultipoint ::= SEQUENCE {
fromTp ObjectInstance,
toTps
SET OF SEQUENCE {tp ObjectInstance,
xConnection ObjectInstance},
mpXCon ObjectInstance
}
PortNumber ::= INTEGER
ProblemCause ::= CHOICE {unknown NULL,
integerValue INTEGER
}
-- The values of integer value for ProblemCause and integerValue for ResourceProblem shall always be
-- assigned by this Recommendation. No values of integerValue for ResourceProblem have been assigned.
-- The following values are used for integerValue of ProblemCause.
noSuchTpInstance ProblemCause ::=
integerValue:0
noSuchGtpInstance ProblemCause ::= integerValue:1
noSuchTpPoolInstance ProblemCause ::= integerValue:2
mismatchingTpInstance ProblemCause ::= integerValue:3
mismatchingGtpInstance ProblemCause ::= integerValue:4
partOfGtp ProblemCause ::= integerValue:5
involvedInCrossConnection ProblemCause ::= integerValue:6
memberOfTpPool ProblemCause ::= integerValue:7
alreadyMemberOfGtp ProblemCause ::= integerValue:8
noTpInTpPool ProblemCause ::= integerValue:9
noMoreThanOneTpIsAllowed ProblemCause ::= integerValue:10
noMoreThanTwoTpsAreAllowed ProblemCause ::= integerValue:11
alreadyConnected ProblemCause ::= integerValue:12
-- alreadyConnected is used to indicate the two termination points requested to be cross-connected are already
-- cross-connected versus involvedInCrossConnection is used to indicate one or more termination points are
-- cross-connected but not to each other.
notAlreadyConnected ProblemCause ::=
integerValue:13
notMulticastWithOnlyOneSubordinateLeg ProblemCause ::= integerValue:14
endpointsNotTheSame ProblemCause ::= integerValue:15
notUnidirectional ProblemCause ::= integerValue:16
notBidirectional ProblemCause ::= integerValue:17
-- notMulticastWithOnlyOneSubordinateLeg is used with the convertMulticastToPtoP action
-- endpointsNotTheSame is used in the joinXC action
-- notUnidirectional is used in the convertPtoPtoMulticast action
-- notBidirectional is used in the splitXC action
PtoMPools ::= SEQUENCE {fromTp ExplicitTP,
toTPPools ToTPPools
}
PtoTPPool ::= SEQUENCE {fromTp ExplicitTP,
toTpPool ObjectInstance
}
Reach ::= INTEGER
RelatedObjectInstance ::= CHOICE {
notAvailable NULL,
relatedObject ObjectInstance
}
RemoveTpsFromGtpInformation ::=
SEQUENCE OF SEQUENCE {fromGtp ObjectInstance,
tps SET OF ObjectInstance}
RemoveTpsFromGtpResult ::=
SEQUENCE OF
CHOICE {failed [0] Failed,
removed [1] RemoveTpsResultInformation}
-- the n-th element in the "SEQUENCE OF" is related to the n-th element in the "SEQUENCE OF" of the
-- "RemoveTPsFromGtpInformation" type.
RemoveTpsFromTpPoolInformation ::=
SEQUENCE OF
SEQUENCE {fromTpPool ObjectInstance,
tps SET OF ObjectInstance}
RemoveTpsFromTpPoolResult ::=
SEQUENCE OF
CHOICE {failed [0] Failed,
removed [1] RemoveTpsResultInformation}
-- the n-th element in the "SEQUENCE OF" is related to the n-th element in the "SEQUENCE OF" of the
-- "RemoveTPsFromTpPoolInformation" type.
RemoveTpsResultInformation ::= SEQUENCE {
deletedTpPoolOrGTP ObjectInstance OPTIONAL,
tps SET OF ObjectInstance
}
-- If the TP Pool or GTP is deleted, the deleted TP Pool or GTP should be provided in the
-- RemoveTpsResultInformation
Replaceable ::= ENUMERATED {yes(0), no(1), notapplicable(2)}
ResourceProblem ::= CHOICE {unknown NULL,
integerValue INTEGER
}
SequenceOfObjectInstance ::= SEQUENCE OF ObjectInstance
SerialNumber ::= GraphicString
SignallingCapabilities ::= ENUMERATED {
isup(0), isup92(1), itu-tNo5(2), r2(3), itu-tNo6(4), tup(5)
-- "..." these ellipses defined in ASN.1 amendment are used here to indicate that this is
-- an extensible type and additional enumerations may be added in future --}
SignalRateAndMappingList ::=
SET OF
SEQUENCE {-- only one member in the case of TDM
signalRate SignalRate,
mappingList MappingList OPTIONAL,
wavelength WaveLength OPTIONAL} -- used for WDM
-- the SignalRateAndMappingList is a SET OF to accommodate
-- multiple wavelengths on a single TTP
SignalType ::= CHOICE {
simple CharacteristicInformation,
bundle Bundle,
complex [0] SEQUENCE OF Bundle
}
SubordinateCircuitPackSoftwareLoad ::= CHOICE {
notApplicable NULL,
softwareInstances [0] SEQUENCE OF ObjectInstance,
softwareIdentifiers [1] SEQUENCE OF PrintableString
}
SupportableClientList ::= SET OF ObjectClass
SystemTiming ::= SEQUENCE {
sourceType
ENUMERATED {internalTimingSource(0), remoteTimingSource(1),
slavedTimingTerminationSignal(2)},
sourceID ObjectInstance OPTIONAL
} -- not needed for internal source
SystemTimingSource ::= SEQUENCE {
primaryTimingSource SystemTiming,
secondaryTimingSource SystemTiming OPTIONAL
}
SwitchOverInformation ::= SEQUENCE OF IndividualSwitchOver
SwitchOverResult ::= SEQUENCE OF IndividualResult
TerminationPointInformation ::= CHOICE {
tPOrGTP [0] ObjectInstance,
sourceTP [1] ObjectInstance,
sinkTP [2] ObjectInstance
}
ToTermSpecifier ::= CHOICE {
toTpOrGTP [0] ExplicitTP,
toPool [1] ObjectInstance
}
ToTPPools ::=
SET OF SEQUENCE {tpPoolId ObjectInstance,
numberOfTPs INTEGER}
TpsAddedToTpPool ::= SEQUENCE {
tpPool ObjectInstance,
tps SET OF ObjectInstance
}
TpsInGtpList ::= SEQUENCE OF ObjectInstance
TransmissionCharacteristics ::= BIT STRING {
satellite(0), dCME(1), echoControl(2)}
TypeText ::= GraphicString
UserLabel ::= GraphicString
VendorName ::= GraphicString
Version ::= GraphicString
WaveLength ::= INTEGER
END -- end of ASN1 DefinedTypesModule
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D

View File

@ -1,52 +0,0 @@
# CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
set( PROTOCOL_NAME gnm )
set( PROTO_OPT )
set( EXT_ASN_FILE_LIST
)
set( ASN_FILE_LIST
GNM.asn
)
set( EXTRA_DIST
${ASN_FILE_LIST}
packet-${PROTOCOL_NAME}-template.c
packet-${PROTOCOL_NAME}-template.h
${PROTOCOL_NAME}.cnf
)
set( SRC_FILES
${EXTRA_DIST}
${EXT_ASN_FILE_LIST}
)
set( A2W_FLAGS -b )
set( EXTRA_CNF
cmip-exp.cnf
)
ASN2WRS()

View File

@ -1,684 +0,0 @@
-- Module ASN1DefinedTypesModule (M.3100:04/2005)
-- 8 ASN.1 modules
--<GDMO.Document "ITU-T Recommendation M.3100">
-- 8.1 ASN1DefinedTypesModule
ASN1DefinedTypesModule {itu-t recommendation m gnm(3100) informationModel(0)
asn1Modules(2) asn1DefinedTypesModule(0)} DEFINITIONS IMPLICIT TAGS ::=
BEGIN
-- EXPORTS everything
IMPORTS
-- Note: RDNSequence, formerly imported
-- from X.501 InformationFramework, is imported from X.711 CMIP.
RDNSequence, ObjectInstance, ObjectClass, Attribute
FROM CMIP-1 {joint-iso-itu-t ms(9) cmip(1) modules(0) protocol(3)}
-- MappingList, SignalRate
-- FROM M3100ASN1TypeModule2 {itu-t recommendation m gnm(3100)
-- informationModel(0) asn1Modules(2) asn1Module2(1)}
ProbableCause, AdministrativeState, AvailabilityStatus, AttributeList,
AdditionalInformation
FROM Attribute-ASN1Module {joint-iso-itu-t ms(9) smi(3) part2(2)
asn1Module(2) 1};
-- Local imports
-- MappingList, SignalRate
-- FROM M3100ASN1TypeModule2 {itu-t recommendation m gnm(3100)
-- informationModel(0) asn1Modules(2) asn1Module2(1)}
MappingList ::= SEQUENCE OF PayloadLevel
PayloadLevel ::= CharacteristicInformation
SignalRate ::= CHOICE {
objectClass [0] OBJECT IDENTIFIER,
characteristicInformation [1] CharacteristicInformation
}
-- X.745
SupportedTOClasses ::= SET OF OBJECT IDENTIFIER
-- END Local imports
m3100InformationModel OBJECT IDENTIFIER ::=
{itu-t recommendation m gnm(3100) informationModel(0)}
m3100standardSpecificExtension OBJECT IDENTIFIER ::=
{m3100InformationModel standardSpecificExtension(0)}
m3100ObjectClass OBJECT IDENTIFIER ::=
{m3100InformationModel managedObjectClass(3)}
m3100Package OBJECT IDENTIFIER ::= {m3100InformationModel package(4)}
m3100Parameter OBJECT IDENTIFIER ::= {m3100InformationModel parameter(5)}
m3100Attribute OBJECT IDENTIFIER ::= {m3100InformationModel attribute(7)}
m3100NameBinding OBJECT IDENTIFIER ::= {m3100InformationModel nameBinding(6)}
m3100Action OBJECT IDENTIFIER ::= {m3100InformationModel action(9)}
m3100Notification OBJECT IDENTIFIER ::=
{m3100InformationModel notification(10)}
-- Reserved arcs below m3100InformationModel are (8) for attribute groups
characteristicInfo OBJECT IDENTIFIER ::=
{m3100standardSpecificExtension 0}
opticalSTM1SPICI CharacteristicInformation ::= {characteristicInfo 1}
-- opticalSPITTP* object instances with stmLevel attribute = 1
opticalSTM4SPICI CharacteristicInformation ::=
{characteristicInfo 2}
-- opticalSPITTP* object instances with stmLevel attribute = 4
opticalSTM16SPICI CharacteristicInformation ::=
{characteristicInfo 3}
-- opticalSPITTP* object instances with stmLevel attribute = 16
electricalSTM1SPICI CharacteristicInformation ::=
{characteristicInfo 4}
-- electricalSPITTP* object instances with stmLevel attribute = 1
rsSTM1SPICI CharacteristicInformation ::=
{characteristicInfo 5}
-- rsCTP* object instances with stmLevel attribute = 1
rsSTM4SPICI CharacteristicInformation ::=
{characteristicInfo 6}
-- rsCTP* object instances with stmLevel attribute = 4
rsSTM16SPICI CharacteristicInformation ::=
{characteristicInfo 7}
-- rsCTP* object instances with stmLevel attribute = 16
msSTM1SPICI CharacteristicInformation ::=
{characteristicInfo 8}
-- msCTP* object instances with stmLevel attribute = 1
msSTM4SPICI CharacteristicInformation ::=
{characteristicInfo 9}
-- msCTP* object instances with stmLevel attribute = 4
msSTM16SPICI CharacteristicInformation ::=
{characteristicInfo 10}
-- msCTP* object instances with stmLevel attribute = 16
au3TU3VC3CI CharacteristicInformation ::=
{characteristicInfo 11}
au4VC4CI CharacteristicInformation ::= {characteristicInfo 12}
tu11VC11CI CharacteristicInformation ::= {characteristicInfo 13}
tu12VC12CI CharacteristicInformation ::= {characteristicInfo 14}
tu2VC2CI CharacteristicInformation ::= {characteristicInfo 15}
tu12VC11CI CharacteristicInformation ::= {characteristicInfo 16}
vpCI CharacteristicInformation ::= {characteristicInfo 17}
vcCI CharacteristicInformation ::= {characteristicInfo 18}
e0CI CharacteristicInformation ::= {characteristicInfo 19}
e1CI CharacteristicInformation ::= {characteristicInfo 20}
e2CI CharacteristicInformation ::= {characteristicInfo 21}
e3CI CharacteristicInformation ::= {characteristicInfo 22}
e4CI CharacteristicInformation ::= {characteristicInfo 23}
e5-565M CharacteristicInformation ::= {characteristicInfo 24}
sts3c-and-VC4-1c CharacteristicInformation ::= {characteristicInfo 25}
sts12c-and-VC4-4c CharacteristicInformation ::= {characteristicInfo 26}
sts48c-and-VC4-16c CharacteristicInformation ::= {characteristicInfo 27}
sts192c-and-VC4-64c CharacteristicInformation ::= {characteristicInfo 28}
section-OC1-STS1-and-RS-STM0 CharacteristicInformation ::=
{characteristicInfo 29}
section-OC192-STS192-and-RS-STM64 CharacteristicInformation ::=
{characteristicInfo 30}
line-OC1-STS1-and-MS-STM0 CharacteristicInformation ::=
{characteristicInfo 31}
line-OC192-STS192-and-MS-STM64 CharacteristicInformation ::=
{characteristicInfo 32}
fc-12-133M CharacteristicInformation ::= {characteristicInfo 33}
-- Fiber Channel protocol
fc-25-266M CharacteristicInformation ::=
{characteristicInfo 34}
-- Fiber Channel protocol
fc-50-531M CharacteristicInformation ::=
{characteristicInfo 35}
-- Fiber Channel protocol
fc-100-1063M CharacteristicInformation ::=
{characteristicInfo 36}
-- Fiber Channel protocol
fddi CharacteristicInformation ::=
{characteristicInfo 37}
fast-Ethernet CharacteristicInformation ::= {characteristicInfo 38}
gigabit-Ethernet CharacteristicInformation ::= {characteristicInfo 39}
isdn-BRI CharacteristicInformation ::= {characteristicInfo 40}
-- ISDN Basic Rate Interface PTP layer rate
dsr-OC192-and-STM64 CharacteristicInformation ::=
{characteristicInfo 41}
dsr-OC768-and-STM256 CharacteristicInformation ::= {characteristicInfo 42}
section-OC24-STS24-and-RS-STM8 CharacteristicInformation ::=
{characteristicInfo 43}
line-OC24-STS24-and-MS-STM8 CharacteristicInformation ::=
{characteristicInfo 44}
section-OC768-STS768-and-RS-STM256 CharacteristicInformation ::=
{characteristicInfo 45}
line-OC768-STS768-and-MS-STM256 CharacteristicInformation ::=
{characteristicInfo 46}
tenGigabit-Ethernet CharacteristicInformation ::= {characteristicInfo 47}
-- The following value assignments are for the Probable Cause when Integer Choice is used within the
-- TMN application context. These values shall always be assigned by this Recommendation in the context
-- of TMN.
AcceptableCircuitPackTypeList ::= SET OF PrintableString
AddedTps ::= SEQUENCE {
gtp ObjectInstance,
tpsAdded SEQUENCE OF ObjectInstance
}
AddLeg ::= SEQUENCE {
mpCrossConnection ObjectInstance,
legs SET OF ToTermSpecifier
}
AddTpsToGtpInformation ::=
SEQUENCE OF
SEQUENCE {tpsAdded SEQUENCE OF TerminationPointInformation,
gtp ObjectInstance OPTIONAL}
AddTpsToGtpResult ::=
SEQUENCE OF CHOICE {failed [0] Failed,
addedTps [1] AddedTps}
-- the n-th element in the "SEQUENCE OF" is related to the n-th element in the "SEQUENCE OF" of the
-- "AddTpsToGtpInformation" type.
AddTpsToTpPoolInformation ::=
SEQUENCE OF
SEQUENCE {tps SET OF TerminationPointInformation,
toTpPool ObjectInstance OPTIONAL}
AddTpsToTpPoolResult ::=
SEQUENCE OF
CHOICE {failed [0] Failed,
tpsAddedToTpPool [1] TpsAddedToTpPool}
-- the n-th element in the "SEQUENCE OF" is related to the n-th element in the "SEQUENCE OF" of the
-- "AddTPsToTpPoolInformation" type.
AlarmEffectOnServiceParameter ::= BOOLEAN -- TRUE implies service is affected
AlarmSeverityAssignment ::= SEQUENCE {
problem ProbableCause,
severityAssignedServiceAffecting [0] AlarmSeverityCode OPTIONAL,
severityAssignedNonServiceAffecting [1] AlarmSeverityCode OPTIONAL,
severityAssignedServiceIndependent [2] AlarmSeverityCode OPTIONAL
}
AlarmSeverityAssignmentList ::= SET OF AlarmSeverityAssignment
AlarmSeverityCode ::= ENUMERATED {
non-alarmed(0), minor(1), major(2), critical(3), warning(4)}
AlarmStatus ::= ENUMERATED {
cleared(0), activeReportable-Indeterminate(1), activeReportable-Warning(2),
activeReportable-Minor(3), activeReportable-Major(4),
activeReportable-Critical(5), activePending(6)}
Boolean ::= BOOLEAN
Bundle ::= SEQUENCE {
characteristicInfoType CharacteristicInformation,
bundlingFactor INTEGER
}
ChannelNumber ::= INTEGER
CharacteristicInformation ::= OBJECT IDENTIFIER
CircuitDirectionality ::= ENUMERATED {onewayOut(0), onewayIn(1), twoway(2)}
CircuitPackAvailabilityStatus ::=
AvailabilityStatus(WITH COMPONENT (notInstalled))
CircuitPackType ::= PrintableString
Connected ::= CHOICE {
pointToPoint [0] PointToPoint,
pointToMultipoint [1] PointToMultipoint
}
ConnectInformation ::=
SEQUENCE OF
SEQUENCE {itemType
CHOICE {unidirectional [0] ConnectionType,
bidirectional [1] ConnectionTypeBi,
addleg [2] AddLeg},
administrativeState AdministrativeState OPTIONAL,
namedCrossConnection [3] NamedCrossConnection OPTIONAL,
...,
userLabel [4] UserLabel OPTIONAL,
redline [5] Boolean OPTIONAL,
additionalInfo [6] AdditionalInformation OPTIONAL
}
ConnectorType ::= INTEGER
-- currently defined values for ConnectorType are
fcConnectorType ConnectorType ::=
1 -- Fibre Connector
lcConnectorType ConnectorType ::= 2 -- Lucent connector
scConnectorType ConnectorType ::= 3 -- Subscriber Connector
ConnectivityPointer ::= CHOICE {
none NULL,
single ObjectInstance,
concatenated SEQUENCE OF ObjectInstance
}
ConnectResult ::= SEQUENCE OF CHOICE {failed Failed,
connected Connected}
-- the n-th element in the "SEQUENCE OF" is related to the n-th element in the "SEQUENCE OF" of the
-- "ConnectInformation" type.
ConnectionType ::= CHOICE {
explicitPToP [0] ExplicitPtoP,
ptoTpPool [1] PtoTPPool,
explicitPtoMP [2] ExplicitPtoMP,
ptoMPools [3] PtoMPools
}
ConnectionTypeBi ::= CHOICE {
explicitPToP [0] ExplicitPtoP,
ptoTpPool [1] PtoTPPool
}
Count ::= INTEGER
CreateError ::= INTEGER
CrossConnectionName ::= GraphicString
CrossConnectionObjectPointer ::= CHOICE {
notConnected [0] ObjectInstance, -- Fabric object
connected [1] ObjectInstance, -- Cross-connection object
multipleConnections MultipleConnections
}
CTPUpstreamPointer ::=
ConnectivityPointer
(WITH COMPONENTS {
...,
-- the other two choices are present
concatenated ABSENT
})
CTPDownstreamPointer ::=
DownstreamConnectivityPointer
(WITH COMPONENTS {
...,
concatenated ABSENT,
broadcastConcatenated ABSENT
-- other choices are present
})
CurrentProblem ::= SEQUENCE {
problem [0] ProbableCause,
alarmStatus [1] AlarmStatus
}
CurrentProblemList ::= SET OF CurrentProblem
Directionality ::= ENUMERATED {unidirectional(0), bidirectional(1)}
DisconnectInformation ::= SEQUENCE OF ObjectInstance -- tps
DisconnectResult ::=
SEQUENCE OF CHOICE {failed Failed,
disconnected ObjectInstance} -- tp
-- the n-th element in the "SEQUENCE OF" is related to the n-th element in the "SEQUENCE OF" of the
-- "DisconnectInformation" type.
DownstreamConnectivityPointer ::= CHOICE {
none NULL,
single ObjectInstance,
concatenated SEQUENCE OF ObjectInstance,
broadcast SET OF ObjectInstance,
broadcastConcatenated [1] SET OF SEQUENCE OF ObjectInstance
}
ExplicitPtoMP ::= SEQUENCE {fromTp ExplicitTP,
toTPs SET OF ExplicitTP
}
ExplicitPtoP ::= SEQUENCE {fromTp ExplicitTP,
toTp ExplicitTP
}
ExplicitTP ::= CHOICE {
oneTPorGTP ObjectInstance,
listofTPs SEQUENCE OF ObjectInstance
}
ExternalTime ::= GeneralizedTime
EquipmentHolderAddress ::= SEQUENCE OF PrintableString
EquipmentHolderType ::= GraphicString
Failed ::= CHOICE {
logicalProblem LogicalProblem,
resourceProblem ResourceProblem
}
GeneralError ::=
SEQUENCE OF
SEQUENCE {cause GeneralErrorCause,
details GraphicString OPTIONAL,
relatedObjects [0] SET OF ObjectInstance OPTIONAL,
attributeList [1] AttributeList OPTIONAL}
GeneralErrorCause ::= CHOICE {
globalValue OBJECT IDENTIFIER,
localValue INTEGER
}
-- objectInIncompatibleState GeneralErrorCause ::= localValue:1
-- noValidRelatedObject GeneralErrorCause ::= localValue:2
-- involvedInOffering GeneralErrorCause ::= localValue:3
-- serviceNotSupported GeneralErrorCause ::= localValue:4
-- provisioningOrderConflict GeneralErrorCause ::= localValue:5
-- equipmentFailure GeneralErrorCause ::= localValue:6
-- maxNumberExceeded GeneralErrorCause ::= localValue:7
-- containedObjects GeneralErrorCause ::= localValue:8
-- ObjectInIncompatibleState is used to specify that the object is in a state
-- that does not allow the operation. Details of the state should be
-- provided.
-- NoValidRelatedObject is used to specify related objects that do not
-- exist in the MIB.
-- InvolvedInOffering is used to identify object(s) that are already
-- involved in a conflicting service offering.
-- ServiceNotSupported is used to indicate that the operation is
-- attempting to initiate a service that is not supported by the
-- equipment.
-- ProvisioningOrderConflict is used to identify that a service is
-- being provisioned in an order that is not supported by the equipment.
-- EquipmentFailure is used to indicate that an equipment failure as
-- occured during the operation.
-- MaxNumberExceeded is used to indicate that requested create operation
-- cannot be completed as the maximum number of instances are reached.
-- ContainedObjects is used to indicate that requested delete operation
-- cannot be completed as there are contained instances.
HolderStatus ::= CHOICE {
holderEmpty [0] NULL,
inTheAcceptableList [1] CircuitPackType,
notInTheAcceptableList [2] CircuitPackType,
unknownType [3] NULL
}
IndividualSwitchOver ::= SEQUENCE {
connection ObjectInstance,
-- crossConnection of connectionProtection (defined in Recommendation G.774.04)
unchangedTP ObjectInstance,
newTP ObjectInstance
-- designates the newTP to which the unchanged TP has to be connected with
}
IndividualResult ::= CHOICE {failed [0] Failed,
pass [1] Connected
}
InformationTransferCapabilities ::= ENUMERATED {
speech(0), audio3pt1(1), audio7(2), audioComb(3), digitalRestricted56(4),
digitalUnrestricted64(5)
-- "..." these ellipses defined in ASN.1 amendment are used here to indicate that this is
-- an extensible type and additional enumerations may be added in future --}
ListOfCharacteristicInformation ::= SET OF CharacteristicInformation
ListOfTPs ::= SET OF ObjectInstance
LocationName ::= GraphicString
LogicalProblem ::= SEQUENCE {
problemCause ProblemCause,
incorrectInstances SET OF ObjectInstance OPTIONAL
}
MultipleConnections ::=
SET OF
CHOICE {downstreamNotConnected [0] ObjectInstance,
downstreamConnected [1] ObjectInstance,
upstreamNotConnected [2] ObjectInstance,
upstreamConnected [3] ObjectInstance}
NamedCrossConnection ::= SEQUENCE {
redline BOOLEAN,
name CrossConnectionName
}
NameType ::= CHOICE {numericName INTEGER,
pString GraphicString
}
NumberOfCircuits ::= INTEGER
ObjectList ::= SET OF ObjectInstance
PhysicalPortSignalRateAndMappingList ::= CHOICE {
diverse
SEQUENCE {downstream SignalRateAndMappingList,
upStream SignalRateAndMappingList},
uniform SignalRateAndMappingList
}
Pointer ::= ObjectInstance
PointerOrNull ::= CHOICE {pointer ObjectInstance,
null NULL
}
PointToPoint ::= SEQUENCE {
fromTp ObjectInstance,
toTp ObjectInstance,
xCon ObjectInstance
}
PointToMultipoint ::= SEQUENCE {
fromTp ObjectInstance,
toTps
SET OF SEQUENCE {tp ObjectInstance,
xConnection ObjectInstance},
mpXCon ObjectInstance
}
PortNumber ::= INTEGER
ProblemCause ::= CHOICE {unknown NULL,
integerValue INTEGER
}
-- The values of integer value for ProblemCause and integerValue for ResourceProblem shall always be
-- assigned by this Recommendation. No values of integerValue for ResourceProblem have been assigned.
-- The following values are used for integerValue of ProblemCause.
PtoMPools ::= SEQUENCE {fromTp ExplicitTP,
toTPPools ToTPPools
}
PtoTPPool ::= SEQUENCE {fromTp ExplicitTP,
toTpPool ObjectInstance
}
Reach ::= INTEGER
RelatedObjectInstance ::= CHOICE {
notAvailable NULL,
relatedObject ObjectInstance
}
RemoveTpsFromGtpInformation ::=
SEQUENCE OF SEQUENCE {fromGtp ObjectInstance,
tps SET OF ObjectInstance}
RemoveTpsFromGtpResult ::=
SEQUENCE OF
CHOICE {failed [0] Failed,
removed [1] RemoveTpsResultInformation}
-- the n-th element in the "SEQUENCE OF" is related to the n-th element in the "SEQUENCE OF" of the
-- "RemoveTPsFromGtpInformation" type.
RemoveTpsFromTpPoolInformation ::=
SEQUENCE OF
SEQUENCE {fromTpPool ObjectInstance,
tps SET OF ObjectInstance}
RemoveTpsFromTpPoolResult ::=
SEQUENCE OF
CHOICE {failed [0] Failed,
removed [1] RemoveTpsResultInformation}
-- the n-th element in the "SEQUENCE OF" is related to the n-th element in the "SEQUENCE OF" of the
-- "RemoveTPsFromTpPoolInformation" type.
RemoveTpsResultInformation ::= SEQUENCE {
deletedTpPoolOrGTP ObjectInstance OPTIONAL,
tps SET OF ObjectInstance
}
-- If the TP Pool or GTP is deleted, the deleted TP Pool or GTP should be provided in the
-- RemoveTpsResultInformation
Replaceable ::= ENUMERATED {yes(0), no(1), notapplicable(2)}
ResourceProblem ::= CHOICE {unknown NULL,
integerValue INTEGER
}
SequenceOfObjectInstance ::= SEQUENCE OF ObjectInstance
SerialNumber ::= GraphicString
SignallingCapabilities ::= ENUMERATED {
isup(0), isup92(1), itu-tNo5(2), r2(3), itu-tNo6(4), tup(5)
-- "..." these ellipses defined in ASN.1 amendment are used here to indicate that this is
-- an extensible type and additional enumerations may be added in future --}
SignalRateAndMappingList ::=
SET OF
SEQUENCE {-- only one member in the case of TDM
signalRate SignalRate,
mappingList MappingList OPTIONAL,
wavelength WaveLength OPTIONAL} -- used for WDM
-- the SignalRateAndMappingList is a SET OF to accommodate
-- multiple wavelengths on a single TTP
SignalType ::= CHOICE {
simple CharacteristicInformation,
bundle Bundle,
complex [0] SEQUENCE OF Bundle
}
SubordinateCircuitPackSoftwareLoad ::= CHOICE {
notApplicable NULL,
softwareInstances [0] SEQUENCE OF ObjectInstance,
softwareIdentifiers [1] SEQUENCE OF PrintableString
}
SupportableClientList ::= SET OF ObjectClass
SystemTiming ::= SEQUENCE {
sourceType
ENUMERATED {internalTimingSource(0), remoteTimingSource(1),
slavedTimingTerminationSignal(2)},
sourceID ObjectInstance OPTIONAL
} -- not needed for internal source
SystemTimingSource ::= SEQUENCE {
primaryTimingSource SystemTiming,
secondaryTimingSource SystemTiming OPTIONAL
}
SwitchOverInformation ::= SEQUENCE OF IndividualSwitchOver
SwitchOverResult ::= SEQUENCE OF IndividualResult
TerminationPointInformation ::= CHOICE {
tPOrGTP [0] ObjectInstance,
sourceTP [1] ObjectInstance,
sinkTP [2] ObjectInstance
}
ToTermSpecifier ::= CHOICE {
toTpOrGTP [0] ExplicitTP,
toPool [1] ObjectInstance
}
ToTPPools ::=
SET OF SEQUENCE {tpPoolId ObjectInstance,
numberOfTPs INTEGER}
TpsAddedToTpPool ::= SEQUENCE {
tpPool ObjectInstance,
tps SET OF ObjectInstance
}
TpsInGtpList ::= SEQUENCE OF ObjectInstance
TransmissionCharacteristics ::= BIT STRING {
satellite(0), dCME(1), echoControl(2)}
TypeText ::= GraphicString
UserLabel ::= GraphicString
VendorName ::= GraphicString
Version ::= GraphicString
WaveLength ::= INTEGER
END -- end of ASN1 DefinedTypesModule
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D

View File

@ -1,23 +0,0 @@
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
include ../Makefile.preinc
include Makefile.common
include ../Makefile.inc

View File

@ -1,51 +0,0 @@
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
PROTOCOL_NAME=gnm
EXT_ASN_FILE_LIST =
ASN_FILE_LIST = \
GNM.asn
INCLUDED_ASN_FILE_LIST = \
ASN1DefinedTypesModule.asn
# The packet-$(PROTOCOL_NAME)-template.h and $(PROTOCOL_NAME).asn
# files do not exist for all protocols: Please add/remove as required.
EXTRA_DIST = \
$(EXTRA_DIST_COMMON) \
$(ASN_FILE_LIST) \
$(INCLUDED_ASN_FILE_LIST) \
packet-$(PROTOCOL_NAME)-template.c \
packet-$(PROTOCOL_NAME)-template.h \
$(PROTOCOL_NAME).cnf
SRC_FILES = \
$(EXTRA_DIST) \
$(EXT_ASN_FILE_LIST)
A2W_FLAGS= -b
EXTRA_CNF= \
$(builddir)/../cmip/cmip-exp.cnf
$(builddir)/../cmip/cmip-exp.cnf:
(cd $(builddir)/../cmip && $(MAKE_CNF_EXPORT))

View File

@ -1,26 +0,0 @@
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
include ../../config.nmake
include ../Makefile.preinc.nmake
include Makefile.common
include ../Makefile.inc.nmake

View File

@ -1,135 +0,0 @@
# gnm.cnf
# gnm conformation file
#.IMPORT ../cmip/cmip-exp.cnf
#.EXPORTS
#.PDU
#.NO_EMIT
#.TYPE_RENAME
#.FIELD_RENAME
#.OMIT_ASSIGNMENT
AddedTps
AddTpsToGtpInformation
AddTpsToGtpResult
AddTpsToTpPoolInformation
AddTpsToTpPoolResult
AlarmEffectOnServiceParameter
CircuitPackAvailabilityStatus
ConnectorType
ConnectResult
CreateError
CTPUpstreamPointer
CTPDownstreamPointer
DisconnectInformation
GeneralError
GeneralErrorCause
IndividualSwitchOver
IndividualResult
ListOfTPs
LocationName
PortNumber
Reach
RemoveTpsFromGtpInformation
RemoveTpsFromGtpResult
RemoveTpsFromTpPoolInformation
RemoveTpsFromTpPoolResult
RemoveTpsResultInformation
SwitchOverInformation
SwitchOverResult
TerminationPointInformation
TpsAddedToTpPool
TypeText
#.END
#.REGISTER
RelatedObjectInstance B "0.0.13.3100.0.7.1" "a-TPInstance(1)"
ObjectList B "0.0.13.3100.0.7.2" "affectedObjectList(2)"
AlarmSeverityAssignmentList B "0.0.13.3100.0.7.3" "alarmSeverityAssignmentList(3)"
NameType B "0.0.13.3100.0.7.4" "alarmSeverityAssignmentProfileId(4)"
PointerOrNull B "0.0.13.3100.0.7.5" "alarmSeverityAssignmentProfilePointer(5)"
AlarmStatus B "0.0.13.3100.0.7.6" "alarmStatus(6)"
ChannelNumber B "0.0.13.3100.0.7.7" "channelNumber(7)"
CharacteristicInformation B "0.0.13.3100.0.7.8" "characteristicInformation(8)"
# ObjectInstance B "0.0.13.3100.0.7.9" "clientConnection(9)" CMIP
# ClientConnection B "0.0.13.3100.0.7.10" "clientTrail(10)"
Count B "0.0.13.3100.0.7.11" "connectedTpCount(11)"
NameType B "0.0.13.3100.0.7.12" "connectionId(12)"
NameType B "0.0.13.3100.0.7.13" "cTPId(13)"
NameType B "0.0.13.3100.0.7.14" "crossConnectionId(14)"
CrossConnectionName B "0.0.13.3100.0.7.15" "crossConnectionName(15)"
CrossConnectionObjectPointer B "0.0.13.3100.0.7.16" "crossConnectionObjectPointer(16)"
CurrentProblemList B "0.0.13.3100.0.7.17" "currentProblemList(17)"
Directionality B "0.0.13.3100.0.7.18" "directionality(18)"
DownstreamConnectivityPointer B "0.0.13.3100.0.7.19" "downstreamConnectivityPointer(19)"
NameType B "0.0.13.3100.0.7.20" "equipmentId(20)"
ExternalTime B "0.0.13.3100.0.7.21" "externalTime(21)"
NameType B "0.0.13.3100.0.7.22" "fabricId(22)"
PointerOrNull B "0.0.13.3100.0.7.23" "fromTermination(23)"
NameType B "0.0.13.3100.0.7.24" "gtpId(24)"
Count B "0.0.13.3100.0.7.25" "idleTpCount(25)"
ListOfCharacteristicInformation B "0.0.13.3100.0.7.26" "listOfCharacteristicInfo(26)"
Replaceable B "0.0.13.3100.0.7.27" "locationName(27)"
NameType B "0.0.13.3100.0.7.28" "managedElementId(28)"
NameType B "0.0.13.3100.0.7.29" "mpCrossConnectionId(29)"
NameType B "0.0.13.3100.0.7.30" "networkId(30)"
#ObjectInstance B "0.0.13.3100.0.7.31" "networkLevelPointer(31)"
Boolean B "0.0.13.3100.0.7.32" "protected(32)"
Boolean B "0.0.13.3100.0.7.33" "redline(33)"
Replaceable B "0.0.13.3100.0.7.34" "replaceable(34)"
SequenceOfObjectInstance B "0.0.13.3100.0.7.35" "serverConnectionList(35)"
ObjectList B "0.0.13.3100.0.7.36" "serverTrailList(36)"
SignalType B "0.0.13.3100.0.7.37" "signalType(37)"
NameType B "0.0.13.3100.0.7.38" "softwareId(38)"
SupportableClientList B "0.0.13.3100.0.7.39" "supportableClientList(39)"
ObjectList B "0.0.13.3100.0.7.40" "supportedByObjectList(40)"
SystemTimingSource B "0.0.13.3100.0.7.41" "systemTimingSource(41)"
Count B "0.0.13.3100.0.7.42" "totalTpCount(42)"
Pointer B "0.0.13.3100.0.7.43" "toTermination(43)"
NameType B "0.0.13.3100.0.7.44" "tpPoolId(44)"
TpsInGtpList B "0.0.13.3100.0.7.45" "tpsInGtpList(45)"
#ObjectInstance B "0.0.13.3100.0.7.46" "tpsInTpPoolList(46)"
NameType B "0.0.13.3100.0.7.47" "trailId(47)"
NameType B "0.0.13.3100.0.7.48" "tTPId(48)"
ConnectivityPointer B "0.0.13.3100.0.7.49" "upstreamConnectivityPointer(49)"
UserLabel B "0.0.13.3100.0.7.50" "userLabel(50)"
VendorName B "0.0.13.3100.0.7.51" "vendorName(51)"
Version B "0.0.13.3100.0.7.52" "version(52)"
ObjectList B "0.0.13.3100.0.7.53" "clientConnectionList(53)"
CircuitPackType B "0.0.13.3100.0.7.54" "circuitPackType(54)"
RelatedObjectInstance B "0.0.13.3100.0.7.55" "z-TPInstance(55)"
EquipmentHolderAddress B "0.0.13.3100.0.7.56" "equipmentHolderAddress(56)"
EquipmentHolderType B "0.0.13.3100.0.7.57" "equipmentHolderType(57)"
AcceptableCircuitPackTypeList B "0.0.13.3100.0.7.58" "acceptableCircuitPackTypeList(58)"
HolderStatus B "0.0.13.3100.0.7.59" "holderStatus(59)"
SubordinateCircuitPackSoftwareLoad B "0.0.13.3100.0.7.60" "subordinateCircuitPackSoftwareLoad(60)"
NameType B "0.0.13.3100.0.7.61" "circuitEndPointSubgroupId(61)"
NumberOfCircuits B "0.0.13.3100.0.7.62" "numberOfCircuits(62)"
UserLabel B "0.0.13.3100.0.7.63" "labelOfFarEndExchange(63)"
SignallingCapabilities B "0.0.13.3100.0.7.64" "signallingCapabilities(64)"
InformationTransferCapabilities B "0.0.13.3100.0.7.65" "informationTransferCapabilities(65)"
CircuitDirectionality B "0.0.13.3100.0.7.66" "circuitDirectionality(66)"
TransmissionCharacteristics B "0.0.13.3100.0.7.67" "transmissionCharacteristics(67)"
NameType B "0.0.13.3100.0.7.68" "managedElementComplexId(68)"
SerialNumber B "0.0.13.3100.0.7.69" "serialNumber(69)"
# Actions
ConnectInformation B "0.0.13.3100.0.9.4" "connect(4)"
DisconnectResult B "0.0.13.3100.0.9.5" "disconnect(5)"
SupportedTOClasses B "2.9.2.12.7.7" "supportedTOClasses(7)"
#.END

View File

@ -1,108 +0,0 @@
/* packet-gnm.c
* Routines for GENERIC NETWORK INFORMATION MODEL Data dissection
*
* Copyright 2005 , Anders Broman <anders.broman [AT] ericsson.com>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*
* References:
* ITU-T recommendatiom M.3100
*/
#include "config.h"
#include <glib.h>
#include <epan/packet.h>
#include <epan/asn1.h>
#include "packet-ber.h"
#include "packet-cmip.h"
#include "packet-gnm.h"
#define PNAME "ITU M.3100 Generic Network Information Model"
#define PSNAME "GNM"
#define PFNAME "gnm"
void proto_register_gnm(void);
void proto_reg_handoff_gnm(void);
/* Initialize the protocol and registered fields */
static int proto_gnm = -1;
#include "packet-gnm-hf.c"
/* Initialize the subtree pointers */
#include "packet-gnm-ett.c"
#include "packet-gnm-fn.c"
static void
dissect_gnm_attribute_ObjectInstance(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
{
asn1_ctx_t asn1_ctx;
asn1_ctx_init(&asn1_ctx, ASN1_ENC_BER, TRUE, pinfo);
dissect_cmip_ObjectInstance(FALSE, tvb, 0, &asn1_ctx, parent_tree, -1);
}
static void
dissect_gnm(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_)
{
/* Dymmy function */
}
/*--- proto_register_gnm -------------------------------------------*/
void proto_register_gnm(void) {
/* List of fields */
static hf_register_info hf[] = {
#include "packet-gnm-hfarr.c"
};
/* List of subtrees */
static gint *ett[] = {
#include "packet-gnm-ettarr.c"
};
/* Register protocol */
proto_gnm = proto_register_protocol(PNAME, PSNAME, PFNAME);
register_dissector("gnm", dissect_gnm, proto_gnm);
/* Register fields and subtrees */
proto_register_field_array(proto_gnm, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
}
/*--- proto_reg_handoff_gnm ---------------------------------------*/
void proto_reg_handoff_gnm(void) {
#include "packet-gnm-dis-tab.c"
/* Wrapper to call CMIP */
register_ber_oid_dissector("0.0.13.3100.0.7.9", dissect_gnm_attribute_ObjectInstance, proto_gnm, "clientConnection(9)");
register_ber_oid_dissector("0.0.13.3100.0.7.10", dissect_gnm_attribute_ObjectInstance, proto_gnm, "clientTrail(10)");
register_ber_oid_dissector("0.0.13.3100.0.7.31", dissect_gnm_attribute_ObjectInstance, proto_gnm, "networkLevelPointer(31)");
register_ber_oid_dissector("0.0.13.3100.0.7.46", dissect_gnm_attribute_ObjectInstance, proto_gnm, "networkLevelPointer(31)");
}

View File

@ -1,33 +0,0 @@
/* packet-gnm.c
* Routines for GENERIC NETWORK INFORMATION MODEL Data dissection
*
* Copyright 2005 , Anders Broman <anders.broman [AT] ericsson.com>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*
* References:
* ITU-T recommendatiom M.3100
*/
#ifndef PACKET_GNM_H
#define PACKET_GNM_H
/*#include "packet-gni-exp.h"*/
#endif /* PACKET_GNM_H */

View File

@ -2820,7 +2820,6 @@ AC_OUTPUT(
asn1/dsp/Makefile
asn1/ess/Makefile
asn1/ftam/Makefile
asn1/gnm/Makefile
asn1/goose/Makefile
asn1/gprscdr/Makefile
asn1/gsm_map/Makefile

View File

@ -202,7 +202,6 @@ DIRTY_ASN1_DISSECTOR_SRC = \
packet-ansi_map.c \
packet-coseventcomm.c \
packet-cosnaming.c \
packet-gnm.c \
packet-gprscdr.c \
packet-gsm_map.c \
packet-ldap.c \

File diff suppressed because it is too large Load Diff

View File

@ -1,2 +0,0 @@
Author:
Matthijs Melchior <matthijs.melchior@xs4all.nl>

View File

@ -1,70 +0,0 @@
# CMakeLists.txt
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
set(DISSECTOR_SRC
packet-asn1.c
)
set(DISSECTOR_SUPPORT_SRC
asn1.c
)
set(PLUGIN_FILES
plugin.c
${DISSECTOR_SRC}
${DISSECTOR_SUPPORT_SRC}
)
set(CLEAN_FILES
${PLUGIN_FILES}
)
if (WERROR)
set_source_files_properties(
${CLEAN_FILES}
PROPERTIES
COMPILE_FLAGS -Werror
)
endif()
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
register_dissector_files(plugin.c
plugin
${DISSECTOR_SRC}
)
add_library(asn1 ${LINK_MODE_MODULE}
${PLUGIN_FILES}
plugin.rc
)
set_target_properties(asn1 PROPERTIES PREFIX "")
set_target_properties(asn1 PROPERTIES LINK_FLAGS "${WS_LINK_FLAGS}")
set_target_properties(asn1 PROPERTIES FOLDER "Plugins")
target_link_libraries(asn1 epan)
install(TARGETS asn1
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/@CPACK_PACKAGE_NAME@/plugins/${CPACK_PACKAGE_VERSION} NAMELINK_SKIP
RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR}/@CPACK_PACKAGE_NAME@/plugins/${CPACK_PACKAGE_VERSION}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/@CPACK_PACKAGE_NAME@/plugins/${CPACK_PACKAGE_VERSION}
)

View File

@ -1,340 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

View File

View File

View File

@ -1,120 +0,0 @@
# Makefile.am
# Automake file for ASN.1 plugin
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
include $(top_srcdir)/Makefile.am.inc
AM_CPPFLAGS = -I$(top_srcdir)
include Makefile.common
if HAVE_WARNINGS_AS_ERRORS
AM_CFLAGS = -Werror
endif
plugindir = @plugindir@
plugin_LTLIBRARIES = asn1.la
asn1_la_SOURCES = \
plugin.c \
moduleinfo.h \
$(SRC_FILES) \
$(HEADER_FILES)
asn1_la_LDFLAGS = -module -avoid-version
asn1_la_LIBADD = @PLUGIN_LIBS@
# Libs must be cleared, or else libtool won't create a shared module.
# If your module needs to be linked against any particular libraries,
# add them here.
LIBS =
#
# Build plugin.c, which contains the plugin version[] string, a
# function plugin_register() that calls the register routines for all
# protocols, and a function plugin_reg_handoff() that calls the handoff
# registration routines for all protocols.
#
# We do this by scanning sources. If that turns out to be too slow,
# maybe we could just require every .o file to have an register routine
# of a given name (packet-aarp.o -> proto_register_aarp, etc.).
#
# Formatting conventions: The name of the proto_register_* routines an
# proto_reg_handoff_* routines must start in column zero, or must be
# preceded only by "void " starting in column zero, and must not be
# inside #if.
#
# REGISTER_SRC_FILES is assumed to have all the files that need to be scanned.
#
# For some unknown reason, having a big "for" loop in the Makefile
# to scan all the files doesn't work with some "make"s; they seem to
# pass only the first few names in the list to the shell, for some
# reason.
#
# Therefore, we use a script to generate the register.c file.
# The first argument is the directory in which the source files live.
# The second argument is "plugin", to indicate that we should build
# a plugin.c file for a plugin.
# All subsequent arguments are the files to scan.
#
plugin.c: $(REGISTER_SRC_FILES) Makefile.common $(top_srcdir)/tools/make-dissector-reg.py
@echo Making plugin.c
@$(PYTHON) $(top_srcdir)/tools/make-dissector-reg.py $(srcdir) \
plugin $(REGISTER_SRC_FILES)
#
# Currently plugin.c can be included in the distribution because
# we always build all protocol dissectors. We used to have to check
# whether or not to build the snmp dissector. If we again need to
# variably build something, making plugin.c non-portable, uncomment
# the dist-hook line below.
#
# Oh, yuk. We don't want to include "plugin.c" in the distribution, as
# its contents depend on the configuration, and therefore we want it
# to be built when the first "make" is done; however, Automake insists
# on putting *all* source into the distribution.
#
# We work around this by having a "dist-hook" rule that deletes
# "plugin.c", so that "dist" won't pick it up.
#
#dist-hook:
# @rm -f $(distdir)/plugin.c
CLEANFILES = \
asn1 \
*~
MAINTAINERCLEANFILES = \
Makefile.in \
plugin.c
EXTRA_DIST = \
Makefile.common \
Makefile.nmake \
moduleinfo.nmake \
plugin.rc.in \
CMakeLists.txt
checkapi:
$(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput -build \
-sourcedir=$(srcdir) \
$(CLEAN_SRC_FILES) $(CLEAN_HEADER_FILES)

View File

@ -1,44 +0,0 @@
# Makefile.common for ASN.1 plugin
# Contains the stuff from Makefile.am and Makefile.nmake that is
# a) common to both files and
# b) portable between both files
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
# the name of the plugin
PLUGIN_NAME = asn1
# Non-generated sources to be scanned for registration routines
NONGENERATED_REGISTER_C_FILES = \
packet-asn1.c
# Non-generated sources
NONGENERATED_C_FILES = \
$(NONGENERATED_REGISTER_C_FILES) \
asn1.c
# Headers.
CLEAN_HEADER_FILES = \
asn1.h
HEADER_FILES = \
$(FLEX_GENERATED_HEADER_FILES) \
$(CLEAN_HEADER_FILES)
include ../Makefile.common.inc

View File

@ -1,90 +0,0 @@
# Makefile.nmake
# nmake file for ASN.1 plugin
#
include ..\..\config.nmake
include ..\..\Makefile.nmake.inc
include moduleinfo.nmake
include Makefile.common
CFLAGS=$(WARNINGS_ARE_ERRORS) $(STANDARD_CFLAGS) \
/I../.. $(GLIB_CFLAGS) \
/I$(PCAP_DIR)\include
.c.obj::
$(CC) $(CFLAGS) -Fd.\ -c $<
LDFLAGS = $(PLUGIN_LDFLAGS)
!IFDEF ENABLE_LIBWIRESHARK
LINK_PLUGIN_WITH=..\..\epan\libwireshark.lib ..\..\wsutil\libwsutil.lib
CFLAGS=$(CFLAGS)
OBJECTS = $(C_FILES:.c=.obj) $(CPP_FILES:.cpp=.obj) plugin.obj
RESOURCE=$(PLUGIN_NAME).res
all: $(PLUGIN_NAME).dll
$(PLUGIN_NAME).rc : moduleinfo.nmake
sed -e s/@PLUGIN_NAME@/$(PLUGIN_NAME)/ \
-e s/@RC_MODULE_VERSION@/$(RC_MODULE_VERSION)/ \
-e s/@RC_VERSION@/$(RC_VERSION)/ \
-e s/@MODULE_VERSION@/$(MODULE_VERSION)/ \
-e s/@PACKAGE@/$(PACKAGE)/ \
-e s/@VERSION@/$(VERSION)/ \
-e s/@MSVC_VARIANT@/$(MSVC_VARIANT)/ \
< plugin.rc.in > $@
$(PLUGIN_NAME).dll $(PLUGIN_NAME).exp $(PLUGIN_NAME).lib : $(OBJECTS) $(LINK_PLUGIN_WITH) $(RESOURCE)
link -dll /out:$(PLUGIN_NAME).dll $(LDFLAGS) $(OBJECTS) $(LINK_PLUGIN_WITH) \
$(GLIB_LIBS) $(RESOURCE)
#
# Build plugin.c, which contains the plugin version[] string, a
# function plugin_register() that calls the register routines for all
# protocols, and a function plugin_reg_handoff() that calls the handoff
# registration routines for all protocols.
#
# We do this by scanning sources. If that turns out to be too slow,
# maybe we could just require every .o file to have an register routine
# of a given name (packet-aarp.o -> proto_register_aarp, etc.).
#
# Formatting conventions: The name of the proto_register_* routines an
# proto_reg_handoff_* routines must start in column zero, or must be
# preceded only by "void " starting in column zero, and must not be
# inside #if.
#
# REGISTER_SRC_FILES is assumed to have all the files that need to be scanned.
#
# For some unknown reason, having a big "for" loop in the Makefile
# to scan all the files doesn't work with some "make"s; they seem to
# pass only the first few names in the list to the shell, for some
# reason.
#
# Therefore, we use a script to generate the register.c file.
# The first argument is the directory in which the source files live.
# The second argument is "plugin", to indicate that we should build
# a plugin.c file for a plugin.
# All subsequent arguments are the files to scan.
#
plugin.c: $(REGISTER_SRC_FILES) moduleinfo.h Makefile.common ../../tools/make-dissector-reg.py
@echo Making plugin.c
@$(PYTHON) "../../tools/make-dissector-reg.py" . plugin $(REGISTER_SRC_FILES)
!ENDIF
clean:
rm -f $(OBJECTS) $(RESOURCE) plugin.c *.pdb *.sbr \
$(PLUGIN_NAME).dll $(PLUGIN_NAME).dll.manifest $(PLUGIN_NAME).lib \
$(PLUGIN_NAME).exp $(PLUGIN_NAME).rc
distclean: clean
maintainer-clean: distclean
checkapi:
$(PERL) ../../tools/checkAPIs.pl -g abort -g termoutput -build \
$(CLEAN_SRC_FILES) $(CLEAN_HEADER_FILES)

View File

File diff suppressed because it is too large Load Diff

View File

@ -1,162 +0,0 @@
/* asn1.h
* Definitions for ASN.1 BER dissection
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
*
* Based on "g_asn1.h" from:
*
* GXSNMP -- An snmp mangament application
* Copyright (C) 1998 Gregory McLean & Jochen Friedrich
* Beholder RMON ethernet network monitor,Copyright (C) 1993 DNPAP group
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
*/
#ifndef __ASN1_H__
#define __ASN1_H__
#define ASN1_UNI 0 /* Universal */
#define ASN1_APL 1 /* Application */
#define ASN1_CTX 2 /* Context */
#define ASN1_PRV 3 /* Private */
#define BER_CLASS_UNI 0
#define BER_CLASS_APP 1
#define BER_CLASS_CON 2
#define BER_CLASS_PRI 3
#define BER_CLASS_ANY 99 /* dont check class nor tag */
#define BER_UNI_TAG_EOC 0 /* 'end-of-content' */
#define BER_UNI_TAG_BOOLEAN 1
#define BER_UNI_TAG_INTEGER 2
#define BER_UNI_TAG_BITSTRING 3
#define BER_UNI_TAG_OCTETSTRING 4
#define BER_UNI_TAG_NULL 5
#define BER_UNI_TAG_OID 6 /* OBJECT IDENTIFIER */
#define BER_UNI_TAG_ObjectDescriptor 7
#define BER_UNI_TAG_EXTERNAL 8
#define BER_UNI_TAG_REAL 9
#define BER_UNI_TAG_ENUMERATED 10
#define BER_UNI_TAG_EMBEDDED_PDV 11
#define BER_UNI_TAG_UTF8String 12
#define BER_UNI_TAG_RELATIVE_OID 13
/* UNIVERSAL 14-15
* Reserved for future editions of this
* Recommendation | International Standard
*/
#define BER_UNI_TAG_SEQUENCE 16 /* SEQUENCE, SEQUENCE OF */
#define BER_UNI_TAG_SET 17 /* SET, SET OF */
/* UNIVERSAL 18-22 Character string types */
#define BER_UNI_TAG_NumericString 18
#define BER_UNI_TAG_PrintableString 19
#define BER_UNI_TAG_TeletexString 20 /* TeletextString, T61String */
#define BER_UNI_TAG_VideotexString 21
#define BER_UNI_TAG_IA5String 22
/* UNIVERSAL 23-24 Time types */
#define BER_UNI_TAG_UTCTime 23
#define BER_UNI_TAG_GeneralizedTime 24
/* UNIVERSAL 25-30 Character string types */
#define BER_UNI_TAG_GraphicString 25
#define BER_UNI_TAG_VisibleString 26 /* VisibleString, ISO64String */
#define BER_UNI_TAG_GeneralString 27
#define BER_UNI_TAG_UniversalString 28
#define BER_UNI_TAG_CHARACTERSTRING 29
#define BER_UNI_TAG_BMPString 30
/* UNIVERSAL 31- ...
* Reserved for addenda to this Recommendation | International Standard
*/
/* Tag */
#define ASN1_EOC 0 /* End Of Contents */
#define ASN1_BOL 1 /* Boolean */
#define ASN1_INT 2 /* Integer */
#define ASN1_BTS 3 /* Bit String */
#define ASN1_OTS 4 /* Octet String */
#define ASN1_NUL 5 /* Null */
#define ASN1_OJI 6 /* Object Identifier */
#define ASN1_OJD 7 /* Object Description */
#define ASN1_EXT 8 /* External */
#define ASN1_REAL 9 /* Real */
#define ASN1_ENUM 10 /* Enumerated */
#define ASN1_SEQ 16 /* Sequence */
#define ASN1_SET 17 /* Set */
#define ASN1_NUMSTR 18 /* Numerical String */
#define ASN1_PRNSTR 19 /* Printable String */
#define ASN1_TEXSTR 20 /* Teletext String */
#define ASN1_VIDSTR 21 /* Video String */
#define ASN1_IA5STR 22 /* IA5 String */
#define ASN1_UNITIM 23 /* Universal Time */
#define ASN1_GENTIM 24 /* General Time */
#define ASN1_GRASTR 25 /* Graphical String */
#define ASN1_VISSTR 26 /* Visible String */
#define ASN1_GENSTR 27 /* General String */
/* Primitive / Constructed */
#define ASN1_PRI 0 /* Primitive */
#define ASN1_CON 1 /* Constructed */
#define ASN1_ERR_NOERROR 0 /* no error */
#define ASN1_ERR_EOC_MISMATCH 1
#define ASN1_ERR_WRONG_TYPE 2 /* type not right */
#define ASN1_ERR_LENGTH_NOT_DEFINITE 3 /* length should be definite */
#define ASN1_ERR_LENGTH_MISMATCH 4
#define ASN1_ERR_WRONG_LENGTH_FOR_TYPE 5 /* length wrong for type */
typedef struct _ASN1_SCK ASN1_SCK;
struct _ASN1_SCK
{ /* ASN1 socket */
tvbuff_t *tvb; /* Tvbuff whence the data comes */
int offset; /* Current offset in tvbuff */
};
extern void asn1_open (ASN1_SCK *asn1, tvbuff_t *tvb, int offset);
extern void asn1_close (ASN1_SCK *asn1, int *offset);
extern int asn1_octet_decode (ASN1_SCK *asn1, guchar *ch);
extern int asn1_tag_decode (ASN1_SCK *asn1, guint *tag);
extern int asn1_id_decode (ASN1_SCK *asn1, guint *cls, guint *con, guint *tag);
extern int asn1_id_decode1 (ASN1_SCK *asn1, guint *tag);
extern int asn1_length_decode (ASN1_SCK *asn1, gboolean *def, guint *len);
extern int asn1_header_decode(ASN1_SCK *asn1, guint *cls, guint *con,
guint *tag, gboolean *defp, guint *lenp);
extern int asn1_eoc (ASN1_SCK *asn1, int eoc);
extern int asn1_eoc_decode (ASN1_SCK *asn1, int eoc);
extern int asn1_null_decode (ASN1_SCK *asn1, int enc_len);
extern int asn1_bool_decode (ASN1_SCK *asn1, int enc_len, gboolean *boolean);
extern int asn1_int32_value_decode (ASN1_SCK *asn1, int enc_len,
gint32 *integer);
extern int asn1_int32_decode (ASN1_SCK *asn1, gint32 *integer, guint *nbytes);
extern int asn1_uint32_value_decode (ASN1_SCK *asn1, int enc_len,
guint32 *integer);
extern int asn1_uint32_decode (ASN1_SCK *asn1, guint32 *integer, guint *nbytes);
extern int asn1_bits_decode (ASN1_SCK *asn1, int enc_len, guchar **bits,
guint *len, guchar *unused);
extern int asn1_string_value_decode (ASN1_SCK *asn1, int enc_len,
guchar **octets);
extern int asn1_string_decode (ASN1_SCK *asn1, guchar **octets, guint *str_len,
guint *nbytes, guint expected_tag);
extern int asn1_octet_string_decode (ASN1_SCK *asn1, guchar **octets,
guint *str_len, guint *nbytes);
extern int asn1_subid_decode (ASN1_SCK *asn1, subid_t *subid);
extern int asn1_oid_value_decode (ASN1_SCK *asn1, int enc_len, subid_t **oid,
guint *len);
extern int asn1_oid_decode (ASN1_SCK *asn1, subid_t **oid, guint *len,
guint *nbytes);
extern int asn1_sequence_decode (ASN1_SCK *asn1, guint *seq_len, guint *nbytes);
extern const char *asn1_err_to_str (int err);
#endif

View File

@ -1,40 +0,0 @@
/* moduleinfo.h
*
* Module info header for wireshark plugins.
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
/* Included *after* config.h, in order to re-define these macros */
#ifdef PACKAGE
#undef PACKAGE
#endif
/* Name of package */
#define PACKAGE "asn1"
#ifdef VERSION
#undef VERSION
#endif
/* Version number of package */
#define VERSION "0.5.0"

View File

@ -1,26 +0,0 @@
#
# The name
PACKAGE=asn1
# The version
MODULE_VERSION_MAJOR=0
MODULE_VERSION_MINOR=5
MODULE_VERSION_MICRO=0
MODULE_VERSION_EXTRA=0
#
# The RC_VERSION should be comma-separated, not dot-separated,
# as per Graham Bloice's message in
#
# http://www.ethereal.com/lists/ethereal-dev/200303/msg00283.html
#
# "The RC_VERSION variable in config.nmake should be comma separated.
# This allows the resources to be built correctly and the version
# number to be correctly displayed in the explorer properties dialog
# for the executables, and XP's tooltip, rather than 0.0.0.0."
#
MODULE_VERSION=$(MODULE_VERSION_MAJOR).$(MODULE_VERSION_MINOR).$(MODULE_VERSION_MICRO).$(MODULE_VERSION_EXTRA)
RC_MODULE_VERSION=$(MODULE_VERSION_MAJOR),$(MODULE_VERSION_MINOR),$(MODULE_VERSION_MICRO),$(MODULE_VERSION_EXTRA)

File diff suppressed because it is too large Load Diff

View File

@ -1,34 +0,0 @@
#include "winver.h"
VS_VERSION_INFO VERSIONINFO
FILEVERSION @RC_MODULE_VERSION@
PRODUCTVERSION @RC_VERSION@
FILEFLAGSMASK 0x0L
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0
#endif
FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_DLL
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "The Wireshark developer community, http://www.wireshark.org/\0"
VALUE "FileDescription", "@PACKAGE@ dissector\0"
VALUE "FileVersion", "@MODULE_VERSION@\0"
VALUE "InternalName", "@PACKAGE@ @MODULE_VERSION@\0"
VALUE "LegalCopyright", "Copyright © 1998 Gerald Combs <gerald@wireshark.org>, Gilbert Ramirez <gram@alumni.rice.edu> and others\0"
VALUE "OriginalFilename", "@PLUGIN_NAME@.dll\0"
VALUE "ProductName", "Wireshark\0"
VALUE "ProductVersion", "@VERSION@\0"
VALUE "Comments", "Build with @MSVC_VARIANT@\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END