github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/transport/internet/domainsocket/config.proto (about)

     1  syntax = "proto3";
     2  
     3  package v2ray.core.transport.internet.domainsocket;
     4  option csharp_namespace = "V2Ray.Core.Transport.Internet.DomainSocket";
     5  option go_package = "github.com/v2fly/v2ray-core/v5/transport/internet/domainsocket";
     6  option java_package = "com.v2ray.core.transport.internet.domainsocket";
     7  option java_multiple_files = true;
     8  
     9  import "common/protoext/extensions.proto";
    10  
    11  message Config {
    12    option (v2ray.core.common.protoext.message_opt).type = "transport";
    13    option (v2ray.core.common.protoext.message_opt).short_name = "domainsocket";
    14  
    15    // Path of the domain socket. This overrides the IP/Port parameter from
    16    // upstream caller.
    17    string path = 1;
    18    // Abstract specifies whether to use abstract namespace or not.
    19    // Traditionally Unix domain socket is file system based. Abstract domain
    20    // socket can be used without acquiring file lock.
    21    bool abstract = 2;
    22    // Some apps, eg. haproxy, use the full length of sockaddr_un.sun_path to
    23    // connect(2) or bind(2) when using abstract UDS.
    24    bool padding = 3;
    25  }