hans-3.0.2: Network Stack
Hans.Addr.Types
data Addr Source #
Constructors
Instances
Methods
(==) :: Addr -> Addr -> Bool #
(/=) :: Addr -> Addr -> Bool #
compare :: Addr -> Addr -> Ordering #
(<) :: Addr -> Addr -> Bool #
(<=) :: Addr -> Addr -> Bool #
(>) :: Addr -> Addr -> Bool #
(>=) :: Addr -> Addr -> Bool #
max :: Addr -> Addr -> Addr #
min :: Addr -> Addr -> Addr #
showsPrec :: Int -> Addr -> ShowS #
show :: Addr -> String #
showList :: [Addr] -> ShowS #
Associated Types
type Rep Addr :: * -> * #
from :: Addr -> Rep Addr x #
to :: Rep Addr x -> Addr #
hashWithSalt :: Int -> Addr -> Int #
hash :: Addr -> Int #
toAddr :: Addr -> Addr Source #
fromAddr :: Addr -> Maybe Addr Source #
isWildcardAddr :: Addr -> Bool Source #
wildcardAddr :: Addr -> Addr Source #
isBroadcastAddr :: Addr -> Bool Source #
broadcastAddr :: Addr -> Addr Source #
pseudoHeader :: Addr -> Addr -> NetworkProtocol -> Int -> PartialChecksum Source #
lookupRoute :: HasNetworkStack ns => ns -> Addr -> IO (Maybe (RouteInfo Addr)) Source #
sendDatagram' :: HasNetworkStack ns => ns -> Device -> Addr -> Addr -> Addr -> Bool -> NetworkProtocol -> ByteString -> IO () Source #
putAddr :: Addr -> Put Source #
showAddr :: Addr -> ShowS Source #
sameFamily :: Addr -> Addr -> Bool Source #