| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
package ipc_var |
| 10 |
|
| 11 |
import ( |
| 12 |
protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| 13 |
protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| 14 |
reflect "reflect" |
| 15 |
sync "sync" |
| 16 |
) |
| 17 |
|
| 18 |
const ( |
| 19 |
|
| 20 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 21 |
|
| 22 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 23 |
) |
| 24 |
|
| 25 |
type IpcVarEntry struct { |
| 26 |
state protoimpl.MessageState |
| 27 |
sizeCache protoimpl.SizeCache |
| 28 |
unknownFields protoimpl.UnknownFields |
| 29 |
|
| 30 |
SemCtls []uint32 `protobuf:"varint,1,rep,name=sem_ctls,json=semCtls" json:"sem_ctls,omitempty"` |
| 31 |
MsgCtlmax *uint32 `protobuf:"varint,2,req,name=msg_ctlmax,json=msgCtlmax" json:"msg_ctlmax,omitempty"` |
| 32 |
MsgCtlmnb *uint32 `protobuf:"varint,3,req,name=msg_ctlmnb,json=msgCtlmnb" json:"msg_ctlmnb,omitempty"` |
| 33 |
MsgCtlmni *uint32 `protobuf:"varint,4,req,name=msg_ctlmni,json=msgCtlmni" json:"msg_ctlmni,omitempty"` |
| 34 |
AutoMsgmni *uint32 `protobuf:"varint,5,req,name=auto_msgmni,json=autoMsgmni" json:"auto_msgmni,omitempty"` |
| 35 |
ShmCtlmax *uint64 `protobuf:"varint,6,req,name=shm_ctlmax,json=shmCtlmax" json:"shm_ctlmax,omitempty"` |
| 36 |
ShmCtlall *uint64 `protobuf:"varint,7,req,name=shm_ctlall,json=shmCtlall" json:"shm_ctlall,omitempty"` |
| 37 |
ShmCtlmni *uint32 `protobuf:"varint,8,req,name=shm_ctlmni,json=shmCtlmni" json:"shm_ctlmni,omitempty"` |
| 38 |
ShmRmidForced *uint32 `protobuf:"varint,9,req,name=shm_rmid_forced,json=shmRmidForced" json:"shm_rmid_forced,omitempty"` |
| 39 |
MqQueuesMax *uint32 `protobuf:"varint,10,req,name=mq_queues_max,json=mqQueuesMax" json:"mq_queues_max,omitempty"` |
| 40 |
MqMsgMax *uint32 `protobuf:"varint,11,req,name=mq_msg_max,json=mqMsgMax" json:"mq_msg_max,omitempty"` |
| 41 |
MqMsgsizeMax *uint32 `protobuf:"varint,12,req,name=mq_msgsize_max,json=mqMsgsizeMax" json:"mq_msgsize_max,omitempty"` |
| 42 |
MqMsgDefault *uint32 `protobuf:"varint,13,opt,name=mq_msg_default,json=mqMsgDefault" json:"mq_msg_default,omitempty"` |
| 43 |
MqMsgsizeDefault *uint32 `protobuf:"varint,14,opt,name=mq_msgsize_default,json=mqMsgsizeDefault" json:"mq_msgsize_default,omitempty"` |
| 44 |
MsgNextId *uint32 `protobuf:"varint,15,opt,name=msg_next_id,json=msgNextId" json:"msg_next_id,omitempty"` |
| 45 |
SemNextId *uint32 `protobuf:"varint,16,opt,name=sem_next_id,json=semNextId" json:"sem_next_id,omitempty"` |
| 46 |
ShmNextId *uint32 `protobuf:"varint,17,opt,name=shm_next_id,json=shmNextId" json:"shm_next_id,omitempty"` |
| 47 |
} |
| 48 |
|
| 49 |
func (x *IpcVarEntry) Reset() { |
| 50 |
*x = IpcVarEntry{} |
| 51 |
if protoimpl.UnsafeEnabled { |
| 52 |
mi := &file_ipc_var_proto_msgTypes[0] |
| 53 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 54 |
ms.StoreMessageInfo(mi) |
| 55 |
} |
| 56 |
} |
| 57 |
|
| 58 |
func (x *IpcVarEntry) String() string { |
| 59 |
return protoimpl.X.MessageStringOf(x) |
| 60 |
} |
| 61 |
|
| 62 |
func (*IpcVarEntry) ProtoMessage() {} |
| 63 |
|
| 64 |
func (x *IpcVarEntry) ProtoReflect() protoreflect.Message { |
| 65 |
mi := &file_ipc_var_proto_msgTypes[0] |
| 66 |
if protoimpl.UnsafeEnabled && x != nil { |
| 67 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 68 |
if ms.LoadMessageInfo() == nil { |
| 69 |
ms.StoreMessageInfo(mi) |
| 70 |
} |
| 71 |
return ms |
| 72 |
} |
| 73 |
return mi.MessageOf(x) |
| 74 |
} |
| 75 |
|
| 76 |
|
| 77 |
func (*IpcVarEntry) Descriptor() ([]byte, []int) { |
| 78 |
return file_ipc_var_proto_rawDescGZIP(), []int{0} |
| 79 |
} |
| 80 |
|
| 81 |
func (x *IpcVarEntry) GetSemCtls() []uint32 { |
| 82 |
if x != nil { |
| 83 |
return x.SemCtls |
| 84 |
} |
| 85 |
return nil |
| 86 |
} |
| 87 |
|
| 88 |
func (x *IpcVarEntry) GetMsgCtlmax() uint32 { |
| 89 |
if x != nil && x.MsgCtlmax != nil { |
| 90 |
return *x.MsgCtlmax |
| 91 |
} |
| 92 |
return 0 |
| 93 |
} |
| 94 |
|
| 95 |
func (x *IpcVarEntry) GetMsgCtlmnb() uint32 { |
| 96 |
if x != nil && x.MsgCtlmnb != nil { |
| 97 |
return *x.MsgCtlmnb |
| 98 |
} |
| 99 |
return 0 |
| 100 |
} |
| 101 |
|
| 102 |
func (x *IpcVarEntry) GetMsgCtlmni() uint32 { |
| 103 |
if x != nil && x.MsgCtlmni != nil { |
| 104 |
return *x.MsgCtlmni |
| 105 |
} |
| 106 |
return 0 |
| 107 |
} |
| 108 |
|
| 109 |
func (x *IpcVarEntry) GetAutoMsgmni() uint32 { |
| 110 |
if x != nil && x.AutoMsgmni != nil { |
| 111 |
return *x.AutoMsgmni |
| 112 |
} |
| 113 |
return 0 |
| 114 |
} |
| 115 |
|
| 116 |
func (x *IpcVarEntry) GetShmCtlmax() uint64 { |
| 117 |
if x != nil && x.ShmCtlmax != nil { |
| 118 |
return *x.ShmCtlmax |
| 119 |
} |
| 120 |
return 0 |
| 121 |
} |
| 122 |
|
| 123 |
func (x *IpcVarEntry) GetShmCtlall() uint64 { |
| 124 |
if x != nil && x.ShmCtlall != nil { |
| 125 |
return *x.ShmCtlall |
| 126 |
} |
| 127 |
return 0 |
| 128 |
} |
| 129 |
|
| 130 |
func (x *IpcVarEntry) GetShmCtlmni() uint32 { |
| 131 |
if x != nil && x.ShmCtlmni != nil { |
| 132 |
return *x.ShmCtlmni |
| 133 |
} |
| 134 |
return 0 |
| 135 |
} |
| 136 |
|
| 137 |
func (x *IpcVarEntry) GetShmRmidForced() uint32 { |
| 138 |
if x != nil && x.ShmRmidForced != nil { |
| 139 |
return *x.ShmRmidForced |
| 140 |
} |
| 141 |
return 0 |
| 142 |
} |
| 143 |
|
| 144 |
func (x *IpcVarEntry) GetMqQueuesMax() uint32 { |
| 145 |
if x != nil && x.MqQueuesMax != nil { |
| 146 |
return *x.MqQueuesMax |
| 147 |
} |
| 148 |
return 0 |
| 149 |
} |
| 150 |
|
| 151 |
func (x *IpcVarEntry) GetMqMsgMax() uint32 { |
| 152 |
if x != nil && x.MqMsgMax != nil { |
| 153 |
return *x.MqMsgMax |
| 154 |
} |
| 155 |
return 0 |
| 156 |
} |
| 157 |
|
| 158 |
func (x *IpcVarEntry) GetMqMsgsizeMax() uint32 { |
| 159 |
if x != nil && x.MqMsgsizeMax != nil { |
| 160 |
return *x.MqMsgsizeMax |
| 161 |
} |
| 162 |
return 0 |
| 163 |
} |
| 164 |
|
| 165 |
func (x *IpcVarEntry) GetMqMsgDefault() uint32 { |
| 166 |
if x != nil && x.MqMsgDefault != nil { |
| 167 |
return *x.MqMsgDefault |
| 168 |
} |
| 169 |
return 0 |
| 170 |
} |
| 171 |
|
| 172 |
func (x *IpcVarEntry) GetMqMsgsizeDefault() uint32 { |
| 173 |
if x != nil && x.MqMsgsizeDefault != nil { |
| 174 |
return *x.MqMsgsizeDefault |
| 175 |
} |
| 176 |
return 0 |
| 177 |
} |
| 178 |
|
| 179 |
func (x *IpcVarEntry) GetMsgNextId() uint32 { |
| 180 |
if x != nil && x.MsgNextId != nil { |
| 181 |
return *x.MsgNextId |
| 182 |
} |
| 183 |
return 0 |
| 184 |
} |
| 185 |
|
| 186 |
func (x *IpcVarEntry) GetSemNextId() uint32 { |
| 187 |
if x != nil && x.SemNextId != nil { |
| 188 |
return *x.SemNextId |
| 189 |
} |
| 190 |
return 0 |
| 191 |
} |
| 192 |
|
| 193 |
func (x *IpcVarEntry) GetShmNextId() uint32 { |
| 194 |
if x != nil && x.ShmNextId != nil { |
| 195 |
return *x.ShmNextId |
| 196 |
} |
| 197 |
return 0 |
| 198 |
} |
| 199 |
|
| 200 |
var File_ipc_var_proto protoreflect.FileDescriptor |
| 201 |
|
| 202 |
var file_ipc_var_proto_rawDesc = []byte{ |
| 203 |
0x0a, 0x0d, 0x69, 0x70, 0x63, 0x2d, 0x76, 0x61, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, |
| 204 |
0xc9, 0x04, 0x0a, 0x0d, 0x69, 0x70, 0x63, 0x5f, 0x76, 0x61, 0x72, 0x5f, 0x65, 0x6e, 0x74, 0x72, |
| 205 |
0x79, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x65, 0x6d, 0x5f, 0x63, 0x74, 0x6c, 0x73, 0x18, 0x01, 0x20, |
| 206 |
0x03, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x65, 0x6d, 0x43, 0x74, 0x6c, 0x73, 0x12, 0x1d, 0x0a, 0x0a, |
| 207 |
0x6d, 0x73, 0x67, 0x5f, 0x63, 0x74, 0x6c, 0x6d, 0x61, 0x78, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, |
| 208 |
0x52, 0x09, 0x6d, 0x73, 0x67, 0x43, 0x74, 0x6c, 0x6d, 0x61, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, |
| 209 |
0x73, 0x67, 0x5f, 0x63, 0x74, 0x6c, 0x6d, 0x6e, 0x62, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, |
| 210 |
0x09, 0x6d, 0x73, 0x67, 0x43, 0x74, 0x6c, 0x6d, 0x6e, 0x62, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x73, |
| 211 |
0x67, 0x5f, 0x63, 0x74, 0x6c, 0x6d, 0x6e, 0x69, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x09, |
| 212 |
0x6d, 0x73, 0x67, 0x43, 0x74, 0x6c, 0x6d, 0x6e, 0x69, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x75, 0x74, |
| 213 |
0x6f, 0x5f, 0x6d, 0x73, 0x67, 0x6d, 0x6e, 0x69, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0a, |
| 214 |
0x61, 0x75, 0x74, 0x6f, 0x4d, 0x73, 0x67, 0x6d, 0x6e, 0x69, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, |
| 215 |
0x6d, 0x5f, 0x63, 0x74, 0x6c, 0x6d, 0x61, 0x78, 0x18, 0x06, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09, |
| 216 |
0x73, 0x68, 0x6d, 0x43, 0x74, 0x6c, 0x6d, 0x61, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x6d, |
| 217 |
0x5f, 0x63, 0x74, 0x6c, 0x61, 0x6c, 0x6c, 0x18, 0x07, 0x20, 0x02, 0x28, 0x04, 0x52, 0x09, 0x73, |
| 218 |
0x68, 0x6d, 0x43, 0x74, 0x6c, 0x61, 0x6c, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x6d, 0x5f, |
| 219 |
0x63, 0x74, 0x6c, 0x6d, 0x6e, 0x69, 0x18, 0x08, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x09, 0x73, 0x68, |
| 220 |
0x6d, 0x43, 0x74, 0x6c, 0x6d, 0x6e, 0x69, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x68, 0x6d, 0x5f, 0x72, |
| 221 |
0x6d, 0x69, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x64, 0x18, 0x09, 0x20, 0x02, 0x28, 0x0d, |
| 222 |
0x52, 0x0d, 0x73, 0x68, 0x6d, 0x52, 0x6d, 0x69, 0x64, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x64, 0x12, |
| 223 |
0x22, 0x0a, 0x0d, 0x6d, 0x71, 0x5f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x5f, 0x6d, 0x61, 0x78, |
| 224 |
0x18, 0x0a, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0b, 0x6d, 0x71, 0x51, 0x75, 0x65, 0x75, 0x65, 0x73, |
| 225 |
0x4d, 0x61, 0x78, 0x12, 0x1c, 0x0a, 0x0a, 0x6d, 0x71, 0x5f, 0x6d, 0x73, 0x67, 0x5f, 0x6d, 0x61, |
| 226 |
0x78, 0x18, 0x0b, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x71, 0x4d, 0x73, 0x67, 0x4d, 0x61, |
| 227 |
0x78, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x71, 0x5f, 0x6d, 0x73, 0x67, 0x73, 0x69, 0x7a, 0x65, 0x5f, |
| 228 |
0x6d, 0x61, 0x78, 0x18, 0x0c, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x71, 0x4d, 0x73, 0x67, |
| 229 |
0x73, 0x69, 0x7a, 0x65, 0x4d, 0x61, 0x78, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x71, 0x5f, 0x6d, 0x73, |
| 230 |
0x67, 0x5f, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52, |
| 231 |
0x0c, 0x6d, 0x71, 0x4d, 0x73, 0x67, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x2c, 0x0a, |
| 232 |
0x12, 0x6d, 0x71, 0x5f, 0x6d, 0x73, 0x67, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x64, 0x65, 0x66, 0x61, |
| 233 |
0x75, 0x6c, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6d, 0x71, 0x4d, 0x73, 0x67, |
| 234 |
0x73, 0x69, 0x7a, 0x65, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x6d, |
| 235 |
0x73, 0x67, 0x5f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, |
| 236 |
0x52, 0x09, 0x6d, 0x73, 0x67, 0x4e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x73, |
| 237 |
0x65, 0x6d, 0x5f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, |
| 238 |
0x52, 0x09, 0x73, 0x65, 0x6d, 0x4e, 0x65, 0x78, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0b, 0x73, |
| 239 |
0x68, 0x6d, 0x5f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d, |
| 240 |
0x52, 0x09, 0x73, 0x68, 0x6d, 0x4e, 0x65, 0x78, 0x74, 0x49, 0x64, |
| 241 |
} |
| 242 |
|
| 243 |
var ( |
| 244 |
file_ipc_var_proto_rawDescOnce sync.Once |
| 245 |
file_ipc_var_proto_rawDescData = file_ipc_var_proto_rawDesc |
| 246 |
) |
| 247 |
|
| 248 |
func file_ipc_var_proto_rawDescGZIP() []byte { |
| 249 |
file_ipc_var_proto_rawDescOnce.Do(func() { |
| 250 |
file_ipc_var_proto_rawDescData = protoimpl.X.CompressGZIP(file_ipc_var_proto_rawDescData) |
| 251 |
}) |
| 252 |
return file_ipc_var_proto_rawDescData |
| 253 |
} |
| 254 |
|
| 255 |
var file_ipc_var_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 256 |
var file_ipc_var_proto_goTypes = []interface{}{ |
| 257 |
(*IpcVarEntry)(nil), |
| 258 |
} |
| 259 |
var file_ipc_var_proto_depIdxs = []int32{ |
| 260 |
0, |
| 261 |
0, |
| 262 |
0, |
| 263 |
0, |
| 264 |
0, |
| 265 |
} |
| 266 |
|
| 267 |
func init() { file_ipc_var_proto_init() } |
| 268 |
func file_ipc_var_proto_init() { |
| 269 |
if File_ipc_var_proto != nil { |
| 270 |
return |
| 271 |
} |
| 272 |
if !protoimpl.UnsafeEnabled { |
| 273 |
file_ipc_var_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 274 |
switch v := v.(*IpcVarEntry); i { |
| 275 |
case 0: |
| 276 |
return &v.state |
| 277 |
case 1: |
| 278 |
return &v.sizeCache |
| 279 |
case 2: |
| 280 |
return &v.unknownFields |
| 281 |
default: |
| 282 |
return nil |
| 283 |
} |
| 284 |
} |
| 285 |
} |
| 286 |
type x struct{} |
| 287 |
out := protoimpl.TypeBuilder{ |
| 288 |
File: protoimpl.DescBuilder{ |
| 289 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 290 |
RawDescriptor: file_ipc_var_proto_rawDesc, |
| 291 |
NumEnums: 0, |
| 292 |
NumMessages: 1, |
| 293 |
NumExtensions: 0, |
| 294 |
NumServices: 0, |
| 295 |
}, |
| 296 |
GoTypes: file_ipc_var_proto_goTypes, |
| 297 |
DependencyIndexes: file_ipc_var_proto_depIdxs, |
| 298 |
MessageInfos: file_ipc_var_proto_msgTypes, |
| 299 |
}.Build() |
| 300 |
File_ipc_var_proto = out.File |
| 301 |
file_ipc_var_proto_rawDesc = nil |
| 302 |
file_ipc_var_proto_goTypes = nil |
| 303 |
file_ipc_var_proto_depIdxs = nil |
| 304 |
} |