| // Copyright 2021 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. |
| |
| // This shard includes the set of capabilities that are used or exposed |
| // specifically by Netstack2 in all environments and configurations, including |
| // test environments and production. |
| // |
| // It does not include capabilities that are common between Netstack2 and |
| // Netstack3. |
| { |
| program: { |
| runner: "elf", |
| }, |
| capabilities: [ |
| { |
| protocol: [ |
| "fuchsia.net.filter.deprecated.Filter", |
| "fuchsia.net.multicast.admin.Ipv4RoutingTableController", |
| "fuchsia.net.stack.Log", |
| ], |
| }, |
| |
| // TODO(https://fxbug.dev/324494668): remove this when Netstack2 is gone. |
| { |
| directory: "diagnostics", |
| rights: [ "connect" ], |
| path: "/diagnostics", |
| }, |
| ], |
| use: [ |
| { |
| protocol: "fuchsia.diagnostics.persist.DataPersistence-netstack", |
| availability: "optional", |
| }, |
| { |
| directory: "config-data", |
| rights: [ "r*" ], |
| path: "/config/data", |
| }, |
| ], |
| expose: [ |
| { |
| protocol: [ |
| "fuchsia.net.filter.deprecated.Filter", |
| "fuchsia.net.multicast.admin.Ipv4RoutingTableController", |
| "fuchsia.net.stack.Log", |
| ], |
| from: "self", |
| }, |
| |
| // TODO(https://fxbug.dev/324494668): remove this when Netstack2 is gone. |
| { |
| directory: "diagnostics", |
| from: "self", |
| }, |
| ], |
| } |