Safe Haskell | None |
---|---|
Language | Haskell2010 |
Snmp.Types
Synopsis
- newtype RequestId = RequestId {
- getRequestId :: Int
- newtype ErrorIndex = ErrorIndex {}
- newtype ErrorStatus = ErrorStatus {}
- data ObjectSyntax
- data SimpleSyntax
- data ApplicationSyntax
- data VarBind = VarBind {}
- data BindingResult
- data Pdus
- data MessageV2 = MessageV2 {}
- data MessageV3 = MessageV3 {}
- data HeaderData = HeaderData {}
- data AuthType
- data PrivType
- data Crypto
- data AuthParameters = AuthParameters {}
- data PrivParameters = PrivParameters {}
- newtype AesSalt = AesSalt {
- getAesSalt :: Word64
- cryptoFlags :: Crypto -> Word8
- cryptoAuth :: Crypto -> Maybe AuthParameters
- cryptoPriv :: Crypto -> Maybe PrivParameters
- data ScopedPduData
- newtype EngineId = EngineId {}
- data ScopedPdu = ScopedPdu {}
- data Usm = Usm {}
- data Pdu = Pdu {}
- data BulkPdu = BulkPdu {}
- data TrapPdu = TrapPdu {}
- data GenericTrap
Documentation
Constructors
RequestId | |
Fields
|
Instances
Eq RequestId Source # | |
Ord RequestId Source # | |
Read RequestId Source # | |
Show RequestId Source # | |
newtype ErrorIndex Source #
Constructors
ErrorIndex | |
Fields |
Instances
Eq ErrorIndex Source # | |
Defined in Snmp.Types | |
Show ErrorIndex Source # | |
Defined in Snmp.Types Methods showsPrec :: Int -> ErrorIndex -> ShowS # show :: ErrorIndex -> String # showList :: [ErrorIndex] -> ShowS # |
newtype ErrorStatus Source #
Constructors
ErrorStatus | |
Fields |
Instances
Eq ErrorStatus Source # | |
Defined in Snmp.Types | |
Show ErrorStatus Source # | |
Defined in Snmp.Types Methods showsPrec :: Int -> ErrorStatus -> ShowS # show :: ErrorStatus -> String # showList :: [ErrorStatus] -> ShowS # |
data ObjectSyntax Source #
Instances
Eq ObjectSyntax Source # | |
Defined in Snmp.Types | |
Show ObjectSyntax Source # | |
Defined in Snmp.Types Methods showsPrec :: Int -> ObjectSyntax -> ShowS # show :: ObjectSyntax -> String # showList :: [ObjectSyntax] -> ShowS # |
data SimpleSyntax Source #
Constructors
SimpleSyntaxInteger !Int32 | |
SimpleSyntaxString !ByteString | |
SimpleSyntaxObjectId !ObjectIdentifier |
Instances
Eq SimpleSyntax Source # | |
Defined in Snmp.Types | |
Show SimpleSyntax Source # | |
Defined in Snmp.Types Methods showsPrec :: Int -> SimpleSyntax -> ShowS # show :: SimpleSyntax -> String # showList :: [SimpleSyntax] -> ShowS # |
data ApplicationSyntax Source #
Constructors
Instances
Eq ApplicationSyntax Source # | |
Defined in Snmp.Types Methods (==) :: ApplicationSyntax -> ApplicationSyntax -> Bool # (/=) :: ApplicationSyntax -> ApplicationSyntax -> Bool # | |
Show ApplicationSyntax Source # | |
Defined in Snmp.Types Methods showsPrec :: Int -> ApplicationSyntax -> ShowS # show :: ApplicationSyntax -> String # showList :: [ApplicationSyntax] -> ShowS # |
Constructors
VarBind | |
Fields |
data BindingResult Source #
Constructors
BindingResultValue !ObjectSyntax | |
BindingResultUnspecified | |
BindingResultNoSuchObject | |
BindingResultNoSuchInstance | |
BindingResultEndOfMibView |
Instances
Eq BindingResult Source # | |
Defined in Snmp.Types Methods (==) :: BindingResult -> BindingResult -> Bool # (/=) :: BindingResult -> BindingResult -> Bool # | |
Show BindingResult Source # | |
Defined in Snmp.Types Methods showsPrec :: Int -> BindingResult -> ShowS # show :: BindingResult -> String # showList :: [BindingResult] -> ShowS # |
A message as defined by RFC1157. The version
field is omitted
since it is required to be 1. The encoding and decoding of Message
do have this field present though.
Constructors
MessageV2 | |
Fields
|
Constructors
MessageV3 | |
Fields |
data HeaderData Source #
Constructors
HeaderData | |
Fields
|
Instances
Eq HeaderData Source # | |
Defined in Snmp.Types | |
Show HeaderData Source # | |
Defined in Snmp.Types Methods showsPrec :: Int -> HeaderData -> ShowS # show :: HeaderData -> String # showList :: [HeaderData] -> ShowS # |
Constructors
AuthTypeMd5 | |
AuthTypeSha |
Constructors
PrivTypeDes | |
PrivTypeAes |
Constructors
NoAuthNoPriv | |
AuthNoPriv !AuthParameters | |
AuthPriv !AuthParameters !PrivParameters |
data AuthParameters Source #
Constructors
AuthParameters | |
Fields |
Instances
Eq AuthParameters Source # | |
Defined in Snmp.Types Methods (==) :: AuthParameters -> AuthParameters -> Bool # (/=) :: AuthParameters -> AuthParameters -> Bool # | |
Show AuthParameters Source # | |
Defined in Snmp.Types Methods showsPrec :: Int -> AuthParameters -> ShowS # show :: AuthParameters -> String # showList :: [AuthParameters] -> ShowS # |
data PrivParameters Source #
Constructors
PrivParameters | |
Fields |
Instances
Eq PrivParameters Source # | |
Defined in Snmp.Types Methods (==) :: PrivParameters -> PrivParameters -> Bool # (/=) :: PrivParameters -> PrivParameters -> Bool # | |
Show PrivParameters Source # | |
Defined in Snmp.Types Methods showsPrec :: Int -> PrivParameters -> ShowS # show :: PrivParameters -> String # showList :: [PrivParameters] -> ShowS # |
cryptoFlags :: Crypto -> Word8 Source #
cryptoAuth :: Crypto -> Maybe AuthParameters Source #
cryptoPriv :: Crypto -> Maybe PrivParameters Source #
data ScopedPduData Source #
Constructors
ScopedPduDataPlaintext !ScopedPdu | |
ScopedPduDataEncrypted !ByteString |
Instances
Eq ScopedPduData Source # | |
Defined in Snmp.Types Methods (==) :: ScopedPduData -> ScopedPduData -> Bool # (/=) :: ScopedPduData -> ScopedPduData -> Bool # | |
Show ScopedPduData Source # | |
Defined in Snmp.Types Methods showsPrec :: Int -> ScopedPduData -> ShowS # show :: ScopedPduData -> String # showList :: [ScopedPduData] -> ShowS # |
Constructors
EngineId | |
Fields |
Constructors
ScopedPdu | |
Fields |
Constructors
Usm | |
Constructors
Pdu | |
Fields
|
Constructors
BulkPdu | |
Fields |
Constructors
TrapPdu | |
Fields |
data GenericTrap Source #
Constructors
GenericTrapColdStart | |
GenericTrapWarmStart | |
GenericTrapLinkDown | |
GenericTrapLinkUp | |
GenericTrapAuthenticationFailure | |
GenericTrapEgpNeighborLoss | |
GenericTrapEnterpriseSpecific |
Instances
Eq GenericTrap Source # | |
Defined in Snmp.Types | |
Show GenericTrap Source # | |
Defined in Snmp.Types Methods showsPrec :: Int -> GenericTrap -> ShowS # show :: GenericTrap -> String # showList :: [GenericTrap] -> ShowS # |