blob: 41fbc4a993c563695ebf50f36a607c5744014b31 [file]
// Copyright 2026 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.net.policy.testing;
using fuchsia.net.policy.socketproxy;
@discoverable
closed protocol FakeSocketProxy {
// TODO(https://fxbug.dev/477980011): This is unnecessary once
// DNS servers are derived from NetworkRegistry updates.
/// Sets a list of DNS servers that should be reported via
/// [`fuchsia.net.policy.socketproxy.DnsServerWatcher`].
strict SetDns(struct {
servers vector<fuchsia.net.policy.socketproxy.DnsServerList>:MAX;
}) -> ();
};