Lines Matching defs:addr
115 #define REVERSE_PTR_V4_DOMAIN "in-addr"
503 * like 12.0.168.192.in-addr.arpa. for 192.168.0.12
505 * @param addr Pointer to an IPv4 address to encode
509 mdns_build_reverse_v4_domain(struct mdns_domain *domain, const ip4_addr_t *addr)
516 if (!domain || !addr) {
520 ptr = (const u8_t *) addr;
545 * @param addr Pointer to an IPv6 address to encode
549 mdns_build_reverse_v6_domain(struct mdns_domain *domain, const ip6_addr_t *addr)
555 if (!domain || !addr) {
559 ptr = (const u8_t *) addr;
1179 /** Write a 4.3.2.1.in-addr.arpa -> hostname.local PTR RR to outpacket */
1682 /* TODO this clears all AAAA responses if first addr is set as known */
1853 mdns_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, u16_t port)
1863 LWIP_DEBUGF(MDNS_DEBUG, ("MDNS: Received IPv%d MDNS packet, len %d\n", IP_IS_V6(addr) ? 6 : 4, p->tot_len));
1882 SMEMCPY(&packet.source_addr, addr, sizeof(packet.source_addr));