| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
package packet_sock |
| 10 |
|
| 11 |
import ( |
| 12 |
fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown" |
| 13 |
_ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts" |
| 14 |
sk_opts "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-opts" |
| 15 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 16 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 17 |
reflect "reflect" |
| 18 |
sync "sync" |
| 19 |
) |
| 20 |
|
| 21 |
const ( |
| 22 |
|
| 23 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 24 |
|
| 25 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 26 |
) |
| 27 |
|
| 28 |
type PacketMclist struct { |
| 29 |
state protoimpl.MessageState |
| 30 |
sizeCache protoimpl.SizeCache |
| 31 |
unknownFields protoimpl.UnknownFields |
| 32 |
|
| 33 |
Index *uint32 `protobuf:"varint,1,req,name=index" json:"index,omitempty"` |
| 34 |
Type *uint32 `protobuf:"varint,2,req,name=type" json:"type,omitempty"` |
| 35 |
Addr []byte `protobuf:"bytes,3,req,name=addr" json:"addr,omitempty"` |
| 36 |
} |
| 37 |
|
| 38 |
func (x *PacketMclist) Reset() { |
| 39 |
*x = PacketMclist{} |
| 40 |
if protoimpl.UnsafeEnabled { |
| 41 |
mi := &file_packet_sock_proto_msgTypes[0] |
| 42 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 43 |
ms.StoreMessageInfo(mi) |
| 44 |
} |
| 45 |
} |
| 46 |
|
| 47 |
func (x *PacketMclist) String() string { |
| 48 |
return protoimpl.X.MessageStringOf(x) |
| 49 |
} |
| 50 |
|
| 51 |
func (*PacketMclist) ProtoMessage() {} |
| 52 |
|
| 53 |
func (x *PacketMclist) ProtoReflect() protoreflect.Message { |
| 54 |
mi := &file_packet_sock_proto_msgTypes[0] |
| 55 |
if protoimpl.UnsafeEnabled && x != nil { |
| 56 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 57 |
if ms.LoadMessageInfo() == nil { |
| 58 |
ms.StoreMessageInfo(mi) |
| 59 |
} |
| 60 |
return ms |
| 61 |
} |
| 62 |
return mi.MessageOf(x) |
| 63 |
} |
| 64 |
|
| 65 |
|
| 66 |
func (*PacketMclist) Descriptor() ([]byte, []int) { |
| 67 |
return file_packet_sock_proto_rawDescGZIP(), []int{0} |
| 68 |
} |
| 69 |
|
| 70 |
func (x *PacketMclist) GetIndex() uint32 { |
| 71 |
if x != nil && x.Index != nil { |
| 72 |
return *x.Index |
| 73 |
} |
| 74 |
return 0 |
| 75 |
} |
| 76 |
|
| 77 |
func (x *PacketMclist) GetType() uint32 { |
| 78 |
if x != nil && x.Type != nil { |
| 79 |
return *x.Type |
| 80 |
} |
| 81 |
return 0 |
| 82 |
} |
| 83 |
|
| 84 |
func (x *PacketMclist) GetAddr() []byte { |
| 85 |
if x != nil { |
| 86 |
return x.Addr |
| 87 |
} |
| 88 |
return nil |
| 89 |
} |
| 90 |
|
| 91 |
type PacketRing struct { |
| 92 |
state protoimpl.MessageState |
| 93 |
sizeCache protoimpl.SizeCache |
| 94 |
unknownFields protoimpl.UnknownFields |
| 95 |
|
| 96 |
BlockSize *uint32 `protobuf:"varint,1,req,name=block_size,json=blockSize" json:"block_size,omitempty"` |
| 97 |
BlockNr *uint32 `protobuf:"varint,2,req,name=block_nr,json=blockNr" json:"block_nr,omitempty"` |
| 98 |
FrameSize *uint32 `protobuf:"varint,3,req,name=frame_size,json=frameSize" json:"frame_size,omitempty"` |
| 99 |
FrameNr *uint32 `protobuf:"varint,4,req,name=frame_nr,json=frameNr" json:"frame_nr,omitempty"` |
| 100 |
RetireTmo *uint32 `protobuf:"varint,5,req,name=retire_tmo,json=retireTmo" json:"retire_tmo,omitempty"` |
| 101 |
SizeofPriv *uint32 `protobuf:"varint,6,req,name=sizeof_priv,json=sizeofPriv" json:"sizeof_priv,omitempty"` |
| 102 |
Features *uint32 `protobuf:"varint,7,req,name=features" json:"features,omitempty"` |
| 103 |
} |
| 104 |
|
| 105 |
func (x *PacketRing) Reset() { |
| 106 |
*x = PacketRing{} |
| 107 |
if protoimpl.UnsafeEnabled { |
| 108 |
mi := &file_packet_sock_proto_msgTypes[1] |
| 109 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 110 |
ms.StoreMessageInfo(mi) |
| 111 |
} |
| 112 |
} |
| 113 |
|
| 114 |
func (x *PacketRing) String() string { |
| 115 |
return protoimpl.X.MessageStringOf(x) |
| 116 |
} |
| 117 |
|
| 118 |
func (*PacketRing) ProtoMessage() {} |
| 119 |
|
| 120 |
func (x *PacketRing) ProtoReflect() protoreflect.Message { |
| 121 |
mi := &file_packet_sock_proto_msgTypes[1] |
| 122 |
if protoimpl.UnsafeEnabled && x != nil { |
| 123 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 124 |
if ms.LoadMessageInfo() == nil { |
| 125 |
ms.StoreMessageInfo(mi) |
| 126 |
} |
| 127 |
return ms |
| 128 |
} |
| 129 |
return mi.MessageOf(x) |
| 130 |
} |
| 131 |
|
| 132 |
|
| 133 |
func (*PacketRing) Descriptor() ([]byte, []int) { |
| 134 |
return file_packet_sock_proto_rawDescGZIP(), []int{1} |
| 135 |
} |
| 136 |
|
| 137 |
func (x *PacketRing) GetBlockSize() uint32 { |
| 138 |
if x != nil && x.BlockSize != nil { |
| 139 |
return *x.BlockSize |
| 140 |
} |
| 141 |
return 0 |
| 142 |
} |
| 143 |
|
| 144 |
func (x *PacketRing) GetBlockNr() uint32 { |
| 145 |
if x != nil && x.BlockNr != nil { |
| 146 |
return *x.BlockNr |
| 147 |
} |
| 148 |
return 0 |
| 149 |
} |
| 150 |
|
| 151 |
func (x *PacketRing) GetFrameSize() uint32 { |
| 152 |
if x != nil && x.FrameSize != nil { |
| 153 |
return *x.FrameSize |
| 154 |
} |
| 155 |
return 0 |
| 156 |
} |
| 157 |
|
| 158 |
func (x *PacketRing) GetFrameNr() uint32 { |
| 159 |
if x != nil && x.FrameNr != nil { |
| 160 |
return *x.FrameNr |
| 161 |
} |
| 162 |
return 0 |
| 163 |
} |
| 164 |
|
| 165 |
func (x *PacketRing) GetRetireTmo() uint32 { |
| 166 |
if x != nil && x.RetireTmo != nil { |
| 167 |
return *x.RetireTmo |
| 168 |
} |
| 169 |
return 0 |
| 170 |
} |
| 171 |
|
| 172 |
func (x *PacketRing) GetSizeofPriv() uint32 { |
| 173 |
if x != nil && x.SizeofPriv != nil { |
| 174 |
return *x.SizeofPriv |
| 175 |
} |
| 176 |
return 0 |
| 177 |
} |
| 178 |
|
| 179 |
func (x *PacketRing) GetFeatures() uint32 { |
| 180 |
if x != nil && x.Features != nil { |
| 181 |
return *x.Features |
| 182 |
} |
| 183 |
return 0 |
| 184 |
} |
| 185 |
|
| 186 |
type PacketSockEntry struct { |
| 187 |
state protoimpl.MessageState |
| 188 |
sizeCache protoimpl.SizeCache |
| 189 |
unknownFields protoimpl.UnknownFields |
| 190 |
|
| 191 |
Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"` |
| 192 |
Type *uint32 `protobuf:"varint,2,req,name=type" json:"type,omitempty"` |
| 193 |
Protocol *uint32 `protobuf:"varint,3,req,name=protocol" json:"protocol,omitempty"` |
| 194 |
Flags *uint32 `protobuf:"varint,4,req,name=flags" json:"flags,omitempty"` |
| 195 |
Ifindex *uint32 `protobuf:"varint,5,req,name=ifindex" json:"ifindex,omitempty"` |
| 196 |
Fown *fown.FownEntry `protobuf:"bytes,6,req,name=fown" json:"fown,omitempty"` |
| 197 |
Opts *sk_opts.SkOptsEntry `protobuf:"bytes,7,req,name=opts" json:"opts,omitempty"` |
| 198 |
Version *uint32 `protobuf:"varint,8,req,name=version" json:"version,omitempty"` |
| 199 |
Reserve *uint32 `protobuf:"varint,9,req,name=reserve" json:"reserve,omitempty"` |
| 200 |
AuxData *bool `protobuf:"varint,10,req,name=aux_data,json=auxData" json:"aux_data,omitempty"` |
| 201 |
OrigDev *bool `protobuf:"varint,11,req,name=orig_dev,json=origDev" json:"orig_dev,omitempty"` |
| 202 |
VnetHdr *bool `protobuf:"varint,12,req,name=vnet_hdr,json=vnetHdr" json:"vnet_hdr,omitempty"` |
| 203 |
Loss *bool `protobuf:"varint,13,req,name=loss" json:"loss,omitempty"` |
| 204 |
Timestamp *uint32 `protobuf:"varint,14,req,name=timestamp" json:"timestamp,omitempty"` |
| 205 |
CopyThresh *uint32 `protobuf:"varint,15,req,name=copy_thresh,json=copyThresh" json:"copy_thresh,omitempty"` |
| 206 |
Mclist []*PacketMclist `protobuf:"bytes,16,rep,name=mclist" json:"mclist,omitempty"` |
| 207 |
Fanout *uint32 `protobuf:"varint,17,opt,name=fanout,def=4294967295" json:"fanout,omitempty"` |
| 208 |
RxRing *PacketRing `protobuf:"bytes,18,opt,name=rx_ring,json=rxRing" json:"rx_ring,omitempty"` |
| 209 |
TxRing *PacketRing `protobuf:"bytes,19,opt,name=tx_ring,json=txRing" json:"tx_ring,omitempty"` |
| 210 |
NsId *uint32 `protobuf:"varint,20,opt,name=ns_id,json=nsId" json:"ns_id,omitempty"` |
| 211 |
} |
| 212 |
|
| 213 |
|
| 214 |
const ( |
| 215 |
Default_PacketSockEntry_Fanout = uint32(4294967295) |
| 216 |
) |
| 217 |
|
| 218 |
func (x *PacketSockEntry) Reset() { |
| 219 |
*x = PacketSockEntry{} |
| 220 |
if protoimpl.UnsafeEnabled { |
| 221 |
mi := &file_packet_sock_proto_msgTypes[2] |
| 222 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 223 |
ms.StoreMessageInfo(mi) |
| 224 |
} |
| 225 |
} |
| 226 |
|
| 227 |
func (x *PacketSockEntry) String() string { |
| 228 |
return protoimpl.X.MessageStringOf(x) |
| 229 |
} |
| 230 |
|
| 231 |
func (*PacketSockEntry) ProtoMessage() {} |
| 232 |
|
| 233 |
func (x *PacketSockEntry) ProtoReflect() protoreflect.Message { |
| 234 |
mi := &file_packet_sock_proto_msgTypes[2] |
| 235 |
if protoimpl.UnsafeEnabled && x != nil { |
| 236 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 237 |
if ms.LoadMessageInfo() == nil { |
| 238 |
ms.StoreMessageInfo(mi) |
| 239 |
} |
| 240 |
return ms |
| 241 |
} |
| 242 |
return mi.MessageOf(x) |
| 243 |
} |
| 244 |
|
| 245 |
|
| 246 |
func (*PacketSockEntry) Descriptor() ([]byte, []int) { |
| 247 |
return file_packet_sock_proto_rawDescGZIP(), []int{2} |
| 248 |
} |
| 249 |
|
| 250 |
func (x *PacketSockEntry) GetId() uint32 { |
| 251 |
if x != nil && x.Id != nil { |
| 252 |
return *x.Id |
| 253 |
} |
| 254 |
return 0 |
| 255 |
} |
| 256 |
|
| 257 |
func (x *PacketSockEntry) GetType() uint32 { |
| 258 |
if x != nil && x.Type != nil { |
| 259 |
return *x.Type |
| 260 |
} |
| 261 |
return 0 |
| 262 |
} |
| 263 |
|
| 264 |
func (x *PacketSockEntry) GetProtocol() uint32 { |
| 265 |
if x != nil && x.Protocol != nil { |
| 266 |
return *x.Protocol |
| 267 |
} |
| 268 |
return 0 |
| 269 |
} |
| 270 |
|
| 271 |
func (x *PacketSockEntry) GetFlags() uint32 { |
| 272 |
if x != nil && x.Flags != nil { |
| 273 |
return *x.Flags |
| 274 |
} |
| 275 |
return 0 |
| 276 |
} |
| 277 |
|
| 278 |
func (x *PacketSockEntry) GetIfindex() uint32 { |
| 279 |
if x != nil && x.Ifindex != nil { |
| 280 |
return *x.Ifindex |
| 281 |
} |
| 282 |
return 0 |
| 283 |
} |
| 284 |
|
| 285 |
func (x *PacketSockEntry) GetFown() *fown.FownEntry { |
| 286 |
if x != nil { |
| 287 |
return x.Fown |
| 288 |
} |
| 289 |
return nil |
| 290 |
} |
| 291 |
|
| 292 |
func (x *PacketSockEntry) GetOpts() *sk_opts.SkOptsEntry { |
| 293 |
if x != nil { |
| 294 |
return x.Opts |
| 295 |
} |
| 296 |
return nil |
| 297 |
} |
| 298 |
|
| 299 |
func (x *PacketSockEntry) GetVersion() uint32 { |
| 300 |
if x != nil && x.Version != nil { |
| 301 |
return *x.Version |
| 302 |
} |
| 303 |
return 0 |
| 304 |
} |
| 305 |
|
| 306 |
func (x *PacketSockEntry) GetReserve() uint32 { |
| 307 |
if x != nil && x.Reserve != nil { |
| 308 |
return *x.Reserve |
| 309 |
} |
| 310 |
return 0 |
| 311 |
} |
| 312 |
|
| 313 |
func (x *PacketSockEntry) GetAuxData() bool { |
| 314 |
if x != nil && x.AuxData != nil { |
| 315 |
return *x.AuxData |
| 316 |
} |
| 317 |
return false |
| 318 |
} |
| 319 |
|
| 320 |
func (x *PacketSockEntry) GetOrigDev() bool { |
| 321 |
if x != nil && x.OrigDev != nil { |
| 322 |
return *x.OrigDev |
| 323 |
} |
| 324 |
return false |
| 325 |
} |
| 326 |
|
| 327 |
func (x *PacketSockEntry) GetVnetHdr() bool { |
| 328 |
if x != nil && x.VnetHdr != nil { |
| 329 |
return *x.VnetHdr |
| 330 |
} |
| 331 |
return false |
| 332 |
} |
| 333 |
|
| 334 |
func (x *PacketSockEntry) GetLoss() bool { |
| 335 |
if x != nil && x.Loss != nil { |
| 336 |
return *x.Loss |
| 337 |
} |
| 338 |
return false |
| 339 |
} |
| 340 |
|
| 341 |
func (x *PacketSockEntry) GetTimestamp() uint32 { |
| 342 |
if x != nil && x.Timestamp != nil { |
| 343 |
return *x.Timestamp |
| 344 |
} |
| 345 |
return 0 |
| 346 |
} |
| 347 |
|
| 348 |
func (x *PacketSockEntry) GetCopyThresh() uint32 { |
| 349 |
if x != nil && x.CopyThresh != nil { |
| 350 |
return *x.CopyThresh |
| 351 |
} |
| 352 |
return 0 |
| 353 |
} |
| 354 |
|
| 355 |
func (x *PacketSockEntry) GetMclist() []*PacketMclist { |
| 356 |
if x != nil { |
| 357 |
return x.Mclist |
| 358 |
} |
| 359 |
return nil |
| 360 |
} |
| 361 |
|
| 362 |
func (x *PacketSockEntry) GetFanout() uint32 { |
| 363 |
if x != nil && x.Fanout != nil { |
| 364 |
return *x.Fanout |
| 365 |
} |
| 366 |
return Default_PacketSockEntry_Fanout |
| 367 |
} |
| 368 |
|
| 369 |
func (x *PacketSockEntry) GetRxRing() *PacketRing { |
| 370 |
if x != nil { |
| 371 |
return x.RxRing |
| 372 |
} |
| 373 |
return nil |
| 374 |
} |
| 375 |
|
| 376 |
func (x *PacketSockEntry) GetTxRing() *PacketRing { |
| 377 |
if x != nil { |
| 378 |
return x.TxRing |
| 379 |
} |
| 380 |
return nil |
| 381 |
} |
| 382 |
|
| 383 |
func (x *PacketSockEntry) GetNsId() uint32 { |
| 384 |
if x != nil && x.NsId != nil { |
| 385 |
return *x.NsId |
| 386 |
} |
| 387 |
return 0 |
| 388 |
} |
| 389 |
|
| 390 |
var File_packet_sock_proto protoreflect.FileDescriptor |
| 391 |
|
| 392 |
var file_packet_sock_proto_rawDesc = []byte{ |
| 393 |
0x0a, 0x11, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x2d, 0x73, 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, |
| 394 |
0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, |
| 395 |
0x0a, 0x66, 0x6f, 0x77, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x73, 0x6b, 0x2d, |
| 396 |
0x6f, 0x70, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4d, 0x0a, 0x0d, 0x70, 0x61, |
| 397 |
0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6d, 0x63, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x69, |
| 398 |
0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, |
| 399 |
0x78, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, |
| 400 |
0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x03, 0x20, |
| 401 |
0x02, 0x28, 0x0c, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x22, 0xdd, 0x01, 0x0a, 0x0b, 0x70, 0x61, |
| 402 |
0x63, 0x6b, 0x65, 0x74, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, |
| 403 |
0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x09, 0x62, |
| 404 |
0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x6c, 0x6f, 0x63, |
| 405 |
0x6b, 0x5f, 0x6e, 0x72, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 0x62, 0x6c, 0x6f, 0x63, |
| 406 |
0x6b, 0x4e, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x7a, |
| 407 |
0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x09, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x53, 0x69, |
| 408 |
0x7a, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x6e, 0x72, 0x18, 0x04, |
| 409 |
0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x4e, 0x72, 0x12, 0x1d, 0x0a, |
| 410 |
0x0a, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x5f, 0x74, 0x6d, 0x6f, 0x18, 0x05, 0x20, 0x02, 0x28, |
| 411 |
0x0d, 0x52, 0x09, 0x72, 0x65, 0x74, 0x69, 0x72, 0x65, 0x54, 0x6d, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, |
| 412 |
0x73, 0x69, 0x7a, 0x65, 0x6f, 0x66, 0x5f, 0x70, 0x72, 0x69, 0x76, 0x18, 0x06, 0x20, 0x02, 0x28, |
| 413 |
0x0d, 0x52, 0x0a, 0x73, 0x69, 0x7a, 0x65, 0x6f, 0x66, 0x50, 0x72, 0x69, 0x76, 0x12, 0x1a, 0x0a, |
| 414 |
0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x07, 0x20, 0x02, 0x28, 0x0d, 0x52, |
| 415 |
0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0xd6, 0x04, 0x0a, 0x11, 0x70, 0x61, |
| 416 |
0x63, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x6f, 0x63, 0x6b, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, |
| 417 |
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, |
| 418 |
0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x04, 0x74, |
| 419 |
0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, |
| 420 |
0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, |
| 421 |
0x1b, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0d, 0x42, 0x05, |
| 422 |
0xd2, 0x3f, 0x02, 0x08, 0x01, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, |
| 423 |
0x69, 0x66, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 0x69, |
| 424 |
0x66, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x0a, 0x04, 0x66, 0x6f, 0x77, 0x6e, 0x18, 0x06, |
| 425 |
0x20, 0x02, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x66, 0x6f, 0x77, 0x6e, 0x5f, 0x65, 0x6e, 0x74, 0x72, |
| 426 |
0x79, 0x52, 0x04, 0x66, 0x6f, 0x77, 0x6e, 0x12, 0x22, 0x0a, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x18, |
| 427 |
0x07, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, 0x6b, 0x5f, 0x6f, 0x70, 0x74, 0x73, 0x5f, |
| 428 |
0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x6f, 0x70, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, |
| 429 |
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, |
| 430 |
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, |
| 431 |
0x18, 0x09, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x12, |
| 432 |
0x19, 0x0a, 0x08, 0x61, 0x75, 0x78, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x02, 0x28, |
| 433 |
0x08, 0x52, 0x07, 0x61, 0x75, 0x78, 0x44, 0x61, 0x74, 0x61, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x72, |
| 434 |
0x69, 0x67, 0x5f, 0x64, 0x65, 0x76, 0x18, 0x0b, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x72, |
| 435 |
0x69, 0x67, 0x44, 0x65, 0x76, 0x12, 0x19, 0x0a, 0x08, 0x76, 0x6e, 0x65, 0x74, 0x5f, 0x68, 0x64, |
| 436 |
0x72, 0x18, 0x0c, 0x20, 0x02, 0x28, 0x08, 0x52, 0x07, 0x76, 0x6e, 0x65, 0x74, 0x48, 0x64, 0x72, |
| 437 |
0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x73, 0x73, 0x18, 0x0d, 0x20, 0x02, 0x28, 0x08, 0x52, 0x04, |
| 438 |
0x6c, 0x6f, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, |
| 439 |
0x70, 0x18, 0x0e, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, |
| 440 |
0x6d, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x70, 0x79, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, |
| 441 |
0x68, 0x18, 0x0f, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6f, 0x70, 0x79, 0x54, 0x68, 0x72, |
| 442 |
0x65, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x06, 0x6d, 0x63, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x10, 0x20, |
| 443 |
0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x6d, 0x63, 0x6c, |
| 444 |
0x69, 0x73, 0x74, 0x52, 0x06, 0x6d, 0x63, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x06, 0x66, |
| 445 |
0x61, 0x6e, 0x6f, 0x75, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d, 0x3a, 0x0a, 0x34, 0x32, 0x39, |
| 446 |
0x34, 0x39, 0x36, 0x37, 0x32, 0x39, 0x35, 0x52, 0x06, 0x66, 0x61, 0x6e, 0x6f, 0x75, 0x74, 0x12, |
| 447 |
0x25, 0x0a, 0x07, 0x72, 0x78, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, |
| 448 |
0x32, 0x0c, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x06, |
| 449 |
0x72, 0x78, 0x52, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x72, 0x69, 0x6e, |
| 450 |
0x67, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, |
| 451 |
0x5f, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x74, 0x78, 0x52, 0x69, 0x6e, 0x67, 0x12, 0x13, 0x0a, |
| 452 |
0x05, 0x6e, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x6e, 0x73, |
| 453 |
0x49, 0x64, |
| 454 |
} |
| 455 |
|
| 456 |
var ( |
| 457 |
file_packet_sock_proto_rawDescOnce sync.Once |
| 458 |
file_packet_sock_proto_rawDescData = file_packet_sock_proto_rawDesc |
| 459 |
) |
| 460 |
|
| 461 |
func file_packet_sock_proto_rawDescGZIP() []byte { |
| 462 |
file_packet_sock_proto_rawDescOnce.Do(func() { |
| 463 |
file_packet_sock_proto_rawDescData = protoimpl.X.CompressGZIP(file_packet_sock_proto_rawDescData) |
| 464 |
}) |
| 465 |
return file_packet_sock_proto_rawDescData |
| 466 |
} |
| 467 |
|
| 468 |
var file_packet_sock_proto_msgTypes = make([]protoimpl.MessageInfo, 3) |
| 469 |
var file_packet_sock_proto_goTypes = []interface{}{ |
| 470 |
(*PacketMclist)(nil), |
| 471 |
(*PacketRing)(nil), |
| 472 |
(*PacketSockEntry)(nil), |
| 473 |
(*fown.FownEntry)(nil), |
| 474 |
(*sk_opts.SkOptsEntry)(nil), |
| 475 |
} |
| 476 |
var file_packet_sock_proto_depIdxs = []int32{ |
| 477 |
3, |
| 478 |
4, |
| 479 |
0, |
| 480 |
1, |
| 481 |
1, |
| 482 |
5, |
| 483 |
5, |
| 484 |
5, |
| 485 |
5, |
| 486 |
0, |
| 487 |
} |
| 488 |
|
| 489 |
func init() { file_packet_sock_proto_init() } |
| 490 |
func file_packet_sock_proto_init() { |
| 491 |
if File_packet_sock_proto != nil { |
| 492 |
return |
| 493 |
} |
| 494 |
if !protoimpl.UnsafeEnabled { |
| 495 |
file_packet_sock_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 496 |
switch v := v.(*PacketMclist); i { |
| 497 |
case 0: |
| 498 |
return &v.state |
| 499 |
case 1: |
| 500 |
return &v.sizeCache |
| 501 |
case 2: |
| 502 |
return &v.unknownFields |
| 503 |
default: |
| 504 |
return nil |
| 505 |
} |
| 506 |
} |
| 507 |
file_packet_sock_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 508 |
switch v := v.(*PacketRing); i { |
| 509 |
case 0: |
| 510 |
return &v.state |
| 511 |
case 1: |
| 512 |
return &v.sizeCache |
| 513 |
case 2: |
| 514 |
return &v.unknownFields |
| 515 |
default: |
| 516 |
return nil |
| 517 |
} |
| 518 |
} |
| 519 |
file_packet_sock_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 520 |
switch v := v.(*PacketSockEntry); i { |
| 521 |
case 0: |
| 522 |
return &v.state |
| 523 |
case 1: |
| 524 |
return &v.sizeCache |
| 525 |
case 2: |
| 526 |
return &v.unknownFields |
| 527 |
default: |
| 528 |
return nil |
| 529 |
} |
| 530 |
} |
| 531 |
} |
| 532 |
type x struct{} |
| 533 |
out := protoimpl.TypeBuilder{ |
| 534 |
File: protoimpl.DescBuilder{ |
| 535 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 536 |
RawDescriptor: file_packet_sock_proto_rawDesc, |
| 537 |
NumEnums: 0, |
| 538 |
NumMessages: 3, |
| 539 |
NumExtensions: 0, |
| 540 |
NumServices: 0, |
| 541 |
}, |
| 542 |
GoTypes: file_packet_sock_proto_goTypes, |
| 543 |
DependencyIndexes: file_packet_sock_proto_depIdxs, |
| 544 |
MessageInfos: file_packet_sock_proto_msgTypes, |
| 545 |
}.Build() |
| 546 |
File_packet_sock_proto = out.File |
| 547 |
file_packet_sock_proto_rawDesc = nil |
| 548 |
file_packet_sock_proto_goTypes = nil |
| 549 |
file_packet_sock_proto_depIdxs = nil |
| 550 |
} |