github.com/xraypb/xray-core@v1.6.6/transport/internet/domainsocket/config.proto (about)

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