_mdns_append_aaaa_record() function
appends AAAA record to a packet, incrementing the index
Arguments
index
offset in the packet
hostname
the hostname address to add
ipv6
the IPv6 address to add
Return value
length of added data: 0 on error or length on success