| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Net.Types
- newtype IPv4 = IPv4 {}
- data IPv6 = IPv6 {}
- newtype IP = IP {}
- data IPv4Range = IPv4Range {
- ipv4RangeBase :: !IPv4
- ipv4RangeLength :: !Word8
- data Mac = Mac {}
- data MacEncoding = MacEncoding {}
- newtype MacDecoding = MacDecoding {}
Documentation
A 32-bit Internet Protocol version 4 address.
Instances
| Bounded IPv4 Source # | |
| Enum IPv4 Source # | |
| Eq IPv4 Source # | |
| Ord IPv4 Source # | |
| Read IPv4 Source # | |
| Show IPv4 Source # | |
| Generic IPv4 Source # | |
| ToJSON IPv4 Source # | |
| FromJSON IPv4 Source # | |
| Bits IPv4 Source # | |
| FiniteBits IPv4 Source # | |
| Hashable IPv4 Source # | |
| Prim IPv4 Source # | |
| Unbox IPv4 Source # | |
| Vector Vector IPv4 Source # | |
| MVector MVector IPv4 Source # | |
| type Rep IPv4 Source # | |
| data Vector IPv4 Source # | |
| data MVector s IPv4 Source # | |
A 128-bit Internet Protocol version 6 address.
The length should be between 0 and 32. These bounds are inclusive. This expectation is not in any way enforced by this library because it does not cause errors. A mask length greater than 32 will be treated as if it were 32.
Constructors
| IPv4Range | |
Fields
| |
Instances
A 48-bit MAC address.
Instances
| Eq Mac Source # | |
| Ord Mac Source # | |
| Read Mac Source # | |
| Show Mac Source # | |
| Generic Mac Source # | |
| ToJSON Mac Source # | |
| FromJSON Mac Source # | |
| Hashable Mac Source # | |
| Unbox Mac Source # | |
| Vector Vector Mac Source # | |
| MVector MVector Mac Source # | |
| type Rep Mac Source # | |
| data Vector Mac Source # | |
| data MVector s Mac Source # | |
data MacEncoding Source #
Constructors
| MacEncoding | |
Fields
| |
Instances
newtype MacDecoding Source #
Constructors
| MacDecoding | |
Fields | |