go.ligato.io/vpp-agent/v3@v3.5.0/proto/ligato/linux/iptables/iptables.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/iptables/iptables.proto 6 7 package linux_iptables 8 9 import ( 10 namespace "go.ligato.io/vpp-agent/v3/proto/ligato/linux/namespace" 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 RuleChain_Protocol int32 25 26 const ( 27 RuleChain_IPV4 RuleChain_Protocol = 0 28 RuleChain_IPV6 RuleChain_Protocol = 1 29 ) 30 31 // Enum value maps for RuleChain_Protocol. 32 var ( 33 RuleChain_Protocol_name = map[int32]string{ 34 0: "IPV4", 35 1: "IPV6", 36 } 37 RuleChain_Protocol_value = map[string]int32{ 38 "IPV4": 0, 39 "IPV6": 1, 40 } 41 ) 42 43 func (x RuleChain_Protocol) Enum() *RuleChain_Protocol { 44 p := new(RuleChain_Protocol) 45 *p = x 46 return p 47 } 48 49 func (x RuleChain_Protocol) String() string { 50 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 51 } 52 53 func (RuleChain_Protocol) Descriptor() protoreflect.EnumDescriptor { 54 return file_ligato_linux_iptables_iptables_proto_enumTypes[0].Descriptor() 55 } 56 57 func (RuleChain_Protocol) Type() protoreflect.EnumType { 58 return &file_ligato_linux_iptables_iptables_proto_enumTypes[0] 59 } 60 61 func (x RuleChain_Protocol) Number() protoreflect.EnumNumber { 62 return protoreflect.EnumNumber(x) 63 } 64 65 // Deprecated: Use RuleChain_Protocol.Descriptor instead. 66 func (RuleChain_Protocol) EnumDescriptor() ([]byte, []int) { 67 return file_ligato_linux_iptables_iptables_proto_rawDescGZIP(), []int{0, 0} 68 } 69 70 type RuleChain_Table int32 71 72 const ( 73 RuleChain_FILTER RuleChain_Table = 0 74 RuleChain_NAT RuleChain_Table = 1 75 RuleChain_MANGLE RuleChain_Table = 2 76 RuleChain_RAW RuleChain_Table = 3 77 RuleChain_SECURITY RuleChain_Table = 4 78 ) 79 80 // Enum value maps for RuleChain_Table. 81 var ( 82 RuleChain_Table_name = map[int32]string{ 83 0: "FILTER", 84 1: "NAT", 85 2: "MANGLE", 86 3: "RAW", 87 4: "SECURITY", 88 } 89 RuleChain_Table_value = map[string]int32{ 90 "FILTER": 0, 91 "NAT": 1, 92 "MANGLE": 2, 93 "RAW": 3, 94 "SECURITY": 4, 95 } 96 ) 97 98 func (x RuleChain_Table) Enum() *RuleChain_Table { 99 p := new(RuleChain_Table) 100 *p = x 101 return p 102 } 103 104 func (x RuleChain_Table) String() string { 105 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 106 } 107 108 func (RuleChain_Table) Descriptor() protoreflect.EnumDescriptor { 109 return file_ligato_linux_iptables_iptables_proto_enumTypes[1].Descriptor() 110 } 111 112 func (RuleChain_Table) Type() protoreflect.EnumType { 113 return &file_ligato_linux_iptables_iptables_proto_enumTypes[1] 114 } 115 116 func (x RuleChain_Table) Number() protoreflect.EnumNumber { 117 return protoreflect.EnumNumber(x) 118 } 119 120 // Deprecated: Use RuleChain_Table.Descriptor instead. 121 func (RuleChain_Table) EnumDescriptor() ([]byte, []int) { 122 return file_ligato_linux_iptables_iptables_proto_rawDescGZIP(), []int{0, 1} 123 } 124 125 type RuleChain_ChainType int32 126 127 const ( 128 RuleChain_CUSTOM RuleChain_ChainType = 0 129 RuleChain_INPUT RuleChain_ChainType = 1 130 RuleChain_OUTPUT RuleChain_ChainType = 2 131 RuleChain_FORWARD RuleChain_ChainType = 3 132 RuleChain_PREROUTING RuleChain_ChainType = 4 133 RuleChain_POSTROUTING RuleChain_ChainType = 5 134 ) 135 136 // Enum value maps for RuleChain_ChainType. 137 var ( 138 RuleChain_ChainType_name = map[int32]string{ 139 0: "CUSTOM", 140 1: "INPUT", 141 2: "OUTPUT", 142 3: "FORWARD", 143 4: "PREROUTING", 144 5: "POSTROUTING", 145 } 146 RuleChain_ChainType_value = map[string]int32{ 147 "CUSTOM": 0, 148 "INPUT": 1, 149 "OUTPUT": 2, 150 "FORWARD": 3, 151 "PREROUTING": 4, 152 "POSTROUTING": 5, 153 } 154 ) 155 156 func (x RuleChain_ChainType) Enum() *RuleChain_ChainType { 157 p := new(RuleChain_ChainType) 158 *p = x 159 return p 160 } 161 162 func (x RuleChain_ChainType) String() string { 163 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 164 } 165 166 func (RuleChain_ChainType) Descriptor() protoreflect.EnumDescriptor { 167 return file_ligato_linux_iptables_iptables_proto_enumTypes[2].Descriptor() 168 } 169 170 func (RuleChain_ChainType) Type() protoreflect.EnumType { 171 return &file_ligato_linux_iptables_iptables_proto_enumTypes[2] 172 } 173 174 func (x RuleChain_ChainType) Number() protoreflect.EnumNumber { 175 return protoreflect.EnumNumber(x) 176 } 177 178 // Deprecated: Use RuleChain_ChainType.Descriptor instead. 179 func (RuleChain_ChainType) EnumDescriptor() ([]byte, []int) { 180 return file_ligato_linux_iptables_iptables_proto_rawDescGZIP(), []int{0, 2} 181 } 182 183 type RuleChain_Policy int32 184 185 const ( 186 RuleChain_NONE RuleChain_Policy = 0 187 RuleChain_ACCEPT RuleChain_Policy = 1 188 RuleChain_DROP RuleChain_Policy = 2 189 RuleChain_QUEUE RuleChain_Policy = 3 190 RuleChain_RETURN RuleChain_Policy = 4 191 ) 192 193 // Enum value maps for RuleChain_Policy. 194 var ( 195 RuleChain_Policy_name = map[int32]string{ 196 0: "NONE", 197 1: "ACCEPT", 198 2: "DROP", 199 3: "QUEUE", 200 4: "RETURN", 201 } 202 RuleChain_Policy_value = map[string]int32{ 203 "NONE": 0, 204 "ACCEPT": 1, 205 "DROP": 2, 206 "QUEUE": 3, 207 "RETURN": 4, 208 } 209 ) 210 211 func (x RuleChain_Policy) Enum() *RuleChain_Policy { 212 p := new(RuleChain_Policy) 213 *p = x 214 return p 215 } 216 217 func (x RuleChain_Policy) String() string { 218 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 219 } 220 221 func (RuleChain_Policy) Descriptor() protoreflect.EnumDescriptor { 222 return file_ligato_linux_iptables_iptables_proto_enumTypes[3].Descriptor() 223 } 224 225 func (RuleChain_Policy) Type() protoreflect.EnumType { 226 return &file_ligato_linux_iptables_iptables_proto_enumTypes[3] 227 } 228 229 func (x RuleChain_Policy) Number() protoreflect.EnumNumber { 230 return protoreflect.EnumNumber(x) 231 } 232 233 // Deprecated: Use RuleChain_Policy.Descriptor instead. 234 func (RuleChain_Policy) EnumDescriptor() ([]byte, []int) { 235 return file_ligato_linux_iptables_iptables_proto_rawDescGZIP(), []int{0, 3} 236 } 237 238 type RuleChain struct { 239 state protoimpl.MessageState 240 sizeCache protoimpl.SizeCache 241 unknownFields protoimpl.UnknownFields 242 243 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 244 Namespace *namespace.NetNamespace `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"` // network namespace in which this rule chain is applied 245 Interfaces []string `protobuf:"bytes,3,rep,name=interfaces,proto3" json:"interfaces,omitempty"` // list of interfaces referred by the rules (optional) 246 Protocol RuleChain_Protocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=ligato.linux.iptables.RuleChain_Protocol" json:"protocol,omitempty"` // protocol (address family) of the rule chain 247 Table RuleChain_Table `protobuf:"varint,5,opt,name=table,proto3,enum=ligato.linux.iptables.RuleChain_Table" json:"table,omitempty"` // table the rule chain belongs to 248 ChainType RuleChain_ChainType `protobuf:"varint,6,opt,name=chain_type,json=chainType,proto3,enum=ligato.linux.iptables.RuleChain_ChainType" json:"chain_type,omitempty"` // type of the chain 249 ChainName string `protobuf:"bytes,7,opt,name=chain_name,json=chainName,proto3" json:"chain_name,omitempty"` // name of the chain, used only for chains with CUSTOM chain_type 250 DefaultPolicy RuleChain_Policy `protobuf:"varint,8,opt,name=default_policy,json=defaultPolicy,proto3,enum=ligato.linux.iptables.RuleChain_Policy" json:"default_policy,omitempty"` // default policy of the chain. Used for FILTER tables only. 251 Rules []string `protobuf:"bytes,10,rep,name=rules,proto3" json:"rules,omitempty"` 252 } 253 254 func (x *RuleChain) Reset() { 255 *x = RuleChain{} 256 if protoimpl.UnsafeEnabled { 257 mi := &file_ligato_linux_iptables_iptables_proto_msgTypes[0] 258 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 259 ms.StoreMessageInfo(mi) 260 } 261 } 262 263 func (x *RuleChain) String() string { 264 return protoimpl.X.MessageStringOf(x) 265 } 266 267 func (*RuleChain) ProtoMessage() {} 268 269 func (x *RuleChain) ProtoReflect() protoreflect.Message { 270 mi := &file_ligato_linux_iptables_iptables_proto_msgTypes[0] 271 if protoimpl.UnsafeEnabled && x != nil { 272 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 273 if ms.LoadMessageInfo() == nil { 274 ms.StoreMessageInfo(mi) 275 } 276 return ms 277 } 278 return mi.MessageOf(x) 279 } 280 281 // Deprecated: Use RuleChain.ProtoReflect.Descriptor instead. 282 func (*RuleChain) Descriptor() ([]byte, []int) { 283 return file_ligato_linux_iptables_iptables_proto_rawDescGZIP(), []int{0} 284 } 285 286 func (x *RuleChain) GetName() string { 287 if x != nil { 288 return x.Name 289 } 290 return "" 291 } 292 293 func (x *RuleChain) GetNamespace() *namespace.NetNamespace { 294 if x != nil { 295 return x.Namespace 296 } 297 return nil 298 } 299 300 func (x *RuleChain) GetInterfaces() []string { 301 if x != nil { 302 return x.Interfaces 303 } 304 return nil 305 } 306 307 func (x *RuleChain) GetProtocol() RuleChain_Protocol { 308 if x != nil { 309 return x.Protocol 310 } 311 return RuleChain_IPV4 312 } 313 314 func (x *RuleChain) GetTable() RuleChain_Table { 315 if x != nil { 316 return x.Table 317 } 318 return RuleChain_FILTER 319 } 320 321 func (x *RuleChain) GetChainType() RuleChain_ChainType { 322 if x != nil { 323 return x.ChainType 324 } 325 return RuleChain_CUSTOM 326 } 327 328 func (x *RuleChain) GetChainName() string { 329 if x != nil { 330 return x.ChainName 331 } 332 return "" 333 } 334 335 func (x *RuleChain) GetDefaultPolicy() RuleChain_Policy { 336 if x != nil { 337 return x.DefaultPolicy 338 } 339 return RuleChain_NONE 340 } 341 342 func (x *RuleChain) GetRules() []string { 343 if x != nil { 344 return x.Rules 345 } 346 return nil 347 } 348 349 var File_ligato_linux_iptables_iptables_proto protoreflect.FileDescriptor 350 351 var file_ligato_linux_iptables_iptables_proto_rawDesc = []byte{ 352 0x0a, 0x24, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2f, 0x69, 353 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x69, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 354 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 355 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x69, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x1a, 0x26, 0x6c, 356 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 357 0x73, 0x70, 0x61, 0x63, 0x65, 0x2f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x2e, 358 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8, 0x05, 0x0a, 0x09, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x68, 359 0x61, 0x69, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 360 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x42, 0x0a, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 361 0x70, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6c, 0x69, 0x67, 362 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 363 0x61, 0x63, 0x65, 0x2e, 0x4e, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 364 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 365 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 366 0x0a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x12, 0x45, 0x0a, 0x08, 0x70, 367 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 368 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x2e, 0x69, 0x70, 0x74, 369 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x2e, 370 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 371 0x6f, 0x6c, 0x12, 0x3c, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 372 0x0e, 0x32, 0x26, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 0x78, 373 0x2e, 0x69, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x68, 374 0x61, 0x69, 0x6e, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 375 0x12, 0x49, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 376 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 377 0x6e, 0x75, 0x78, 0x2e, 0x69, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x52, 0x75, 0x6c, 378 0x65, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 379 0x52, 0x09, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 380 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 381 0x09, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x4e, 0x0a, 0x0e, 0x64, 0x65, 382 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x08, 0x20, 0x01, 383 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x6c, 0x69, 0x6e, 0x75, 384 0x78, 0x2e, 0x69, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x43, 385 0x68, 0x61, 0x69, 0x6e, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0d, 0x64, 0x65, 0x66, 386 0x61, 0x75, 0x6c, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x75, 387 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 388 0x22, 0x1e, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x08, 0x0a, 0x04, 389 0x49, 0x50, 0x56, 0x34, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x50, 0x56, 0x36, 0x10, 0x01, 390 0x22, 0x3f, 0x0a, 0x05, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x46, 0x49, 0x4c, 391 0x54, 0x45, 0x52, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4e, 0x41, 0x54, 0x10, 0x01, 0x12, 0x0a, 392 0x0a, 0x06, 0x4d, 0x41, 0x4e, 0x47, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x52, 0x41, 393 0x57, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x45, 0x43, 0x55, 0x52, 0x49, 0x54, 0x59, 0x10, 394 0x04, 0x22, 0x5c, 0x0a, 0x09, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 395 0x0a, 0x06, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 396 0x50, 0x55, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x10, 397 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4f, 0x52, 0x57, 0x41, 0x52, 0x44, 0x10, 0x03, 0x12, 0x0e, 398 0x0a, 0x0a, 0x50, 0x52, 0x45, 0x52, 0x4f, 0x55, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x0f, 399 0x0a, 0x0b, 0x50, 0x4f, 0x53, 0x54, 0x52, 0x4f, 0x55, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x22, 400 0x3f, 0x0a, 0x06, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 401 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x10, 0x01, 0x12, 402 0x08, 0x0a, 0x04, 0x44, 0x52, 0x4f, 0x50, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x51, 0x55, 0x45, 403 0x55, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x54, 0x55, 0x52, 0x4e, 0x10, 0x04, 404 0x42, 0x46, 0x5a, 0x44, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f, 405 0x2f, 0x76, 0x70, 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x70, 0x72, 406 0x6f, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2f, 0x6c, 0x69, 0x6e, 0x75, 0x78, 407 0x2f, 0x69, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x3b, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x5f, 408 0x69, 0x70, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 409 } 410 411 var ( 412 file_ligato_linux_iptables_iptables_proto_rawDescOnce sync.Once 413 file_ligato_linux_iptables_iptables_proto_rawDescData = file_ligato_linux_iptables_iptables_proto_rawDesc 414 ) 415 416 func file_ligato_linux_iptables_iptables_proto_rawDescGZIP() []byte { 417 file_ligato_linux_iptables_iptables_proto_rawDescOnce.Do(func() { 418 file_ligato_linux_iptables_iptables_proto_rawDescData = protoimpl.X.CompressGZIP(file_ligato_linux_iptables_iptables_proto_rawDescData) 419 }) 420 return file_ligato_linux_iptables_iptables_proto_rawDescData 421 } 422 423 var file_ligato_linux_iptables_iptables_proto_enumTypes = make([]protoimpl.EnumInfo, 4) 424 var file_ligato_linux_iptables_iptables_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 425 var file_ligato_linux_iptables_iptables_proto_goTypes = []interface{}{ 426 (RuleChain_Protocol)(0), // 0: ligato.linux.iptables.RuleChain.Protocol 427 (RuleChain_Table)(0), // 1: ligato.linux.iptables.RuleChain.Table 428 (RuleChain_ChainType)(0), // 2: ligato.linux.iptables.RuleChain.ChainType 429 (RuleChain_Policy)(0), // 3: ligato.linux.iptables.RuleChain.Policy 430 (*RuleChain)(nil), // 4: ligato.linux.iptables.RuleChain 431 (*namespace.NetNamespace)(nil), // 5: ligato.linux.namespace.NetNamespace 432 } 433 var file_ligato_linux_iptables_iptables_proto_depIdxs = []int32{ 434 5, // 0: ligato.linux.iptables.RuleChain.namespace:type_name -> ligato.linux.namespace.NetNamespace 435 0, // 1: ligato.linux.iptables.RuleChain.protocol:type_name -> ligato.linux.iptables.RuleChain.Protocol 436 1, // 2: ligato.linux.iptables.RuleChain.table:type_name -> ligato.linux.iptables.RuleChain.Table 437 2, // 3: ligato.linux.iptables.RuleChain.chain_type:type_name -> ligato.linux.iptables.RuleChain.ChainType 438 3, // 4: ligato.linux.iptables.RuleChain.default_policy:type_name -> ligato.linux.iptables.RuleChain.Policy 439 5, // [5:5] is the sub-list for method output_type 440 5, // [5:5] is the sub-list for method input_type 441 5, // [5:5] is the sub-list for extension type_name 442 5, // [5:5] is the sub-list for extension extendee 443 0, // [0:5] is the sub-list for field type_name 444 } 445 446 func init() { file_ligato_linux_iptables_iptables_proto_init() } 447 func file_ligato_linux_iptables_iptables_proto_init() { 448 if File_ligato_linux_iptables_iptables_proto != nil { 449 return 450 } 451 if !protoimpl.UnsafeEnabled { 452 file_ligato_linux_iptables_iptables_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 453 switch v := v.(*RuleChain); 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 } 465 type x struct{} 466 out := protoimpl.TypeBuilder{ 467 File: protoimpl.DescBuilder{ 468 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 469 RawDescriptor: file_ligato_linux_iptables_iptables_proto_rawDesc, 470 NumEnums: 4, 471 NumMessages: 1, 472 NumExtensions: 0, 473 NumServices: 0, 474 }, 475 GoTypes: file_ligato_linux_iptables_iptables_proto_goTypes, 476 DependencyIndexes: file_ligato_linux_iptables_iptables_proto_depIdxs, 477 EnumInfos: file_ligato_linux_iptables_iptables_proto_enumTypes, 478 MessageInfos: file_ligato_linux_iptables_iptables_proto_msgTypes, 479 }.Build() 480 File_ligato_linux_iptables_iptables_proto = out.File 481 file_ligato_linux_iptables_iptables_proto_rawDesc = nil 482 file_ligato_linux_iptables_iptables_proto_goTypes = nil 483 file_ligato_linux_iptables_iptables_proto_depIdxs = nil 484 }