go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/linux/punt/punt.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.27.1
     4  // 	protoc        v3.17.3
     5  // source: ligato/linux/punt/punt.proto
     6  
     7  package linux_punt
     8  
     9  import (
    10  	_ "go.ligato.io/vpp-agent/v3/proto/ligato"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type PortBased_L4Protocol int32
    25  
    26  const (
    27  	PortBased_UNDEFINED_L4 PortBased_L4Protocol = 0
    28  	PortBased_TCP          PortBased_L4Protocol = 6
    29  	PortBased_UDP          PortBased_L4Protocol = 17
    30  )
    31  
    32  // Enum value maps for PortBased_L4Protocol.
    33  var (
    34  	PortBased_L4Protocol_name = map[int32]string{
    35  		0:  "UNDEFINED_L4",
    36  		6:  "TCP",
    37  		17: "UDP",
    38  	}
    39  	PortBased_L4Protocol_value = map[string]int32{
    40  		"UNDEFINED_L4": 0,
    41  		"TCP":          6,
    42  		"UDP":          17,
    43  	}
    44  )
    45  
    46  func (x PortBased_L4Protocol) Enum() *PortBased_L4Protocol {
    47  	p := new(PortBased_L4Protocol)
    48  	*p = x
    49  	return p
    50  }
    51  
    52  func (x PortBased_L4Protocol) String() string {
    53  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    54  }
    55  
    56  func (PortBased_L4Protocol) Descriptor() protoreflect.EnumDescriptor {
    57  	return file_ligato_linux_punt_punt_proto_enumTypes[0].Descriptor()
    58  }
    59  
    60  func (PortBased_L4Protocol) Type() protoreflect.EnumType {
    61  	return &file_ligato_linux_punt_punt_proto_enumTypes[0]
    62  }
    63  
    64  func (x PortBased_L4Protocol) Number() protoreflect.EnumNumber {
    65  	return protoreflect.EnumNumber(x)
    66  }
    67  
    68  // Deprecated: Use PortBased_L4Protocol.Descriptor instead.
    69  func (PortBased_L4Protocol) EnumDescriptor() ([]byte, []int) {
    70  	return file_ligato_linux_punt_punt_proto_rawDescGZIP(), []int{1, 0}
    71  }
    72  
    73  type PortBased_L3Protocol int32
    74  
    75  const (
    76  	PortBased_UNDEFINED_L3 PortBased_L3Protocol = 0
    77  	PortBased_IPV4         PortBased_L3Protocol = 1
    78  	PortBased_IPV6         PortBased_L3Protocol = 2
    79  	PortBased_ALL          PortBased_L3Protocol = 3
    80  )
    81  
    82  // Enum value maps for PortBased_L3Protocol.
    83  var (
    84  	PortBased_L3Protocol_name = map[int32]string{
    85  		0: "UNDEFINED_L3",
    86  		1: "IPV4",
    87  		2: "IPV6",
    88  		3: "ALL",
    89  	}
    90  	PortBased_L3Protocol_value = map[string]int32{
    91  		"UNDEFINED_L3": 0,
    92  		"IPV4":         1,
    93  		"IPV6":         2,
    94  		"ALL":          3,
    95  	}
    96  )
    97  
    98  func (x PortBased_L3Protocol) Enum() *PortBased_L3Protocol {
    99  	p := new(PortBased_L3Protocol)
   100  	*p = x
   101  	return p
   102  }
   103  
   104  func (x PortBased_L3Protocol) String() string {
   105  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   106  }
   107  
   108  func (PortBased_L3Protocol) Descriptor() protoreflect.EnumDescriptor {
   109  	return file_ligato_linux_punt_punt_proto_enumTypes[1].Descriptor()
   110  }
   111  
   112  func (PortBased_L3Protocol) Type() protoreflect.EnumType {
   113  	return &file_ligato_linux_punt_punt_proto_enumTypes[1]
   114  }
   115  
   116  func (x PortBased_L3Protocol) Number() protoreflect.EnumNumber {
   117  	return protoreflect.EnumNumber(x)
   118  }
   119  
   120  // Deprecated: Use PortBased_L3Protocol.Descriptor instead.
   121  func (PortBased_L3Protocol) EnumDescriptor() ([]byte, []int) {
   122  	return file_ligato_linux_punt_punt_proto_rawDescGZIP(), []int{1, 1}
   123  }
   124  
   125  // Proxy allows to listen on network socket or unix domain socket, and resend to another network/unix domain socket
   126  type Proxy struct {
   127  	state         protoimpl.MessageState
   128  	sizeCache     protoimpl.SizeCache
   129  	unknownFields protoimpl.UnknownFields
   130  
   131  	// Types that are assignable to Rx:
   132  	//	*Proxy_RxPort
   133  	//	*Proxy_RxSocket
   134  	Rx isProxy_Rx `protobuf_oneof:"rx"`
   135  	// Types that are assignable to Tx:
   136  	//	*Proxy_TxPort
   137  	//	*Proxy_TxSocket
   138  	Tx isProxy_Tx `protobuf_oneof:"tx"`
   139  }
   140  
   141  func (x *Proxy) Reset() {
   142  	*x = Proxy{}
   143  	if protoimpl.UnsafeEnabled {
   144  		mi := &file_ligato_linux_punt_punt_proto_msgTypes[0]
   145  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   146  		ms.StoreMessageInfo(mi)
   147  	}
   148  }
   149  
   150  func (x *Proxy) String() string {
   151  	return protoimpl.X.MessageStringOf(x)
   152  }
   153  
   154  func (*Proxy) ProtoMessage() {}
   155  
   156  func (x *Proxy) ProtoReflect() protoreflect.Message {
   157  	mi := &file_ligato_linux_punt_punt_proto_msgTypes[0]
   158  	if protoimpl.UnsafeEnabled && x != nil {
   159  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   160  		if ms.LoadMessageInfo() == nil {
   161  			ms.StoreMessageInfo(mi)
   162  		}
   163  		return ms
   164  	}
   165  	return mi.MessageOf(x)
   166  }
   167  
   168  // Deprecated: Use Proxy.ProtoReflect.Descriptor instead.
   169  func (*Proxy) Descriptor() ([]byte, []int) {
   170  	return file_ligato_linux_punt_punt_proto_rawDescGZIP(), []int{0}
   171  }
   172  
   173  func (m *Proxy) GetRx() isProxy_Rx {
   174  	if m != nil {
   175  		return m.Rx
   176  	}
   177  	return nil
   178  }
   179  
   180  func (x *Proxy) GetRxPort() *PortBased {
   181  	if x, ok := x.GetRx().(*Proxy_RxPort); ok {
   182  		return x.RxPort
   183  	}
   184  	return nil
   185  }
   186  
   187  func (x *Proxy) GetRxSocket() *SocketBased {
   188  	if x, ok := x.GetRx().(*Proxy_RxSocket); ok {
   189  		return x.RxSocket
   190  	}
   191  	return nil
   192  }
   193  
   194  func (m *Proxy) GetTx() isProxy_Tx {
   195  	if m != nil {
   196  		return m.Tx
   197  	}
   198  	return nil
   199  }
   200  
   201  func (x *Proxy) GetTxPort() *PortBased {
   202  	if x, ok := x.GetTx().(*Proxy_TxPort); ok {
   203  		return x.TxPort
   204  	}
   205  	return nil
   206  }
   207  
   208  func (x *Proxy) GetTxSocket() *SocketBased {
   209  	if x, ok := x.GetTx().(*Proxy_TxSocket); ok {
   210  		return x.TxSocket
   211  	}
   212  	return nil
   213  }
   214  
   215  type isProxy_Rx interface {
   216  	isProxy_Rx()
   217  }
   218  
   219  type Proxy_RxPort struct {
   220  	RxPort *PortBased `protobuf:"bytes,1,opt,name=rx_port,json=rxPort,proto3,oneof"`
   221  }
   222  
   223  type Proxy_RxSocket struct {
   224  	RxSocket *SocketBased `protobuf:"bytes,2,opt,name=rx_socket,json=rxSocket,proto3,oneof"`
   225  }
   226  
   227  func (*Proxy_RxPort) isProxy_Rx() {}
   228  
   229  func (*Proxy_RxSocket) isProxy_Rx() {}
   230  
   231  type isProxy_Tx interface {
   232  	isProxy_Tx()
   233  }
   234  
   235  type Proxy_TxPort struct {
   236  	TxPort *PortBased `protobuf:"bytes,3,opt,name=tx_port,json=txPort,proto3,oneof"`
   237  }
   238  
   239  type Proxy_TxSocket struct {
   240  	TxSocket *SocketBased `protobuf:"bytes,4,opt,name=tx_socket,json=txSocket,proto3,oneof"`
   241  }
   242  
   243  func (*Proxy_TxPort) isProxy_Tx() {}
   244  
   245  func (*Proxy_TxSocket) isProxy_Tx() {}
   246  
   247  // Define network socket type
   248  type PortBased struct {
   249  	state         protoimpl.MessageState
   250  	sizeCache     protoimpl.SizeCache
   251  	unknownFields protoimpl.UnknownFields
   252  
   253  	L4Protocol PortBased_L4Protocol `protobuf:"varint,1,opt,name=l4_protocol,json=l4Protocol,proto3,enum=ligato.linux.punt.PortBased_L4Protocol" json:"l4_protocol,omitempty"`
   254  	L3Protocol PortBased_L3Protocol `protobuf:"varint,3,opt,name=l3_protocol,json=l3Protocol,proto3,enum=ligato.linux.punt.PortBased_L3Protocol" json:"l3_protocol,omitempty"`
   255  	Port       uint32               `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"`
   256  }
   257  
   258  func (x *PortBased) Reset() {
   259  	*x = PortBased{}
   260  	if protoimpl.UnsafeEnabled {
   261  		mi := &file_ligato_linux_punt_punt_proto_msgTypes[1]
   262  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   263  		ms.StoreMessageInfo(mi)
   264  	}
   265  }
   266  
   267  func (x *PortBased) String() string {
   268  	return protoimpl.X.MessageStringOf(x)
   269  }
   270  
   271  func (*PortBased) ProtoMessage() {}
   272  
   273  func (x *PortBased) ProtoReflect() protoreflect.Message {
   274  	mi := &file_ligato_linux_punt_punt_proto_msgTypes[1]
   275  	if protoimpl.UnsafeEnabled && x != nil {
   276  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   277  		if ms.LoadMessageInfo() == nil {
   278  			ms.StoreMessageInfo(mi)
   279  		}
   280  		return ms
   281  	}
   282  	return mi.MessageOf(x)
   283  }
   284  
   285  // Deprecated: Use PortBased.ProtoReflect.Descriptor instead.
   286  func (*PortBased) Descriptor() ([]byte, []int) {
   287  	return file_ligato_linux_punt_punt_proto_rawDescGZIP(), []int{1}
   288  }
   289  
   290  func (x *PortBased) GetL4Protocol() PortBased_L4Protocol {
   291  	if x != nil {
   292  		return x.L4Protocol
   293  	}
   294  	return PortBased_UNDEFINED_L4
   295  }
   296  
   297  func (x *PortBased) GetL3Protocol() PortBased_L3Protocol {
   298  	if x != nil {
   299  		return x.L3Protocol
   300  	}
   301  	return PortBased_UNDEFINED_L3
   302  }
   303  
   304  func (x *PortBased) GetPort() uint32 {
   305  	if x != nil {
   306  		return x.Port
   307  	}
   308  	return 0
   309  }
   310  
   311  // Define unix domain socket type for IPC
   312  type SocketBased struct {
   313  	state         protoimpl.MessageState
   314  	sizeCache     protoimpl.SizeCache
   315  	unknownFields protoimpl.UnknownFields
   316  
   317  	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
   318  }
   319  
   320  func (x *SocketBased) Reset() {
   321  	*x = SocketBased{}
   322  	if protoimpl.UnsafeEnabled {
   323  		mi := &file_ligato_linux_punt_punt_proto_msgTypes[2]
   324  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   325  		ms.StoreMessageInfo(mi)
   326  	}
   327  }
   328  
   329  func (x *SocketBased) String() string {
   330  	return protoimpl.X.MessageStringOf(x)
   331  }
   332  
   333  func (*SocketBased) ProtoMessage() {}
   334  
   335  func (x *SocketBased) ProtoReflect() protoreflect.Message {
   336  	mi := &file_ligato_linux_punt_punt_proto_msgTypes[2]
   337  	if protoimpl.UnsafeEnabled && x != nil {
   338  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   339  		if ms.LoadMessageInfo() == nil {
   340  			ms.StoreMessageInfo(mi)
   341  		}
   342  		return ms
   343  	}
   344  	return mi.MessageOf(x)
   345  }
   346  
   347  // Deprecated: Use SocketBased.ProtoReflect.Descriptor instead.
   348  func (*SocketBased) Descriptor() ([]byte, []int) {
   349  	return file_ligato_linux_punt_punt_proto_rawDescGZIP(), []int{2}
   350  }
   351  
   352  func (x *SocketBased) GetPath() string {
   353  	if x != nil {
   354  		return x.Path
   355  	}
   356  	return ""
   357  }
   358  
   359  var File_ligato_linux_punt_punt_proto protoreflect.FileDescriptor
   360  
   361  var file_ligato_linux_punt_punt_proto_rawDesc = []byte{
   362  	0x0a, 0x1c, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2f, 0x70,
   363  	0x75, 0x6e, 0x74, 0x2f, 0x70, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11,
   364  	0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x70, 0x75, 0x6e,
   365  	0x74, 0x1a, 0x18, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
   366  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x83, 0x02, 0x0a, 0x05,
   367  	0x50, 0x72, 0x6f, 0x78, 0x79, 0x12, 0x37, 0x0a, 0x07, 0x72, 0x78, 0x5f, 0x70, 0x6f, 0x72, 0x74,
   368  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e,
   369  	0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x70, 0x75, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x42,
   370  	0x61, 0x73, 0x65, 0x64, 0x48, 0x00, 0x52, 0x06, 0x72, 0x78, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x3d,
   371  	0x0a, 0x09, 0x72, 0x78, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
   372  	0x0b, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78,
   373  	0x2e, 0x70, 0x75, 0x6e, 0x74, 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x42, 0x61, 0x73, 0x65,
   374  	0x64, 0x48, 0x00, 0x52, 0x08, 0x72, 0x78, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x37, 0x0a,
   375  	0x07, 0x74, 0x78, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c,
   376  	0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x70, 0x75,
   377  	0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x42, 0x61, 0x73, 0x65, 0x64, 0x48, 0x01, 0x52, 0x06,
   378  	0x74, 0x78, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x3d, 0x0a, 0x09, 0x74, 0x78, 0x5f, 0x73, 0x6f, 0x63,
   379  	0x6b, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x6c, 0x69, 0x67, 0x61,
   380  	0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x70, 0x75, 0x6e, 0x74, 0x2e, 0x53, 0x6f,
   381  	0x63, 0x6b, 0x65, 0x74, 0x42, 0x61, 0x73, 0x65, 0x64, 0x48, 0x01, 0x52, 0x08, 0x74, 0x78, 0x53,
   382  	0x6f, 0x63, 0x6b, 0x65, 0x74, 0x42, 0x04, 0x0a, 0x02, 0x72, 0x78, 0x42, 0x04, 0x0a, 0x02, 0x74,
   383  	0x78, 0x22, 0xad, 0x02, 0x0a, 0x09, 0x50, 0x6f, 0x72, 0x74, 0x42, 0x61, 0x73, 0x65, 0x64, 0x12,
   384  	0x48, 0x0a, 0x0b, 0x6c, 0x34, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01,
   385  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69,
   386  	0x6e, 0x75, 0x78, 0x2e, 0x70, 0x75, 0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x42, 0x61, 0x73,
   387  	0x65, 0x64, 0x2e, 0x4c, 0x34, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x0a, 0x6c,
   388  	0x34, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x48, 0x0a, 0x0b, 0x6c, 0x33, 0x5f,
   389  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27,
   390  	0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x70, 0x75,
   391  	0x6e, 0x74, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x42, 0x61, 0x73, 0x65, 0x64, 0x2e, 0x4c, 0x33, 0x50,
   392  	0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x0a, 0x6c, 0x33, 0x50, 0x72, 0x6f, 0x74, 0x6f,
   393  	0x63, 0x6f, 0x6c, 0x12, 0x1d, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
   394  	0x0d, 0x42, 0x09, 0x82, 0x7d, 0x06, 0x12, 0x04, 0x10, 0xff, 0xff, 0x03, 0x52, 0x04, 0x70, 0x6f,
   395  	0x72, 0x74, 0x22, 0x30, 0x0a, 0x0a, 0x4c, 0x34, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
   396  	0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x5f, 0x4c, 0x34,
   397  	0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x43, 0x50, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x55,
   398  	0x44, 0x50, 0x10, 0x11, 0x22, 0x3b, 0x0a, 0x0a, 0x4c, 0x33, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
   399  	0x6f, 0x6c, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x5f,
   400  	0x4c, 0x33, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x50, 0x56, 0x34, 0x10, 0x01, 0x12, 0x08,
   401  	0x0a, 0x04, 0x49, 0x50, 0x56, 0x36, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x41, 0x4c, 0x4c, 0x10,
   402  	0x03, 0x22, 0x21, 0x0a, 0x0b, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x42, 0x61, 0x73, 0x65, 0x64,
   403  	0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
   404  	0x70, 0x61, 0x74, 0x68, 0x42, 0x3e, 0x5a, 0x3c, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74,
   405  	0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x76,
   406  	0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6c,
   407  	0x69, 0x6e, 0x75, 0x78, 0x2f, 0x70, 0x75, 0x6e, 0x74, 0x3b, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x5f,
   408  	0x70, 0x75, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   409  }
   410  
   411  var (
   412  	file_ligato_linux_punt_punt_proto_rawDescOnce sync.Once
   413  	file_ligato_linux_punt_punt_proto_rawDescData = file_ligato_linux_punt_punt_proto_rawDesc
   414  )
   415  
   416  func file_ligato_linux_punt_punt_proto_rawDescGZIP() []byte {
   417  	file_ligato_linux_punt_punt_proto_rawDescOnce.Do(func() {
   418  		file_ligato_linux_punt_punt_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_linux_punt_punt_proto_rawDescData)
   419  	})
   420  	return file_ligato_linux_punt_punt_proto_rawDescData
   421  }
   422  
   423  var file_ligato_linux_punt_punt_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   424  var file_ligato_linux_punt_punt_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   425  var file_ligato_linux_punt_punt_proto_goTypes = []interface{}{
   426  	(PortBased_L4Protocol)(0), // 0: ligato.linux.punt.PortBased.L4Protocol
   427  	(PortBased_L3Protocol)(0), // 1: ligato.linux.punt.PortBased.L3Protocol
   428  	(*Proxy)(nil),             // 2: ligato.linux.punt.Proxy
   429  	(*PortBased)(nil),         // 3: ligato.linux.punt.PortBased
   430  	(*SocketBased)(nil),       // 4: ligato.linux.punt.SocketBased
   431  }
   432  var file_ligato_linux_punt_punt_proto_depIdxs = []int32{
   433  	3, // 0: ligato.linux.punt.Proxy.rx_port:type_name -> ligato.linux.punt.PortBased
   434  	4, // 1: ligato.linux.punt.Proxy.rx_socket:type_name -> ligato.linux.punt.SocketBased
   435  	3, // 2: ligato.linux.punt.Proxy.tx_port:type_name -> ligato.linux.punt.PortBased
   436  	4, // 3: ligato.linux.punt.Proxy.tx_socket:type_name -> ligato.linux.punt.SocketBased
   437  	0, // 4: ligato.linux.punt.PortBased.l4_protocol:type_name -> ligato.linux.punt.PortBased.L4Protocol
   438  	1, // 5: ligato.linux.punt.PortBased.l3_protocol:type_name -> ligato.linux.punt.PortBased.L3Protocol
   439  	6, // [6:6] is the sub-list for method output_type
   440  	6, // [6:6] is the sub-list for method input_type
   441  	6, // [6:6] is the sub-list for extension type_name
   442  	6, // [6:6] is the sub-list for extension extendee
   443  	0, // [0:6] is the sub-list for field type_name
   444  }
   445  
   446  func init() { file_ligato_linux_punt_punt_proto_init() }
   447  func file_ligato_linux_punt_punt_proto_init() {
   448  	if File_ligato_linux_punt_punt_proto != nil {
   449  		return
   450  	}
   451  	if !protoimpl.UnsafeEnabled {
   452  		file_ligato_linux_punt_punt_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   453  			switch v := v.(*Proxy); i {
   454  			case 0:
   455  				return &v.state
   456  			case 1:
   457  				return &v.sizeCache
   458  			case 2:
   459  				return &v.unknownFields
   460  			default:
   461  				return nil
   462  			}
   463  		}
   464  		file_ligato_linux_punt_punt_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   465  			switch v := v.(*PortBased); i {
   466  			case 0:
   467  				return &v.state
   468  			case 1:
   469  				return &v.sizeCache
   470  			case 2:
   471  				return &v.unknownFields
   472  			default:
   473  				return nil
   474  			}
   475  		}
   476  		file_ligato_linux_punt_punt_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   477  			switch v := v.(*SocketBased); i {
   478  			case 0:
   479  				return &v.state
   480  			case 1:
   481  				return &v.sizeCache
   482  			case 2:
   483  				return &v.unknownFields
   484  			default:
   485  				return nil
   486  			}
   487  		}
   488  	}
   489  	file_ligato_linux_punt_punt_proto_msgTypes[0].OneofWrappers = []interface{}{
   490  		(*Proxy_RxPort)(nil),
   491  		(*Proxy_RxSocket)(nil),
   492  		(*Proxy_TxPort)(nil),
   493  		(*Proxy_TxSocket)(nil),
   494  	}
   495  	type x struct{}
   496  	out := protoimpl.TypeBuilder{
   497  		File: protoimpl.DescBuilder{
   498  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   499  			RawDescriptor: file_ligato_linux_punt_punt_proto_rawDesc,
   500  			NumEnums:      2,
   501  			NumMessages:   3,
   502  			NumExtensions: 0,
   503  			NumServices:   0,
   504  		},
   505  		GoTypes:           file_ligato_linux_punt_punt_proto_goTypes,
   506  		DependencyIndexes: file_ligato_linux_punt_punt_proto_depIdxs,
   507  		EnumInfos:         file_ligato_linux_punt_punt_proto_enumTypes,
   508  		MessageInfos:      file_ligato_linux_punt_punt_proto_msgTypes,
   509  	}.Build()
   510  	File_ligato_linux_punt_punt_proto = out.File
   511  	file_ligato_linux_punt_punt_proto_rawDesc = nil
   512  	file_ligato_linux_punt_punt_proto_goTypes = nil
   513  	file_ligato_linux_punt_punt_proto_depIdxs = nil
   514  }