1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-04-07 22:35:55 -04:00
Files
v2fly/common/packetswitch/gvisorstack/config.proto
2026-03-14 16:16:00 +00:00

30 lines
1006 B
Protocol Buffer

syntax = "proto3";
package v2ray.core.common.packetswitch.gvisorstack;
option csharp_namespace = "V2Ray.Core.Common.Packetswitch.Gvisorstack";
option go_package = "github.com/v2fly/v2ray-core/v5/common/packetswitch/gvisorstack";
option java_package = "com.v2ray.core.common.packetswitch.gvisorstack";
option java_multiple_files = true;
import "app/router/routercommon/common.proto";
import "transport/internet/config.proto";
import "common/protoext/extensions.proto";
message TCPListener {
uint32 port = 1;
v2ray.core.app.router.routercommon.CIDR address = 2;
string tag = 3;
}
message Config {
uint32 mtu = 2;
uint32 user_level = 3;
repeated v2ray.core.app.router.routercommon.CIDR ips = 6;
repeated v2ray.core.app.router.routercommon.CIDR routes = 7;
bool enable_promiscuous_mode = 8;
bool enable_spoofing = 9;
v2ray.core.transport.internet.SocketConfig socket_settings = 10;
bool prefer_ipv6_for_udp = 11;
bool dual_stack_udp = 12;
repeated TCPListener tcp_listener = 13;
}