| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Net.Types
- newtype IPv4 = IPv4 {}
- data IPv4Range = IPv4Range {
- ipv4RangeBase :: !IPv4
- ipv4RangeLength :: !Word8
- data Mac = Mac {}
- data MacEncoding = MacEncoding {}
- newtype MacDecoding = MacDecoding {}
Documentation
A 32-bit Internet Protocol 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 | |
| Hashable IPv4 Source | |
| Prim IPv4 Source | |
| Unbox IPv4 Source | |
| Vector Vector IPv4 Source | |
| MVector MVector IPv4 Source | |
| type Rep IPv4 Source | |
| data Vector IPv4 = V_IPv4 (Vector IPv4) Source | |
| data MVector s IPv4 = MV_IPv4 (MVector s IPv4) Source |
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
| Eq IPv4Range Source | |
| Ord IPv4Range Source | |
| Read IPv4Range Source | |
| Show IPv4Range Source | |
| Generic IPv4Range Source | |
| ToJSON IPv4Range Source | |
| FromJSON IPv4Range Source | |
| Hashable IPv4Range Source | |
| Unbox IPv4Range Source | |
| Vector Vector IPv4Range Source | |
| MVector MVector IPv4Range Source | |
| type Rep IPv4Range Source | |
| data Vector IPv4Range = V_IPv4Range !Int !(Vector IPv4) !(Vector Word8) Source | |
| data MVector s IPv4Range = MV_IPv4Range !Int !(MVector s IPv4) !(MVector s Word8) Source |
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 = V_Mac !Int !(Vector Word16) !(Vector Word32) Source | |
| data MVector s Mac = MV_Mac !Int !(MVector s Word16) !(MVector s Word32) Source |
data MacEncoding Source
Constructors
| MacEncoding | |
Fields
| |
newtype MacDecoding Source
Constructors
| MacDecoding | |
Fields | |