...

Text file src/github.com/linkerd/linkerd2/proto/common/net.proto

Documentation: github.com/linkerd/linkerd2/proto/common

     1syntax = "proto3";
     2
     3package linkerd2.common.net;
     4
     5option go_package = "github.com/linkerd/linkerd2/controller/gen/common/net";
     6
     7message IPAddress {
     8  oneof ip {
     9    fixed32 ipv4 = 1;
    10    IPv6 ipv6 = 2;
    11  }
    12}
    13
    14message IPv6 {
    15  fixed64 first = 1; // hextets 1-4
    16  fixed64 last = 2; // hextets 5-8
    17}
    18
    19message TcpAddress {
    20  IPAddress ip = 1;
    21  uint32 port = 2;
    22}
    23

View as plain text