Searched refs:addr_str (Results 1 – 4 of 4) sorted by relevance
/net-tools-3.6.0/libcoap/src/ |
D | coap_io.c | 183 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/ |
D | coap-server.c | 454 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()
|
D | etsi_iot_01.c | 680 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()
|
D | coap-rd.c | 681 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()
|