blob: d0730da35486b863b76625fa84e4d563b9107ae8 [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.
{
include: [
"inspect/offer.shard.cml",
"syslog/client.shard.cml",
],
program: {
runner: "elf",
binary: "bin/configurable_netstack",
},
children: [
{
name: "netstack",
url: "netstack-debug#meta/netstack3-debug.cm",
},
],
capabilities: [
{ protocol: "fuchsia.netemul.ConfigurableNetstack" },
],
use: [
{
protocol: [
"fuchsia.net.interfaces.admin.Installer",
"fuchsia.net.interfaces.State",
"fuchsia.net.root.RoutesV4",
"fuchsia.net.root.RoutesV6",
"fuchsia.net.stack.Stack",
],
from: "#netstack",
},
],
expose: [
{
protocol: "fuchsia.netemul.ConfigurableNetstack",
from: "self",
},
{
// LINT.IfChange(exposed_protocols)
protocol: [
"fuchsia.net.debug.Diagnostics",
"fuchsia.net.debug.Interfaces",
"fuchsia.net.debug.PacketCaptureProvider",
"fuchsia.net.filter.Control",
"fuchsia.net.filter.SocketControl",
"fuchsia.net.filter.State",
"fuchsia.net.interfaces.admin.Installer",
"fuchsia.net.interfaces.State",
"fuchsia.net.multicast.admin.Ipv4RoutingTableController",
"fuchsia.net.multicast.admin.Ipv6RoutingTableController",
"fuchsia.net.ndp.RouterAdvertisementOptionWatcherProvider",
"fuchsia.net.neighbor.Controller",
"fuchsia.net.neighbor.View",
"fuchsia.net.power.WakeGroupProvider",
"fuchsia.net.root.Filter",
"fuchsia.net.root.Interfaces",
"fuchsia.net.root.RoutesV4",
"fuchsia.net.root.RoutesV6",
"fuchsia.net.routes.admin.RouteTableProviderV4",
"fuchsia.net.routes.admin.RouteTableProviderV6",
"fuchsia.net.routes.admin.RouteTableV4",
"fuchsia.net.routes.admin.RouteTableV6",
"fuchsia.net.routes.admin.RuleTableV4",
"fuchsia.net.routes.admin.RuleTableV6",
"fuchsia.net.routes.State",
"fuchsia.net.routes.StateV4",
"fuchsia.net.routes.StateV6",
"fuchsia.net.settings.Control",
"fuchsia.net.settings.State",
"fuchsia.net.sockets.Control",
"fuchsia.net.sockets.Diagnostics",
"fuchsia.net.stack.Stack",
"fuchsia.posix.socket.packet.Provider",
"fuchsia.posix.socket.Provider",
"fuchsia.posix.socket.raw.Provider",
"fuchsia.update.verify.ComponentOtaHealthCheck",
],
// LINT.ThenChange(//src/connectivity/network/netstack3/meta/netstack3.shard.cml:exposed_protocols)
from: "#netstack",
},
],
}