Lines Matching refs:error
171 otError error; in add_ipv6_addr_to_ot() local
221 error = otIp6AddUnicastAddress(openthread_get_default_instance(), in add_ipv6_addr_to_ot()
224 error = OT_ERROR_ALREADY; in add_ipv6_addr_to_ot()
228 if (error == OT_ERROR_ALREADY) { in add_ipv6_addr_to_ot()
232 if (error != OT_ERROR_NONE) { in add_ipv6_addr_to_ot()
234 net_sprint_ipv6_addr(addr6), error); in add_ipv6_addr_to_ot()
244 otError error; in add_ipv6_maddr_to_ot() local
249 error = otIp6SubscribeMulticastAddress(openthread_get_default_instance(), &addr); in add_ipv6_maddr_to_ot()
252 if (error == OT_ERROR_ALREADY) { in add_ipv6_maddr_to_ot()
256 if (error != OT_ERROR_NONE) { in add_ipv6_maddr_to_ot()
258 net_sprint_ipv6_addr(addr6), error); in add_ipv6_maddr_to_ot()