Searched refs:addr_ptrs (Results 1 – 1 of 1) sorted by relevance
374 } addr_ptrs = { in coap_service_start() local393 zsock_inet_pton(AF_INET6, service->host, &addr_ptrs.addr6->sin6_addr) == 1) { in coap_service_start()398 addr_ptrs.addr6->sin6_family = AF_INET6; in coap_service_start()399 addr_ptrs.addr6->sin6_port = htons(*service->port); in coap_service_start()401 zsock_inet_pton(AF_INET, service->host, &addr_ptrs.addr4->sin_addr) == 1) { in coap_service_start()406 addr_ptrs.addr4->sin_family = AF_INET; in coap_service_start()407 addr_ptrs.addr4->sin_port = htons(*service->port); in coap_service_start()413 addr_ptrs.addr6->sin6_family = AF_INET6; in coap_service_start()414 addr_ptrs.addr6->sin6_port = htons(*service->port); in coap_service_start()419 addr_ptrs.addr4->sin_family = AF_INET; in coap_service_start()[all …]