Lines Matching refs:addr_str
1164 char addr_str[INET6_ADDRSTRLEN + 8 + 1]; in coap_send_internal() local
1168 addr_str[sizeof(addr_str)-1] = '\000'; in coap_send_internal()
1169 if (coap_print_addr(&session->addr_info.local, (uint8_t*)addr_str, in coap_send_internal()
1170 sizeof(addr_str) - 1)) { in coap_send_internal()
1174 if (addr_str[0] == '[') { in coap_send_internal()
1175 cp = strchr(addr_str, ']'); in coap_send_internal()
1177 if (memcmp(&addr_str[1], "::ffff:", 7) == 0) { in coap_send_internal()
1179 cp = &addr_str[8]; in coap_send_internal()
1182 cp = &addr_str[1]; in coap_send_internal()
1186 cp = strchr(addr_str, ':'); in coap_send_internal()
1188 cp = addr_str; in coap_send_internal()
3477 char addr_str[INET6_ADDRSTRLEN + 8 + 1]; in coap_join_mcast_group_intf() local
3479 addr_str[sizeof(addr_str)-1] = '\000'; in coap_join_mcast_group_intf()
3480 if (coap_print_addr(&gaddr, (uint8_t*)addr_str, in coap_join_mcast_group_intf()
3481 sizeof(addr_str) - 1)) { in coap_join_mcast_group_intf()
3483 coap_log(LOG_DEBUG, "added mcast group %s i/f %s\n", addr_str, in coap_join_mcast_group_intf()
3486 coap_log(LOG_DEBUG, "added mcast group %s\n", addr_str); in coap_join_mcast_group_intf()