Home
last modified time | relevance | path

Searched refs:addr_str (Results 1 – 4 of 4) sorted by relevance

/net-tools-3.6.0/libcoap/src/
Dcoap_io.c183 unsigned char addr_str[INET6_ADDRSTRLEN+8]; in coap_new_endpoint() local
185 if (coap_print_addr(&ep->addr, addr_str, INET6_ADDRSTRLEN+8)) { in coap_new_endpoint()
188 addr_str); in coap_new_endpoint()
551 unsigned char addr_str[INET6_ADDRSTRLEN+8]; in coap_network_read() local
553 if (coap_print_addr(&(*packet)->src, addr_str, INET6_ADDRSTRLEN+8)) { in coap_network_read()
554 debug("received %zd bytes from %s\n", len, addr_str); in coap_network_read()
/net-tools-3.6.0/libcoap/examples/
Dcoap-server.c454 char addr_str[NI_MAXHOST] = "::"; in main() local
464 strncpy(addr_str, optarg, NI_MAXHOST-1); in main()
465 addr_str[NI_MAXHOST - 1] = '\0'; in main()
485 ctx = get_context(addr_str, port_str); in main()
Detsi_iot_01.c680 char addr_str[NI_MAXHOST] = "::"; in main() local
688 strncpy(addr_str, optarg, NI_MAXHOST-1); in main()
689 addr_str[NI_MAXHOST - 1] = '\0'; in main()
706 ctx = get_context(addr_str, port_str); in main()
Dcoap-rd.c681 char addr_str[NI_MAXHOST] = "::"; in main() local
690 strncpy(addr_str, optarg, NI_MAXHOST-1); in main()
691 addr_str[NI_MAXHOST - 1] = '\0'; in main()
711 ctx = get_context(addr_str, port_str); in main()