go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/vpp/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/vpp/punt/punt.proto 6 7 package vpp_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 // L3Protocol defines Layer 3 protocols. 25 type L3Protocol int32 26 27 const ( 28 L3Protocol_UNDEFINED_L3 L3Protocol = 0 29 L3Protocol_IPV4 L3Protocol = 4 30 L3Protocol_IPV6 L3Protocol = 6 31 L3Protocol_ALL L3Protocol = 10 32 ) 33 34 // Enum value maps for L3Protocol. 35 var ( 36 L3Protocol_name = map[int32]string{ 37 0: "UNDEFINED_L3", 38 4: "IPV4", 39 6: "IPV6", 40 10: "ALL", 41 } 42 L3Protocol_value = map[string]int32{ 43 "UNDEFINED_L3": 0, 44 "IPV4": 4, 45 "IPV6": 6, 46 "ALL": 10, 47 } 48 ) 49 50 func (x L3Protocol) Enum() *L3Protocol { 51 p := new(L3Protocol) 52 *p = x 53 return p 54 } 55 56 func (x L3Protocol) String() string { 57 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 58 } 59 60 func (L3Protocol) Descriptor() protoreflect.EnumDescriptor { 61 return file_ligato_vpp_punt_punt_proto_enumTypes[0].Descriptor() 62 } 63 64 func (L3Protocol) Type() protoreflect.EnumType { 65 return &file_ligato_vpp_punt_punt_proto_enumTypes[0] 66 } 67 68 func (x L3Protocol) Number() protoreflect.EnumNumber { 69 return protoreflect.EnumNumber(x) 70 } 71 72 // Deprecated: Use L3Protocol.Descriptor instead. 73 func (L3Protocol) EnumDescriptor() ([]byte, []int) { 74 return file_ligato_vpp_punt_punt_proto_rawDescGZIP(), []int{0} 75 } 76 77 // L4Protocol defines Layer 4 protocols. 78 type L4Protocol int32 79 80 const ( 81 L4Protocol_UNDEFINED_L4 L4Protocol = 0 82 L4Protocol_TCP L4Protocol = 6 83 L4Protocol_UDP L4Protocol = 17 84 ) 85 86 // Enum value maps for L4Protocol. 87 var ( 88 L4Protocol_name = map[int32]string{ 89 0: "UNDEFINED_L4", 90 6: "TCP", 91 17: "UDP", 92 } 93 L4Protocol_value = map[string]int32{ 94 "UNDEFINED_L4": 0, 95 "TCP": 6, 96 "UDP": 17, 97 } 98 ) 99 100 func (x L4Protocol) Enum() *L4Protocol { 101 p := new(L4Protocol) 102 *p = x 103 return p 104 } 105 106 func (x L4Protocol) String() string { 107 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 108 } 109 110 func (L4Protocol) Descriptor() protoreflect.EnumDescriptor { 111 return file_ligato_vpp_punt_punt_proto_enumTypes[1].Descriptor() 112 } 113 114 func (L4Protocol) Type() protoreflect.EnumType { 115 return &file_ligato_vpp_punt_punt_proto_enumTypes[1] 116 } 117 118 func (x L4Protocol) Number() protoreflect.EnumNumber { 119 return protoreflect.EnumNumber(x) 120 } 121 122 // Deprecated: Use L4Protocol.Descriptor instead. 123 func (L4Protocol) EnumDescriptor() ([]byte, []int) { 124 return file_ligato_vpp_punt_punt_proto_rawDescGZIP(), []int{1} 125 } 126 127 // IPRedirect allows otherwise dropped packet which destination IP address 128 // matching some of the VPP addresses to redirect to the defined next hop address 129 // via the TX interface. 130 type IPRedirect struct { 131 state protoimpl.MessageState 132 sizeCache protoimpl.SizeCache 133 unknownFields protoimpl.UnknownFields 134 135 // L3 protocol to be redirected 136 L3Protocol L3Protocol `protobuf:"varint,1,opt,name=l3_protocol,json=l3Protocol,proto3,enum=ligato.vpp.punt.L3Protocol" json:"l3_protocol,omitempty"` 137 // Receive interface name. Optional, only redirect traffic incoming from this interface 138 RxInterface string `protobuf:"bytes,2,opt,name=rx_interface,json=rxInterface,proto3" json:"rx_interface,omitempty"` 139 // Transmit interface name 140 TxInterface string `protobuf:"bytes,3,opt,name=tx_interface,json=txInterface,proto3" json:"tx_interface,omitempty"` 141 // Next hop IP where the traffic is redirected 142 NextHop string `protobuf:"bytes,4,opt,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"` 143 } 144 145 func (x *IPRedirect) Reset() { 146 *x = IPRedirect{} 147 if protoimpl.UnsafeEnabled { 148 mi := &file_ligato_vpp_punt_punt_proto_msgTypes[0] 149 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 150 ms.StoreMessageInfo(mi) 151 } 152 } 153 154 func (x *IPRedirect) String() string { 155 return protoimpl.X.MessageStringOf(x) 156 } 157 158 func (*IPRedirect) ProtoMessage() {} 159 160 func (x *IPRedirect) ProtoReflect() protoreflect.Message { 161 mi := &file_ligato_vpp_punt_punt_proto_msgTypes[0] 162 if protoimpl.UnsafeEnabled && x != nil { 163 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 164 if ms.LoadMessageInfo() == nil { 165 ms.StoreMessageInfo(mi) 166 } 167 return ms 168 } 169 return mi.MessageOf(x) 170 } 171 172 // Deprecated: Use IPRedirect.ProtoReflect.Descriptor instead. 173 func (*IPRedirect) Descriptor() ([]byte, []int) { 174 return file_ligato_vpp_punt_punt_proto_rawDescGZIP(), []int{0} 175 } 176 177 func (x *IPRedirect) GetL3Protocol() L3Protocol { 178 if x != nil { 179 return x.L3Protocol 180 } 181 return L3Protocol_UNDEFINED_L3 182 } 183 184 func (x *IPRedirect) GetRxInterface() string { 185 if x != nil { 186 return x.RxInterface 187 } 188 return "" 189 } 190 191 func (x *IPRedirect) GetTxInterface() string { 192 if x != nil { 193 return x.TxInterface 194 } 195 return "" 196 } 197 198 func (x *IPRedirect) GetNextHop() string { 199 if x != nil { 200 return x.NextHop 201 } 202 return "" 203 } 204 205 // ToHost allows otherwise dropped packet which destination IP address matching 206 // some of the VPP interface IP addresses to be punted to the host. 207 // L3 and L4 protocols can be used for filtering */ 208 type ToHost struct { 209 state protoimpl.MessageState 210 sizeCache protoimpl.SizeCache 211 unknownFields protoimpl.UnknownFields 212 213 // L3 destination protocol a packet has to match in order to be punted. 214 L3Protocol L3Protocol `protobuf:"varint,2,opt,name=l3_protocol,json=l3Protocol,proto3,enum=ligato.vpp.punt.L3Protocol" json:"l3_protocol,omitempty"` 215 // L4 destination protocol a packet has to match. 216 // Currently VPP only supports UDP. 217 L4Protocol L4Protocol `protobuf:"varint,3,opt,name=l4_protocol,json=l4Protocol,proto3,enum=ligato.vpp.punt.L4Protocol" json:"l4_protocol,omitempty"` 218 // Destination port 219 Port uint32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` 220 // SocketPath defines path to unix domain socket 221 // used for punt packets to the host. 222 // In dumps, it will actually contain the socket 223 // defined in VPP config under punt section. 224 SocketPath string `protobuf:"bytes,5,opt,name=socket_path,json=socketPath,proto3" json:"socket_path,omitempty"` 225 } 226 227 func (x *ToHost) Reset() { 228 *x = ToHost{} 229 if protoimpl.UnsafeEnabled { 230 mi := &file_ligato_vpp_punt_punt_proto_msgTypes[1] 231 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 232 ms.StoreMessageInfo(mi) 233 } 234 } 235 236 func (x *ToHost) String() string { 237 return protoimpl.X.MessageStringOf(x) 238 } 239 240 func (*ToHost) ProtoMessage() {} 241 242 func (x *ToHost) ProtoReflect() protoreflect.Message { 243 mi := &file_ligato_vpp_punt_punt_proto_msgTypes[1] 244 if protoimpl.UnsafeEnabled && x != nil { 245 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 246 if ms.LoadMessageInfo() == nil { 247 ms.StoreMessageInfo(mi) 248 } 249 return ms 250 } 251 return mi.MessageOf(x) 252 } 253 254 // Deprecated: Use ToHost.ProtoReflect.Descriptor instead. 255 func (*ToHost) Descriptor() ([]byte, []int) { 256 return file_ligato_vpp_punt_punt_proto_rawDescGZIP(), []int{1} 257 } 258 259 func (x *ToHost) GetL3Protocol() L3Protocol { 260 if x != nil { 261 return x.L3Protocol 262 } 263 return L3Protocol_UNDEFINED_L3 264 } 265 266 func (x *ToHost) GetL4Protocol() L4Protocol { 267 if x != nil { 268 return x.L4Protocol 269 } 270 return L4Protocol_UNDEFINED_L4 271 } 272 273 func (x *ToHost) GetPort() uint32 { 274 if x != nil { 275 return x.Port 276 } 277 return 0 278 } 279 280 func (x *ToHost) GetSocketPath() string { 281 if x != nil { 282 return x.SocketPath 283 } 284 return "" 285 } 286 287 // Exception allows specifying punt exceptions used for punting packets. 288 // The type of exception is defined by reason name. 289 type Exception struct { 290 state protoimpl.MessageState 291 sizeCache protoimpl.SizeCache 292 unknownFields protoimpl.UnknownFields 293 294 // Name should contain reason name, e.g. `ipsec4-spi-0`. 295 Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"` 296 // SocketPath defines path to unix domain socket 297 // used for punt packets to the host. 298 // In dumps, it will actually contain the socket 299 // defined in VPP config under punt section. 300 SocketPath string `protobuf:"bytes,2,opt,name=socket_path,json=socketPath,proto3" json:"socket_path,omitempty"` 301 } 302 303 func (x *Exception) Reset() { 304 *x = Exception{} 305 if protoimpl.UnsafeEnabled { 306 mi := &file_ligato_vpp_punt_punt_proto_msgTypes[2] 307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 308 ms.StoreMessageInfo(mi) 309 } 310 } 311 312 func (x *Exception) String() string { 313 return protoimpl.X.MessageStringOf(x) 314 } 315 316 func (*Exception) ProtoMessage() {} 317 318 func (x *Exception) ProtoReflect() protoreflect.Message { 319 mi := &file_ligato_vpp_punt_punt_proto_msgTypes[2] 320 if protoimpl.UnsafeEnabled && x != nil { 321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 322 if ms.LoadMessageInfo() == nil { 323 ms.StoreMessageInfo(mi) 324 } 325 return ms 326 } 327 return mi.MessageOf(x) 328 } 329 330 // Deprecated: Use Exception.ProtoReflect.Descriptor instead. 331 func (*Exception) Descriptor() ([]byte, []int) { 332 return file_ligato_vpp_punt_punt_proto_rawDescGZIP(), []int{2} 333 } 334 335 func (x *Exception) GetReason() string { 336 if x != nil { 337 return x.Reason 338 } 339 return "" 340 } 341 342 func (x *Exception) GetSocketPath() string { 343 if x != nil { 344 return x.SocketPath 345 } 346 return "" 347 } 348 349 // Reason represents punt reason used in exceptions. 350 // List of known exceptions can be retrieved in VPP CLI 351 // with following command: 352 // 353 // vpp# show punt reasons 354 // [0] ipsec4-spi-0 from:[ipsec ] 355 // [1] ipsec6-spi-0 from:[ipsec ] 356 // [2] ipsec4-spi-o-udp-0 from:[ipsec ] 357 // [3] ipsec4-no-such-tunnel from:[ipsec ] 358 // [4] ipsec6-no-such-tunnel from:[ipsec ] 359 // [5] VXLAN-GBP-no-such-v4-tunnel from:[vxlan-gbp ] 360 // [6] VXLAN-GBP-no-such-v6-tunnel from:[vxlan-gbp ] 361 // 362 type Reason struct { 363 state protoimpl.MessageState 364 sizeCache protoimpl.SizeCache 365 unknownFields protoimpl.UnknownFields 366 367 // Name contains reason name. 368 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 369 } 370 371 func (x *Reason) Reset() { 372 *x = Reason{} 373 if protoimpl.UnsafeEnabled { 374 mi := &file_ligato_vpp_punt_punt_proto_msgTypes[3] 375 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 376 ms.StoreMessageInfo(mi) 377 } 378 } 379 380 func (x *Reason) String() string { 381 return protoimpl.X.MessageStringOf(x) 382 } 383 384 func (*Reason) ProtoMessage() {} 385 386 func (x *Reason) ProtoReflect() protoreflect.Message { 387 mi := &file_ligato_vpp_punt_punt_proto_msgTypes[3] 388 if protoimpl.UnsafeEnabled && x != nil { 389 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 390 if ms.LoadMessageInfo() == nil { 391 ms.StoreMessageInfo(mi) 392 } 393 return ms 394 } 395 return mi.MessageOf(x) 396 } 397 398 // Deprecated: Use Reason.ProtoReflect.Descriptor instead. 399 func (*Reason) Descriptor() ([]byte, []int) { 400 return file_ligato_vpp_punt_punt_proto_rawDescGZIP(), []int{3} 401 } 402 403 func (x *Reason) GetName() string { 404 if x != nil { 405 return x.Name 406 } 407 return "" 408 } 409 410 var File_ligato_vpp_punt_punt_proto protoreflect.FileDescriptor 411 412 var file_ligato_vpp_punt_punt_proto_rawDesc = []byte{ 413 0x0a, 0x1a, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x70, 0x75, 0x6e, 414 0x74, 0x2f, 0x70, 0x75, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x6c, 0x69, 415 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x70, 0x75, 0x6e, 0x74, 0x1a, 0x18, 0x6c, 416 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 417 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb2, 0x01, 0x0a, 0x0a, 0x49, 0x50, 0x52, 0x65, 418 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x12, 0x3c, 0x0a, 0x0b, 0x6c, 0x33, 0x5f, 0x70, 0x72, 0x6f, 419 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6c, 0x69, 420 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x70, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x33, 421 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x0a, 0x6c, 0x33, 0x50, 0x72, 0x6f, 0x74, 422 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x78, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 423 0x66, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x78, 0x49, 0x6e, 424 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x78, 0x5f, 0x69, 0x6e, 425 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74, 426 0x78, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x20, 0x0a, 0x08, 0x6e, 0x65, 427 0x78, 0x74, 0x5f, 0x68, 0x6f, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x05, 0x82, 0x7d, 428 0x02, 0x08, 0x01, 0x52, 0x07, 0x6e, 0x65, 0x78, 0x74, 0x48, 0x6f, 0x70, 0x22, 0xc4, 0x01, 0x0a, 429 0x06, 0x54, 0x6f, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x0b, 0x6c, 0x33, 0x5f, 0x70, 0x72, 430 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6c, 431 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x70, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 432 0x33, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x0a, 0x6c, 0x33, 0x50, 0x72, 0x6f, 433 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x3c, 0x0a, 0x0b, 0x6c, 0x34, 0x5f, 0x70, 0x72, 0x6f, 0x74, 434 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6c, 0x69, 0x67, 435 0x61, 0x74, 0x6f, 0x2e, 0x76, 0x70, 0x70, 0x2e, 0x70, 0x75, 0x6e, 0x74, 0x2e, 0x4c, 0x34, 0x50, 436 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x0a, 0x6c, 0x34, 0x50, 0x72, 0x6f, 0x74, 0x6f, 437 0x63, 0x6f, 0x6c, 0x12, 0x1d, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 438 0x0d, 0x42, 0x09, 0x82, 0x7d, 0x06, 0x12, 0x04, 0x10, 0xff, 0xff, 0x03, 0x52, 0x04, 0x70, 0x6f, 439 0x72, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x74, 440 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x50, 441 0x61, 0x74, 0x68, 0x22, 0x44, 0x0a, 0x09, 0x45, 0x78, 0x63, 0x65, 0x70, 0x74, 0x69, 0x6f, 0x6e, 442 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 443 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x63, 0x6b, 444 0x65, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 445 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22, 0x1c, 0x0a, 0x06, 0x52, 0x65, 0x61, 446 0x73, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 447 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x2a, 0x3b, 0x0a, 0x0a, 0x4c, 0x33, 0x50, 0x72, 0x6f, 448 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 449 0x45, 0x44, 0x5f, 0x4c, 0x33, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x50, 0x56, 0x34, 0x10, 450 0x04, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x50, 0x56, 0x36, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x41, 451 0x4c, 0x4c, 0x10, 0x0a, 0x2a, 0x30, 0x0a, 0x0a, 0x4c, 0x34, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 452 0x6f, 0x6c, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x5f, 453 0x4c, 0x34, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x43, 0x50, 0x10, 0x06, 0x12, 0x07, 0x0a, 454 0x03, 0x55, 0x44, 0x50, 0x10, 0x11, 0x42, 0x3a, 0x5a, 0x38, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 455 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70, 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 456 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 457 0x2f, 0x76, 0x70, 0x70, 0x2f, 0x70, 0x75, 0x6e, 0x74, 0x3b, 0x76, 0x70, 0x70, 0x5f, 0x70, 0x75, 458 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 459 } 460 461 var ( 462 file_ligato_vpp_punt_punt_proto_rawDescOnce sync.Once 463 file_ligato_vpp_punt_punt_proto_rawDescData = file_ligato_vpp_punt_punt_proto_rawDesc 464 ) 465 466 func file_ligato_vpp_punt_punt_proto_rawDescGZIP() []byte { 467 file_ligato_vpp_punt_punt_proto_rawDescOnce.Do(func() { 468 file_ligato_vpp_punt_punt_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_vpp_punt_punt_proto_rawDescData) 469 }) 470 return file_ligato_vpp_punt_punt_proto_rawDescData 471 } 472 473 var file_ligato_vpp_punt_punt_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 474 var file_ligato_vpp_punt_punt_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 475 var file_ligato_vpp_punt_punt_proto_goTypes = []interface{}{ 476 (L3Protocol)(0), // 0: ligato.vpp.punt.L3Protocol 477 (L4Protocol)(0), // 1: ligato.vpp.punt.L4Protocol 478 (*IPRedirect)(nil), // 2: ligato.vpp.punt.IPRedirect 479 (*ToHost)(nil), // 3: ligato.vpp.punt.ToHost 480 (*Exception)(nil), // 4: ligato.vpp.punt.Exception 481 (*Reason)(nil), // 5: ligato.vpp.punt.Reason 482 } 483 var file_ligato_vpp_punt_punt_proto_depIdxs = []int32{ 484 0, // 0: ligato.vpp.punt.IPRedirect.l3_protocol:type_name -> ligato.vpp.punt.L3Protocol 485 0, // 1: ligato.vpp.punt.ToHost.l3_protocol:type_name -> ligato.vpp.punt.L3Protocol 486 1, // 2: ligato.vpp.punt.ToHost.l4_protocol:type_name -> ligato.vpp.punt.L4Protocol 487 3, // [3:3] is the sub-list for method output_type 488 3, // [3:3] is the sub-list for method input_type 489 3, // [3:3] is the sub-list for extension type_name 490 3, // [3:3] is the sub-list for extension extendee 491 0, // [0:3] is the sub-list for field type_name 492 } 493 494 func init() { file_ligato_vpp_punt_punt_proto_init() } 495 func file_ligato_vpp_punt_punt_proto_init() { 496 if File_ligato_vpp_punt_punt_proto != nil { 497 return 498 } 499 if !protoimpl.UnsafeEnabled { 500 file_ligato_vpp_punt_punt_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 501 switch v := v.(*IPRedirect); i { 502 case 0: 503 return &v.state 504 case 1: 505 return &v.sizeCache 506 case 2: 507 return &v.unknownFields 508 default: 509 return nil 510 } 511 } 512 file_ligato_vpp_punt_punt_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 513 switch v := v.(*ToHost); i { 514 case 0: 515 return &v.state 516 case 1: 517 return &v.sizeCache 518 case 2: 519 return &v.unknownFields 520 default: 521 return nil 522 } 523 } 524 file_ligato_vpp_punt_punt_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 525 switch v := v.(*Exception); i { 526 case 0: 527 return &v.state 528 case 1: 529 return &v.sizeCache 530 case 2: 531 return &v.unknownFields 532 default: 533 return nil 534 } 535 } 536 file_ligato_vpp_punt_punt_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 537 switch v := v.(*Reason); i { 538 case 0: 539 return &v.state 540 case 1: 541 return &v.sizeCache 542 case 2: 543 return &v.unknownFields 544 default: 545 return nil 546 } 547 } 548 } 549 type x struct{} 550 out := protoimpl.TypeBuilder{ 551 File: protoimpl.DescBuilder{ 552 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 553 RawDescriptor: file_ligato_vpp_punt_punt_proto_rawDesc, 554 NumEnums: 2, 555 NumMessages: 4, 556 NumExtensions: 0, 557 NumServices: 0, 558 }, 559 GoTypes: file_ligato_vpp_punt_punt_proto_goTypes, 560 DependencyIndexes: file_ligato_vpp_punt_punt_proto_depIdxs, 561 EnumInfos: file_ligato_vpp_punt_punt_proto_enumTypes, 562 MessageInfos: file_ligato_vpp_punt_punt_proto_msgTypes, 563 }.Build() 564 File_ligato_vpp_punt_punt_proto = out.File 565 file_ligato_vpp_punt_punt_proto_rawDesc = nil 566 file_ligato_vpp_punt_punt_proto_goTypes = nil 567 file_ligato_vpp_punt_punt_proto_depIdxs = nil 568 }