Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
Documentation
data IcmpTypeCode Source #
Describes the ICMP type and code.
See: newIcmpTypeCode
smart constructor.
Instances
newIcmpTypeCode :: IcmpTypeCode Source #
Create a value of IcmpTypeCode
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:IcmpTypeCode'
, icmpTypeCode_code
- The ICMP code. A value of -1 means all codes for the specified ICMP
type.
$sel:type':IcmpTypeCode'
, icmpTypeCode_type
- The ICMP type. A value of -1 means all types.
icmpTypeCode_code :: Lens' IcmpTypeCode (Maybe Int) Source #
The ICMP code. A value of -1 means all codes for the specified ICMP type.
icmpTypeCode_type :: Lens' IcmpTypeCode (Maybe Int) Source #
The ICMP type. A value of -1 means all types.