class MDNS::RR::Option
- MDNS::RR::Option
- BinData
- Reference
- Object
Overview
described by https://tools.ietf.org/html/rfc2671
Defined in:
dns/resource_records/option.crConstant Summary
-
ENDIAN =
["big"]
-
described by https://tools.ietf.org/html/rfc2671
-
KLASS_NAME =
[MDNS::RR::Option]
-
described by https://tools.ietf.org/html/rfc2671
-
PARTS =
[{type: "basic", name: code, cls: UInt16, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: data_size, cls: UInt16, onlyif: nil, verify: nil, value: -> do data.size.to_u8 end}, {type: "bytes", name: data, cls: Bytes, onlyif: nil, verify: nil, length: -> do data_size end, value: nil}] of Nil
-
described by https://tools.ietf.org/html/rfc2671
-
REMAINING =
[] of Nil
-
described by https://tools.ietf.org/html/rfc2671
Class Method Summary
-
.bit_fields
described by https://tools.ietf.org/html/rfc2671
Instance Method Summary
- #__format__ : IO::ByteFormat
- #code : UInt16
- #code=(code : UInt16)
- #data : Bytes
- #data=(data : Bytes)
- #data_size : UInt16
- #data_size=(data_size : UInt16)
- #max_udp_payload : Int32
- #max_udp_payload=(max_udp_payload : Int32)
Macro Summary
-
mdns_domain_name_component(name, onlyif = nil, verify = nil, value = nil)
described by https://tools.ietf.org/html/rfc2671
-
mdns_domain_name_pointer(name, onlyif = nil, verify = nil, value = nil)
described by https://tools.ietf.org/html/rfc2671
-
mdns_query(name, onlyif = nil, verify = nil, value = nil)
described by https://tools.ietf.org/html/rfc2671
-
mdns_rr_option(name, onlyif = nil, verify = nil, value = nil)
described by https://tools.ietf.org/html/rfc2671
Class Method Detail
Instance Method Detail
Macro Detail
described by https://tools.ietf.org/html/rfc2671
described by https://tools.ietf.org/html/rfc2671
described by https://tools.ietf.org/html/rfc2671
described by https://tools.ietf.org/html/rfc2671