网络区域的平台配置选项。
| 字段 | 类型 | 说明 | 默认 |
|---|---|---|---|
use_unified_binary |
bool |
控制是否应使用统一的网络二进制文件。 统一二进制文件可为空间受限的产品节省空间,通过链接优化,将多个小型二进制文件换成一个大型二进制文件,其大小小于其各个部分的总和。 | |
networking |
NetworkingConfig |
仅用于控制 `utility` 和 `minimal` feature_set_levels 的网络。 | |
netstack_thread_count |
NetstackThreadCount |
Netstack3 使用的线程数。 如果未指定,系统将使用平台默认值。 | |
netstack_tcp_gro_enabled |
bool |
是否在 Netstack3 中启用 TCP 通用接收分流 (GRO)。 | |
netstack_multi_vmo |
bool |
是否为 Netstack3 中的网络设备会话启用多 VMO 数据路径。 | |
netstack_config_path |
Option |
||
netcfg_config_path |
Option |
||
max_rolling_capture_buffer_size |
uint32 |
滚动数据包捕获缓冲区的大小上限(以字节为单位)。 如果未指定,则将使用平台默认值 (16MB)。 | |
include_tun |
bool |
是否包含 network-tun。 | |
http_client_tcp_receive_buffer_size |
uint64 |
控制 HTTP 客户端套接字的 TCP 接收缓冲区大小 (SO_RCVBUF),以字节为单位。 | |
http_client_stop_on_idle_timeout_millis |
int64 |
控制 HTTP 客户端在空闲状态下等待多长时间,然后将其 FIDL 连接托管回组件框架并退出。 如果该值为负数或留空,则 HTTP 客户端在空闲后不会停止。 | |
google_maps_api_key_path |
Option |