class MDNS::Resource
- MDNS::Resource
- MDNS::DomainNamePointer
- BinData
- Reference
- Object
Overview
Inheriting the domain name structure and extending it with resource info
Defined in:
dns/resource.crConstant Summary
-
ENDIAN =
["big"]
-
Inheriting the domain name structure and extending it with resource info
-
KLASS_NAME =
[MDNS::Resource]
-
Inheriting the domain name structure and extending it with resource info
-
PARTS =
[{type: "enum", name: type, cls: UInt16, onlyif: nil, verify: nil, value: nil, encoding: Type}, {type: "bitfield", name: 2, cls: MDNS::Resource, onlyif: nil, verify: nil}, {type: "basic", name: raw_ttl, cls: UInt32, 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
-
Inheriting the domain name structure and extending it with resource info
-
REMAINING =
[] of Nil
-
Inheriting the domain name structure and extending it with resource info
Class Method Summary
-
.bit_fields
Inheriting the domain name structure and extending it with resource info
Instance Method Summary
- #__format__ : IO::ByteFormat
- #data : Bytes
- #data=(data : Bytes)
- #data_size : UInt16
- #data_size=(data_size : UInt16)
- #flush_cache : Bool
- #flush_cache=(flush_cache : UInt8)
- #flush_cache=(value : Bool)
- #payload
- #raw_ttl : UInt32
- #raw_ttl=(raw_ttl : UInt32)
- #record_class
- #record_class=(klass : RecordClass)
- #record_class_raw : UInt16
- #record_class_raw=(record_class_raw : UInt16)
- #ttl
- #ttl=(period : Time::Span)
- #type : Type
- #type=(type : Type)
Macro Summary
-
mdns_domain_name_component(name, onlyif = nil, verify = nil, value = nil)
Inheriting the domain name structure and extending it with resource info
-
mdns_domain_name_pointer(name, onlyif = nil, verify = nil, value = nil)
Inheriting the domain name structure and extending it with resource info
-
mdns_query(name, onlyif = nil, verify = nil, value = nil)
Inheriting the domain name structure and extending it with resource info
-
mdns_resource(name, onlyif = nil, verify = nil, value = nil)
Inheriting the domain name structure and extending it with resource info
-
mdns_rr_character_string(name, onlyif = nil, verify = nil, value = nil)
Inheriting the domain name structure and extending it with resource info
-
mdns_rr_hardware_info(name, onlyif = nil, verify = nil, value = nil)
Inheriting the domain name structure and extending it with resource info
-
mdns_rr_mail_exchange(name, onlyif = nil, verify = nil, value = nil)
Inheriting the domain name structure and extending it with resource info
-
mdns_rr_option(name, onlyif = nil, verify = nil, value = nil)
Inheriting the domain name structure and extending it with resource info
-
mdns_rr_service(name, onlyif = nil, verify = nil, value = nil)
Inheriting the domain name structure and extending it with resource info
Instance methods inherited from class MDNS::DomainNamePointer
__format__ : IO::ByteFormat
__format__,
raw_domain_name : Array(DomainNameComponent)
raw_domain_name,
raw_domain_name=(raw_domain_name : Array(DomainNameComponent))
raw_domain_name=
Class methods inherited from class MDNS::DomainNamePointer
bit_fields
bit_fields
Instance methods inherited from module MDNS::DomainNameHelpers
domain_name
domain_name,
domain_name=(name)
domain_name=,
original_io : IO::Memory | Nil
original_io,
original_io=(original_io : IO::Memory | Nil)
original_io=,
set_io(io : IO::Memory | Nil)
set_io
Class Method Detail
Instance Method Detail
Macro Detail
Inheriting the domain name structure and extending it with resource info
Inheriting the domain name structure and extending it with resource info
Inheriting the domain name structure and extending it with resource info
Inheriting the domain name structure and extending it with resource info
Inheriting the domain name structure and extending it with resource info
Inheriting the domain name structure and extending it with resource info
Inheriting the domain name structure and extending it with resource info
Inheriting the domain name structure and extending it with resource info
Inheriting the domain name structure and extending it with resource info