Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
newtype ErrorIndex Source #
Instances
Eq ErrorIndex Source # | |
Defined in Snmp.Types (==) :: ErrorIndex -> ErrorIndex -> Bool # (/=) :: ErrorIndex -> ErrorIndex -> Bool # | |
Show ErrorIndex Source # | |
Defined in Snmp.Types showsPrec :: Int -> ErrorIndex -> ShowS # show :: ErrorIndex -> String # showList :: [ErrorIndex] -> ShowS # |
newtype ErrorStatus Source #
Instances
Eq ErrorStatus Source # | |
Defined in Snmp.Types (==) :: ErrorStatus -> ErrorStatus -> Bool # (/=) :: ErrorStatus -> ErrorStatus -> Bool # | |
Show ErrorStatus Source # | |
Defined in Snmp.Types showsPrec :: Int -> ErrorStatus -> ShowS # show :: ErrorStatus -> String # showList :: [ErrorStatus] -> ShowS # |
data ObjectSyntax Source #
Instances
Eq ObjectSyntax Source # | |
Defined in Snmp.Types (==) :: ObjectSyntax -> ObjectSyntax -> Bool # (/=) :: ObjectSyntax -> ObjectSyntax -> Bool # | |
Show ObjectSyntax Source # | |
Defined in Snmp.Types showsPrec :: Int -> ObjectSyntax -> ShowS # show :: ObjectSyntax -> String # showList :: [ObjectSyntax] -> ShowS # |
data SimpleSyntax Source #
Instances
Eq SimpleSyntax Source # | |
Defined in Snmp.Types (==) :: SimpleSyntax -> SimpleSyntax -> Bool # (/=) :: SimpleSyntax -> SimpleSyntax -> Bool # | |
Show SimpleSyntax Source # | |
Defined in Snmp.Types showsPrec :: Int -> SimpleSyntax -> ShowS # show :: SimpleSyntax -> String # showList :: [SimpleSyntax] -> ShowS # |
data ApplicationSyntax Source #
Instances
Eq ApplicationSyntax Source # | |
Defined in Snmp.Types (==) :: ApplicationSyntax -> ApplicationSyntax -> Bool # (/=) :: ApplicationSyntax -> ApplicationSyntax -> Bool # | |
Show ApplicationSyntax Source # | |
Defined in Snmp.Types showsPrec :: Int -> ApplicationSyntax -> ShowS # show :: ApplicationSyntax -> String # showList :: [ApplicationSyntax] -> ShowS # |
data BindingResult Source #
BindingResultValue !ObjectSyntax | |
BindingResultUnspecified | |
BindingResultNoSuchObject | |
BindingResultNoSuchInstance | |
BindingResultEndOfMibView |
Instances
Eq BindingResult Source # | |
Defined in Snmp.Types (==) :: BindingResult -> BindingResult -> Bool # (/=) :: BindingResult -> BindingResult -> Bool # | |
Show BindingResult Source # | |
Defined in Snmp.Types 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.
MessageV2 | |
|
data HeaderData Source #
Instances
Eq HeaderData Source # | |
Defined in Snmp.Types (==) :: HeaderData -> HeaderData -> Bool # (/=) :: HeaderData -> HeaderData -> Bool # | |
Show HeaderData Source # | |
Defined in Snmp.Types showsPrec :: Int -> HeaderData -> ShowS # show :: HeaderData -> String # showList :: [HeaderData] -> ShowS # |
data AuthParameters Source #
Instances
Eq AuthParameters Source # | |
Defined in Snmp.Types (==) :: AuthParameters -> AuthParameters -> Bool # (/=) :: AuthParameters -> AuthParameters -> Bool # | |
Show AuthParameters Source # | |
Defined in Snmp.Types showsPrec :: Int -> AuthParameters -> ShowS # show :: AuthParameters -> String # showList :: [AuthParameters] -> ShowS # |
data PrivParameters Source #
Instances
Eq PrivParameters Source # | |
Defined in Snmp.Types (==) :: PrivParameters -> PrivParameters -> Bool # (/=) :: PrivParameters -> PrivParameters -> Bool # | |
Show PrivParameters Source # | |
Defined in Snmp.Types 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 #
Instances
Eq ScopedPduData Source # | |
Defined in Snmp.Types (==) :: ScopedPduData -> ScopedPduData -> Bool # (/=) :: ScopedPduData -> ScopedPduData -> Bool # | |
Show ScopedPduData Source # | |
Defined in Snmp.Types showsPrec :: Int -> ScopedPduData -> ShowS # show :: ScopedPduData -> String # showList :: [ScopedPduData] -> ShowS # |
Pdu | |
|
data GenericTrap Source #
GenericTrapColdStart | |
GenericTrapWarmStart | |
GenericTrapLinkDown | |
GenericTrapLinkUp | |
GenericTrapAuthenticationFailure | |
GenericTrapEgpNeighborLoss | |
GenericTrapEnterpriseSpecific |
Instances
Eq GenericTrap Source # | |
Defined in Snmp.Types (==) :: GenericTrap -> GenericTrap -> Bool # (/=) :: GenericTrap -> GenericTrap -> Bool # | |
Show GenericTrap Source # | |
Defined in Snmp.Types showsPrec :: Int -> GenericTrap -> ShowS # show :: GenericTrap -> String # showList :: [GenericTrap] -> ShowS # |