Lines Matching refs:data_ptr

3181             const uint8_t * data_ptr = content + MDNS_DATA_OFFSET;  in mdns_parse_packet()  local
3184 content = data_ptr + data_len; in mdns_parse_packet()
3222 if (!_mdns_parse_fqdn(data, data_ptr, name)) { in mdns_parse_packet()
3262 if (!_mdns_parse_fqdn(data, data_ptr + MDNS_SRV_FQDN_OFFSET, name)) { in mdns_parse_packet()
3265 uint16_t priority = _mdns_read_u16(data_ptr, MDNS_SRV_PRIORITY_OFFSET); in mdns_parse_packet()
3266 uint16_t weight = _mdns_read_u16(data_ptr, MDNS_SRV_WEIGHT_OFFSET); in mdns_parse_packet()
3267 uint16_t port = _mdns_read_u16(data_ptr, MDNS_SRV_PORT_OFFSET); in mdns_parse_packet()
3358 … _mdns_result_txt_create(data_ptr, data_len, &txt, &txt_value_len, &txt_count); in mdns_parse_packet()
3366 … _mdns_result_txt_create(data_ptr, data_len, &txt, &txt_value_len, &txt_count); in mdns_parse_packet()
3383 col = _mdns_check_txt_collision(service->service, data_ptr, data_len); in mdns_parse_packet()
3398 memcpy(ip6.u_addr.ip6.addr, data_ptr, MDNS_ANSWER_AAAA_SIZE); in mdns_parse_packet()
3448 memcpy(&(ip.u_addr.ip4.addr), data_ptr, 4); in mdns_parse_packet()
5677 const uint8_t * data_ptr = content + MDNS_DATA_OFFSET; in mdns_debug_packet() local
5681 content = data_ptr + data_len; in mdns_debug_packet()
5735 if (!_mdns_parse_fqdn(data, data_ptr, name)) { in mdns_debug_packet()
5741 if (!_mdns_parse_fqdn(data, data_ptr + MDNS_SRV_FQDN_OFFSET, name)) { in mdns_debug_packet()
5745 uint16_t priority = _mdns_read_u16(data_ptr, MDNS_SRV_PRIORITY_OFFSET); in mdns_debug_packet()
5746 uint16_t weight = _mdns_read_u16(data_ptr, MDNS_SRV_WEIGHT_OFFSET); in mdns_debug_packet()
5747 uint16_t port = _mdns_read_u16(data_ptr, MDNS_SRV_PORT_OFFSET); in mdns_debug_packet()
5752 uint8_t partLen = data_ptr[i++]; in mdns_debug_packet()
5759 char d = data_ptr[i++]; in mdns_debug_packet()
5771 memcpy(&ip6, data_ptr, sizeof(esp_ip6_addr_t)); in mdns_debug_packet()
5775 memcpy(&ip, data_ptr, sizeof(esp_ip4_addr_t)); in mdns_debug_packet()
5778 const uint8_t * old_ptr = data_ptr; in mdns_debug_packet()
5779 const uint8_t * new_ptr = _mdns_parse_fqdn(data, data_ptr, name); in mdns_debug_packet()
5784 data_ptr = new_ptr; in mdns_debug_packet()
5788 _mdns_dbg_printf(" %02x", data_ptr[i]); in mdns_debug_packet()
5792 uint16_t opCode = _mdns_read_u16(data_ptr, 0); in mdns_debug_packet()
5793 uint16_t opLen = _mdns_read_u16(data_ptr, 2); in mdns_debug_packet()
5797 _mdns_dbg_printf(" %02x", data_ptr[i]); in mdns_debug_packet()
5803 _mdns_dbg_printf(" %02x", data_ptr[i]); in mdns_debug_packet()