struct mdns_name_segment
Defined at line 64 of file ../../src/firmware/gigaboot/src/mdns.h
Represents a part of a name. Each segment must not have a ".".
`loc` should be set to zero every time a new packet is created.
`next` should point to the next name segment in this name.
e.g. "www.google.com" would correspond to:
struct mdns_name_segment google[3] = {
{.name = "wwww", .loc = 0, .next =
[1], },
{.name = "google", .loc = 0, .next =
[2], },
{.name = "com", .loc = 0, .next = NULL, },
};
Public Members
const char * name
uint16_t loc
struct mdns_name_segment * next