config.proto 821 B

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