Lines Matching refs:params
656 struct virtual_interface_req_params params = { 0 }; in ZTEST() local
664 params.mtu = MTU; in ZTEST()
667 iface, ¶ms, sizeof(params)); in ZTEST()
669 net_if_get_by_iface(iface), params.mtu, ret); in ZTEST()
676 iface, ¶ms, sizeof(params)); in ZTEST()
678 net_if_get_by_iface(iface), params.mtu, ret); in ZTEST()
683 struct virtual_interface_req_params params = { 0 }; in ZTEST() local
687 params.mtu = 0; in ZTEST()
690 iface, ¶ms, sizeof(params)); in ZTEST()
692 net_if_get_by_iface(iface), params.mtu, ret); in ZTEST()
694 zassert_equal(params.mtu, MTU, in ZTEST()
696 net_if_get_by_iface(iface), params.mtu, MTU); in ZTEST()
701 struct virtual_interface_req_params params = { 0 }; in ZTEST() local
709 params.family = peer_addr.sa_family; in ZTEST()
710 if (params.family == AF_INET) { in ZTEST()
711 net_ipaddr_copy(¶ms.peer4addr, in ZTEST()
713 } else if (params.family == AF_INET6) { in ZTEST()
714 net_ipaddr_copy(¶ms.peer6addr, in ZTEST()
717 zassert_true(false, "Invalid family (%d)", params.family); in ZTEST()
721 iface, ¶ms, sizeof(params)); in ZTEST()
731 iface, ¶ms, sizeof(params)); in ZTEST()
752 struct virtual_interface_req_params params = { 0 }; in ZTEST() local
757 iface, ¶ms, sizeof(params)); in ZTEST()
761 zassert_equal(params.family, peer_addr.sa_family, in ZTEST()
763 peer_addr.sa_family, params.family); in ZTEST()
764 if (params.family == AF_INET) { in ZTEST()
765 zassert_mem_equal(¶ms.peer4addr, in ZTEST()
769 } else if (params.family == AF_INET6) { in ZTEST()
770 zassert_mem_equal(¶ms.peer6addr, in ZTEST()
775 zassert_true(false, "Invalid family (%d)", params.family); in ZTEST()
817 struct virtual_interface_req_params params = { 0 }; in ZTEST() local
825 params.family = peer_addr.sa_family; in ZTEST()
826 if (params.family == AF_INET) { in ZTEST()
827 net_ipaddr_copy(¶ms.peer4addr, in ZTEST()
835 } else if (params.family == AF_INET6) { in ZTEST()
836 net_ipaddr_copy(¶ms.peer6addr, in ZTEST()
845 zassert_true(false, "Invalid family (%d)", params.family); in ZTEST()
849 iface, ¶ms, sizeof(params)); in ZTEST()