| // Copyright 2023 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. |
| |
| // Common capabilities for Netstack2 and Netstack3. Protocols that are exposed |
| // by the system netstack should be listed here. |
| { |
| include: [ |
| "inspect/offer.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| capabilities: [ |
| { |
| protocol: [ |
| "fuchsia.net.debug.Diagnostics", |
| "fuchsia.net.debug.Interfaces", |
| "fuchsia.net.interfaces.admin.Installer", |
| "fuchsia.net.interfaces.State", |
| "fuchsia.net.multicast.admin.Ipv6RoutingTableController", |
| "fuchsia.net.name.DnsServerWatcher", |
| "fuchsia.net.neighbor.Controller", |
| "fuchsia.net.neighbor.View", |
| "fuchsia.net.root.Interfaces", |
| "fuchsia.net.root.RoutesV4", |
| "fuchsia.net.root.RoutesV6", |
| "fuchsia.net.routes.admin.RouteTableV4", |
| "fuchsia.net.routes.admin.RouteTableV6", |
| "fuchsia.net.routes.State", |
| "fuchsia.net.routes.StateV4", |
| "fuchsia.net.routes.StateV6", |
| "fuchsia.net.stack.Stack", |
| "fuchsia.posix.socket.packet.Provider", |
| "fuchsia.posix.socket.Provider", |
| "fuchsia.posix.socket.raw.Provider", |
| "fuchsia.update.verify.NetstackVerifier", |
| ], |
| }, |
| ], |
| expose: [ |
| { |
| protocol: [ |
| "fuchsia.net.debug.Diagnostics", |
| "fuchsia.net.debug.Interfaces", |
| "fuchsia.net.interfaces.admin.Installer", |
| "fuchsia.net.interfaces.State", |
| "fuchsia.net.multicast.admin.Ipv6RoutingTableController", |
| "fuchsia.net.name.DnsServerWatcher", |
| "fuchsia.net.neighbor.Controller", |
| "fuchsia.net.neighbor.View", |
| "fuchsia.net.root.Interfaces", |
| "fuchsia.net.root.RoutesV4", |
| "fuchsia.net.root.RoutesV6", |
| "fuchsia.net.routes.admin.RouteTableV4", |
| "fuchsia.net.routes.admin.RouteTableV6", |
| "fuchsia.net.routes.State", |
| "fuchsia.net.routes.StateV4", |
| "fuchsia.net.routes.StateV6", |
| "fuchsia.net.stack.Stack", |
| "fuchsia.posix.socket.packet.Provider", |
| "fuchsia.posix.socket.Provider", |
| "fuchsia.posix.socket.raw.Provider", |
| "fuchsia.update.verify.NetstackVerifier", |
| ], |
| from: "self", |
| }, |
| ], |
| } |