Lines Matching refs:ipv6
67 struct config ipv6; member
127 ret = zsock_sendto(smp_udp_configs.ipv6.sock, nb->data, nb->len, 0, addr, sizeof(*addr)); in smp_udp6_tx()
285 k_thread_join(&smp_udp_configs.ipv6.thread, K_NO_WAIT) == -EBUSY) { in smp_udp_open_iface()
286 k_sem_give(&smp_udp_configs.ipv6.network_ready_sem); in smp_udp_open_iface()
329 if (k_thread_join(&smp_udp_configs.ipv6.thread, K_NO_WAIT) == 0 || in smp_udp_open()
331 (void)k_sem_reset(&smp_udp_configs.ipv6.network_ready_sem); in smp_udp_open()
332 create_thread(&smp_udp_configs.ipv6, "smp_udp6"); in smp_udp_open()
364 if (k_thread_join(&smp_udp_configs.ipv6.thread, K_NO_WAIT) == -EBUSY) { in smp_udp_close()
365 k_thread_abort(&(smp_udp_configs.ipv6.thread)); in smp_udp_close()
367 if (smp_udp_configs.ipv6.sock >= 0) { in smp_udp_close()
368 zsock_close(smp_udp_configs.ipv6.sock); in smp_udp_close()
369 smp_udp_configs.ipv6.sock = -1; in smp_udp_close()
408 smp_udp_configs.ipv6.proto = PROTOCOL_IPV6; in smp_udp_start()
409 smp_udp_configs.ipv6.sock = -1; in smp_udp_start()
411 k_sem_init(&smp_udp_configs.ipv6.network_ready_sem, 0, 1); in smp_udp_start()
412 smp_udp_configs.ipv6.smp_transport.functions.output = smp_udp6_tx; in smp_udp_start()
413 smp_udp_configs.ipv6.smp_transport.functions.get_mtu = smp_udp_get_mtu; in smp_udp_start()
414 smp_udp_configs.ipv6.smp_transport.functions.ud_copy = smp_udp_ud_copy; in smp_udp_start()
416 rc = smp_transport_init(&smp_udp_configs.ipv6.smp_transport); in smp_udp_start()
419 smp_udp_configs.ipv6_transport.smpt = &smp_udp_configs.ipv6.smp_transport; in smp_udp_start()