class MdnsPacket
Defined at line 149 of file ../../src/firmware/gigaboot/cpp/mdns.h
Forward declaration.
Public Methods
void MdnsPacket (const Ip6Addr & src, const DnsHeader & dns_header, fbl::Vector<DnsNameSegment> segments, fbl::Vector<DnsRecord> records)
Defined at line 151 of file ../../src/firmware/gigaboot/cpp/mdns.h
void MdnsPacket (const Ip6Addr & src, const DnsHeader & dns_header, fbl::Vector<DnsNameSegment> segments, fbl::Vector<DnsRecord> records)
Defined at line 151 of file ../../src/firmware/gigaboot/cpp/mdns.h
fit::result<efi_status, std::span<const uint8_t>> Serialize (zx::duration time_to_live)
Lazily serialize the packet using the passed in time to live value.
Return a span describing the serialized packet on success, EFI_BUFFER_TOO_SMALL on error.
Defined at line 171 of file ../../src/firmware/gigaboot/cpp/mdns.cc
void ResetPayload ()
Reset the payload end pointer and cached time-to-live.
Does NOT blank the payload contents and does NOT reset any headers.
Defined at line 177 of file ../../src/firmware/gigaboot/cpp/mdns.h
Friends
class DnsContext