Lines Matching refs:ipaddr
334 static char *get_ip_addr(char *ipaddr, size_t len, sa_family_t family, in get_ip_addr() argument
339 buf = net_addr_ntop(family, hdr->nm_msg, ipaddr, len); in get_ip_addr()
398 char ipaddr[INET6_ADDRSTRLEN]; in test_net_mgmt_catch_events() local
427 get_ip_addr(ipaddr, sizeof(ipaddr), in test_net_mgmt_catch_events()
429 zassert_equal(strncmp(ipaddr, "2001:db8::3", in test_net_mgmt_catch_events()
430 sizeof(ipaddr) - 1), 0, in test_net_mgmt_catch_events()
432 ipaddr); in test_net_mgmt_catch_events()
438 get_ip_addr(ipaddr, sizeof(ipaddr), in test_net_mgmt_catch_events()
440 zassert_equal(strncmp(ipaddr, "2001:db8::3", in test_net_mgmt_catch_events()
441 sizeof(ipaddr) - 1), 0, in test_net_mgmt_catch_events()
443 ipaddr); in test_net_mgmt_catch_events()