mirror of https://github.com/v2ray/v2ray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
773 B
28 lines
773 B
syntax = "proto3";
|
|
|
|
package v2ray.core.transport.internet;
|
|
option go_package = "internet";
|
|
option java_package = "com.v2ray.core.transport.internet";
|
|
|
|
import "v2ray.com/core/common/net/network.proto";
|
|
import "v2ray.com/core/common/loader/type.proto";
|
|
|
|
message NetworkSettings {
|
|
// Type of network that this settings supports.
|
|
v2ray.core.common.net.Network network = 1;
|
|
|
|
// Specific settings.
|
|
v2ray.core.common.loader.TypedSettings settings = 2;
|
|
}
|
|
|
|
message StreamConfig {
|
|
// Effective network.
|
|
v2ray.core.common.net.Network network = 1;
|
|
|
|
repeated NetworkSettings network_settings = 2;
|
|
|
|
// Type of security. Must be a message name of the settings proto.
|
|
string security_type = 3;
|
|
|
|
repeated v2ray.core.common.loader.TypedSettings security_settings = 4;
|
|
} |