1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-19 10:56:06 -05:00
v2fly/transport/internet/config.proto

32 lines
823 B
Protocol Buffer
Raw Normal View History

2016-10-02 17:43:58 -04:00
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";
2016-12-15 05:51:09 -05:00
import "v2ray.com/core/common/serial/typed_message.proto";
2016-10-02 17:43:58 -04:00
message NetworkSettings {
2016-10-17 18:09:49 -04:00
// Type of network that this settings supports.
2016-10-02 17:43:58 -04:00
v2ray.core.common.net.Network network = 1;
2016-10-17 18:09:49 -04:00
// Specific settings.
2016-12-15 05:51:09 -05:00
v2ray.core.common.serial.TypedMessage settings = 2;
2016-10-02 17:43:58 -04:00
}
message StreamConfig {
2016-10-17 18:09:49 -04:00
// Effective network.
2016-10-02 17:43:58 -04:00
v2ray.core.common.net.Network network = 1;
2016-10-17 18:09:49 -04:00
2016-10-02 17:43:58 -04:00
repeated NetworkSettings network_settings = 2;
2016-10-17 18:09:49 -04:00
// Type of security. Must be a message name of the settings proto.
2016-10-16 08:22:21 -04:00
string security_type = 3;
2016-10-17 18:09:49 -04:00
2016-12-15 05:51:09 -05:00
repeated v2ray.core.common.serial.TypedMessage security_settings = 4;
2016-11-10 17:41:28 -05:00
}
message ProxyConfig {
string tag = 1;
2016-10-02 17:43:58 -04:00
}