hans-2.4.0.0: IPv4 Network Stack

Safe HaskellNone
LanguageHaskell98

Hans.Message.Dhcp4Options

Synopsis

Documentation

data MagicCookie Source

Constructors

MagicCookie 

data Dhcp4Option Source

Constructors

OptSubnetMask SubnetMask 
OptTimeOffset Word32 
OptRouters [IP4] 
OptTimeServers [IP4] 
OptIEN116NameServers [IP4] 
OptNameServers [IP4] 
OptLogServers [IP4] 
OptCookieServers [IP4] 
OptLPRServers [IP4] 
OptImpressServers [IP4] 
OptResourceLocationServers [IP4] 
OptHostName NVTAsciiString 
OptBootFileSize Word16 
OptMeritDumpFile NVTAsciiString 
OptDomainName NVTAsciiString 
OptSwapServer IP4 
OptRootPath NVTAsciiString 
OptExtensionsPath NVTAsciiString 
OptEnableIPForwarding Bool 
OptEnableNonLocalSourceRouting Bool 
OptPolicyFilters [IP4Mask] 
OptMaximumDatagramReassemblySize Word16 
OptDefaultTTL Word8 
OptPathMTUAgingTimeout Word32 
OptPathMTUPlateauTable [Word16] 
OptInterfaceMTU Word16 
OptAllSubnetsAreLocal Bool 
OptBroadcastAddress IP4 
OptPerformMaskDiscovery Bool 
OptShouldSupplyMasks Bool 
OptShouldPerformRouterDiscovery Bool 
OptRouterSolicitationAddress IP4 
OptStaticRoutes [(IP4, IP4)] 
OptShouldNegotiateArpTrailers Bool 
OptArpCacheTimeout Word32 
OptUseRFC1042EthernetEncapsulation Bool 
OptTcpDefaultTTL Word8 
OptTcpKeepaliveInterval Word32 
OptTcpKeepaliveUseGarbage Bool 
OptNisDomainName NVTAsciiString 
OptNisServers [IP4] 
OptNtpServers [IP4] 
OptVendorSpecific ByteString 
OptNetBiosNameServers [IP4] 
OptNetBiosDistributionServers [IP4] 
OptNetBiosNodeType NetBiosNodeType 
OptNetBiosScope NVTAsciiString 
OptXWindowsFontServer [IP4] 
OptXWindowsDisplayManagers [IP4] 
OptNisPlusDomain NVTAsciiString 
OptNisPlusServers [IP4] 
OptSmtpServers [IP4] 
OptPopServers [IP4] 
OptNntpServers [IP4] 
OptWwwServers [IP4] 
OptFingerServers [IP4] 
OptIrcServers [IP4] 
OptStreetTalkServers [IP4] 
OptStreetTalkDirectoryAssistanceServers [IP4] 
OptFQDN NVTAsciiString 
OptRequestIPAddress IP4 
OptIPAddressLeaseTime Word32 
OptOverload OverloadOption 
OptTftpServer NVTAsciiString 
OptBootfileName NVTAsciiString 
OptMessageType Dhcp4MessageType 
OptServerIdentifier IP4 
OptParameterRequestList [OptionTagOrError] 
OptErrorMessage NVTAsciiString 
OptMaxDHCPMessageSize Word16 
OptRenewalTime Word32 
OptRebindingTime Word32 
OptVendorClass NVTAsciiString 
OptClientIdentifier ByteString 
OptNetWareDomainName NVTAsciiString 
OptNetWareInfo ByteString 
OptAutoconfiguration Bool 

data Dhcp4OptionTag Source

Constructors

OptTagPad 
OptTagEnd 
OptTagSubnetMask 
OptTagTimeOffset 
OptTagRouters 
OptTagTimeServers 
OptTagIEN116NameServers 
OptTagNameServers 
OptTagLogServers 
OptTagCookieServers 
OptTagLPRServers 
OptTagImpressServers 
OptTagResourceLocationServers 
OptTagHostName 
OptTagBootFileSize 
OptTagMeritDumpFile 
OptTagDomainName 
OptTagSwapServer 
OptTagRootPath 
OptTagExtensionsPath 
OptTagEnableIPForwarding 
OptTagEnableNonLocalSourceRouting 
OptTagPolicyFilters 
OptTagMaximumDatagramReassemblySize 
OptTagDefaultTTL 
OptTagPathMTUAgingTimeout 
OptTagPathMTUPlateauTable 
OptTagInterfaceMTU 
OptTagAllSubnetsAreLocal 
OptTagBroadcastAddress 
OptTagPerformMaskDiscovery 
OptTagShouldSupplyMasks 
OptTagShouldPerformRouterDiscovery 
OptTagRouterSolicitationAddress 
OptTagStaticRoutes 
OptTagShouldNegotiateArpTrailers 
OptTagArpCacheTimeout 
OptTagUseRFC1042EthernetEncapsulation 
OptTagTcpDefaultTTL 
OptTagTcpKeepaliveInterval 
OptTagTcpKeepaliveUseGarbage 
OptTagNisDomainName 
OptTagNisServers 
OptTagNtpServers 
OptTagVendorSpecific 
OptTagNetBiosNameServers 
OptTagNetBiosDistributionServers 
OptTagNetBiosNodeType 
OptTagNetBiosScope 
OptTagXWindowsFontServer 
OptTagXWindowsDisplayManagers 
OptTagNisPlusDomain 
OptTagNisPlusServers 
OptTagSmtpServers 
OptTagPopServers 
OptTagNntpServers 
OptTagWwwServers 
OptTagFingerServers 
OptTagIrcServers 
OptTagStreetTalkServers 
OptTagStreetTalkDirectoryAssistanceServers 
OptTagFQDN 
OptTagRequestIPAddress 
OptTagIPAddressLeaseTime 
OptTagOverload 
OptTagTftpServer 
OptTagBootfileName 
OptTagMessageType 
OptTagServerIdentifier 
OptTagParameterRequestList 
OptTagErrorMessage 
OptTagMaxDHCPMessageSize 
OptTagRenewalTime 
OptTagRebindingTime 
OptTagVendorClass 
OptTagClientIdentifier 
OptTagNetWareDomainName 
OptTagNetWareInfo 
OptTagAutoconfiguration 

eatPad :: Monad m => Either ControlTag Dhcp4Option -> m () Source

eatPad fails on any non ControlPad option with an error message.

replicateA :: Applicative f => Int -> f a -> f [a] Source

repeatedly :: Get a -> Get [a] Source

fixedLen :: Int -> Get a -> Get a Source