Documentation ¶
Overview ¶
protos package encapsulates protoc generated go files for S6a GRPC Proxy. Use `go generate github.com/fiorix/go-diameter/examples/s6a_proxy/protos` to re-generate protos As noted in:
https://docs.google.com/document/d/1V03LUfjSADDooDMhe-_K59EgpTEm3V8uvQRuNMAEnjg/edit#heading=h.tksmbbpjl4ya "...First, go generate is intended§ to be run by the author of a package, not the client of it. The author of the package generates the required Go files and includes them in the package; the client does a regular go get or go build. Generation through go generate is not part of the build, just a tool for package authors. This avoids complicating the dependency analysis done by Go build..."
Package protos is a generated protocol buffer package.
It is generated from these files:
s6a.proto
It has these top-level messages:
AuthenticationInformationRequest AuthenticationInformationAnswer UpdateLocationRequest UpdateLocationAnswer CancelLocationRequest CancelLocationAnswer PurgeUERequest PurgeUEAnswer
Index ¶
- Variables
- func RegisterS6AProxyServer(s *grpc.Server, srv S6AProxyServer)
- type AuthenticationInformationAnswer
- func (*AuthenticationInformationAnswer) Descriptor() ([]byte, []int)
- func (m *AuthenticationInformationAnswer) GetErrorCode() ErrorCode
- func (m *AuthenticationInformationAnswer) GetEutranVectors() []*AuthenticationInformationAnswer_EUTRANVector
- func (*AuthenticationInformationAnswer) ProtoMessage()
- func (m *AuthenticationInformationAnswer) Reset()
- func (m *AuthenticationInformationAnswer) String() string
- type AuthenticationInformationAnswer_EUTRANVector
- func (*AuthenticationInformationAnswer_EUTRANVector) Descriptor() ([]byte, []int)
- func (m *AuthenticationInformationAnswer_EUTRANVector) GetAutn() []byte
- func (m *AuthenticationInformationAnswer_EUTRANVector) GetKasme() []byte
- func (m *AuthenticationInformationAnswer_EUTRANVector) GetRand() []byte
- func (m *AuthenticationInformationAnswer_EUTRANVector) GetXres() []byte
- func (*AuthenticationInformationAnswer_EUTRANVector) ProtoMessage()
- func (m *AuthenticationInformationAnswer_EUTRANVector) Reset()
- func (m *AuthenticationInformationAnswer_EUTRANVector) String() string
- type AuthenticationInformationRequest
- func (*AuthenticationInformationRequest) Descriptor() ([]byte, []int)
- func (m *AuthenticationInformationRequest) GetImmediateResponsePreferred() bool
- func (m *AuthenticationInformationRequest) GetNumRequestedEutranVectors() uint32
- func (m *AuthenticationInformationRequest) GetResyncInfo() []byte
- func (m *AuthenticationInformationRequest) GetUserName() string
- func (m *AuthenticationInformationRequest) GetVisitedPlmn() []byte
- func (*AuthenticationInformationRequest) ProtoMessage()
- func (m *AuthenticationInformationRequest) Reset()
- func (m *AuthenticationInformationRequest) String() string
- type CancelLocationAnswer
- type CancelLocationRequest
- func (*CancelLocationRequest) Descriptor() ([]byte, []int)
- func (m *CancelLocationRequest) GetCancellationType() CancelLocationRequest_CancellationType
- func (m *CancelLocationRequest) GetUserName() string
- func (*CancelLocationRequest) ProtoMessage()
- func (m *CancelLocationRequest) Reset()
- func (m *CancelLocationRequest) String() string
- type CancelLocationRequest_CancellationType
- type ErrorCode
- type PurgeUEAnswer
- type PurgeUERequest
- type S6AProxyClient
- type S6AProxyServer
- type UpdateLocationAnswer
- func (*UpdateLocationAnswer) Descriptor() ([]byte, []int)
- func (m *UpdateLocationAnswer) GetAllApnsIncluded() bool
- func (m *UpdateLocationAnswer) GetApn() []*UpdateLocationAnswer_APNConfiguration
- func (m *UpdateLocationAnswer) GetDefaultContextId() uint32
- func (m *UpdateLocationAnswer) GetErrorCode() ErrorCode
- func (m *UpdateLocationAnswer) GetTotalAmbr() *UpdateLocationAnswer_AggregatedMaximumBitrate
- func (*UpdateLocationAnswer) ProtoMessage()
- func (m *UpdateLocationAnswer) Reset()
- func (m *UpdateLocationAnswer) String() string
- type UpdateLocationAnswer_APNConfiguration
- func (*UpdateLocationAnswer_APNConfiguration) Descriptor() ([]byte, []int)
- func (m *UpdateLocationAnswer_APNConfiguration) GetAmbr() *UpdateLocationAnswer_AggregatedMaximumBitrate
- func (m *UpdateLocationAnswer_APNConfiguration) GetContextId() uint32
- func (m *UpdateLocationAnswer_APNConfiguration) GetQosProfile() *UpdateLocationAnswer_APNConfiguration_QoSProfile
- func (m *UpdateLocationAnswer_APNConfiguration) GetServiceSelection() string
- func (*UpdateLocationAnswer_APNConfiguration) ProtoMessage()
- func (m *UpdateLocationAnswer_APNConfiguration) Reset()
- func (m *UpdateLocationAnswer_APNConfiguration) String() string
- type UpdateLocationAnswer_APNConfiguration_QoSProfile
- func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) Descriptor() ([]byte, []int)
- func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) GetClassId() int32
- func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) GetPreemptionCapability() bool
- func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) GetPreemptionVulnerability() bool
- func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) GetPriorityLevel() uint32
- func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) ProtoMessage()
- func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) Reset()
- func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) String() string
- type UpdateLocationAnswer_AggregatedMaximumBitrate
- func (*UpdateLocationAnswer_AggregatedMaximumBitrate) Descriptor() ([]byte, []int)
- func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) GetMaxBandwidthDl() uint32
- func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) GetMaxBandwidthUl() uint32
- func (*UpdateLocationAnswer_AggregatedMaximumBitrate) ProtoMessage()
- func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) Reset()
- func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) String() string
- type UpdateLocationRequest
- func (*UpdateLocationRequest) Descriptor() ([]byte, []int)
- func (m *UpdateLocationRequest) GetInitialAttach() bool
- func (m *UpdateLocationRequest) GetSkipSubscriberData() bool
- func (m *UpdateLocationRequest) GetUserName() string
- func (m *UpdateLocationRequest) GetVisitedPlmn() []byte
- func (*UpdateLocationRequest) ProtoMessage()
- func (m *UpdateLocationRequest) Reset()
- func (m *UpdateLocationRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var CancelLocationRequest_CancellationType_name = map[int32]string{
0: "MME_UPDATE_PROCEDURE",
1: "SGSN_UPDATE_PROCEDURE",
2: "SUBSCRIPTION_WITHDRAWAL",
3: "UPDATE_PROCEDURE_IWF",
4: "INITIAL_ATTACH_PROCEDURE",
}
var CancelLocationRequest_CancellationType_value = map[string]int32{
"MME_UPDATE_PROCEDURE": 0,
"SGSN_UPDATE_PROCEDURE": 1,
"SUBSCRIPTION_WITHDRAWAL": 2,
"UPDATE_PROCEDURE_IWF": 3,
"INITIAL_ATTACH_PROCEDURE": 4,
}
var ErrorCode_name = map[int32]string{
0: "UNDEFINED",
1001: "MULTI_ROUND_AUTH",
2001: "SUCCESS",
2002: "LIMITED_SUCCESS",
3001: "COMMAND_UNSUPORTED",
3002: "UNABLE_TO_DELIVER",
3003: "REALM_NOT_SERVED",
3004: "TOO_BUSY",
3005: "LOOP_DETECTED",
3006: "REDIRECT_INDICATION",
3007: "APPLICATION_UNSUPPORTED",
3008: "INVALIDH_DR_BITS",
3009: "INVALID_AVP_BITS",
3010: "UNKNOWN_PEER",
4001: "AUTHENTICATION_REJECTED",
4002: "OUT_OF_SPACE",
4003: "ELECTION_LOST",
5001: "USER_UNKNOWN",
5420: "UNKNOWN_EPS_SUBSCRIPTION",
5421: "RAT_NOT_ALLOWED",
5004: "ROAMING_NOT_ALLOWED",
5422: "EQUIPMENT_UNKNOWN",
5423: "UNKOWN_SERVING_NODE",
4181: "AUTHENTICATION_DATA_UNAVAILABLE",
}
var ErrorCode_value = map[string]int32{
"UNDEFINED": 0,
"MULTI_ROUND_AUTH": 1001,
"SUCCESS": 2001,
"LIMITED_SUCCESS": 2002,
"COMMAND_UNSUPORTED": 3001,
"UNABLE_TO_DELIVER": 3002,
"REALM_NOT_SERVED": 3003,
"TOO_BUSY": 3004,
"LOOP_DETECTED": 3005,
"REDIRECT_INDICATION": 3006,
"APPLICATION_UNSUPPORTED": 3007,
"INVALIDH_DR_BITS": 3008,
"INVALID_AVP_BITS": 3009,
"UNKNOWN_PEER": 3010,
"AUTHENTICATION_REJECTED": 4001,
"OUT_OF_SPACE": 4002,
"ELECTION_LOST": 4003,
"USER_UNKNOWN": 5001,
"UNKNOWN_EPS_SUBSCRIPTION": 5420,
"RAT_NOT_ALLOWED": 5421,
"ROAMING_NOT_ALLOWED": 5004,
"EQUIPMENT_UNKNOWN": 5422,
"UNKOWN_SERVING_NODE": 5423,
"AUTHENTICATION_DATA_UNAVAILABLE": 4181,
}
Functions ¶
func RegisterS6AProxyServer ¶
func RegisterS6AProxyServer(s *grpc.Server, srv S6AProxyServer)
Types ¶
type AuthenticationInformationAnswer ¶
type AuthenticationInformationAnswer struct { // EPC error code on failure ErrorCode ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,enum=ErrorCode" json:"error_code,omitempty"` // Authentication vectors matching the requested number EutranVectors []*AuthenticationInformationAnswer_EUTRANVector `protobuf:"bytes,2,rep,name=eutran_vectors,json=eutranVectors" json:"eutran_vectors,omitempty"` }
Authentication Information Answer (Section 7.2.6)
func (*AuthenticationInformationAnswer) Descriptor ¶
func (*AuthenticationInformationAnswer) Descriptor() ([]byte, []int)
func (*AuthenticationInformationAnswer) GetErrorCode ¶
func (m *AuthenticationInformationAnswer) GetErrorCode() ErrorCode
func (*AuthenticationInformationAnswer) GetEutranVectors ¶
func (m *AuthenticationInformationAnswer) GetEutranVectors() []*AuthenticationInformationAnswer_EUTRANVector
func (*AuthenticationInformationAnswer) ProtoMessage ¶
func (*AuthenticationInformationAnswer) ProtoMessage()
func (*AuthenticationInformationAnswer) Reset ¶
func (m *AuthenticationInformationAnswer) Reset()
func (*AuthenticationInformationAnswer) String ¶
func (m *AuthenticationInformationAnswer) String() string
type AuthenticationInformationAnswer_EUTRANVector ¶
type AuthenticationInformationAnswer_EUTRANVector struct { Rand []byte `protobuf:"bytes,1,opt,name=rand,proto3" json:"rand,omitempty"` Xres []byte `protobuf:"bytes,2,opt,name=xres,proto3" json:"xres,omitempty"` Autn []byte `protobuf:"bytes,3,opt,name=autn,proto3" json:"autn,omitempty"` Kasme []byte `protobuf:"bytes,4,opt,name=kasme,proto3" json:"kasme,omitempty"` }
For details about fields read 3GPP 33.401
func (*AuthenticationInformationAnswer_EUTRANVector) Descriptor ¶
func (*AuthenticationInformationAnswer_EUTRANVector) Descriptor() ([]byte, []int)
func (*AuthenticationInformationAnswer_EUTRANVector) GetAutn ¶
func (m *AuthenticationInformationAnswer_EUTRANVector) GetAutn() []byte
func (*AuthenticationInformationAnswer_EUTRANVector) GetKasme ¶
func (m *AuthenticationInformationAnswer_EUTRANVector) GetKasme() []byte
func (*AuthenticationInformationAnswer_EUTRANVector) GetRand ¶
func (m *AuthenticationInformationAnswer_EUTRANVector) GetRand() []byte
func (*AuthenticationInformationAnswer_EUTRANVector) GetXres ¶
func (m *AuthenticationInformationAnswer_EUTRANVector) GetXres() []byte
func (*AuthenticationInformationAnswer_EUTRANVector) ProtoMessage ¶
func (*AuthenticationInformationAnswer_EUTRANVector) ProtoMessage()
func (*AuthenticationInformationAnswer_EUTRANVector) Reset ¶
func (m *AuthenticationInformationAnswer_EUTRANVector) Reset()
func (*AuthenticationInformationAnswer_EUTRANVector) String ¶
func (m *AuthenticationInformationAnswer_EUTRANVector) String() string
type AuthenticationInformationRequest ¶
type AuthenticationInformationRequest struct { // Subscriber identifier UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName" json:"user_name,omitempty"` // Visted site identifier VisitedPlmn []byte `protobuf:"bytes,2,opt,name=visited_plmn,json=visitedPlmn,proto3" json:"visited_plmn,omitempty"` // Number of vectors to request in response NumRequestedEutranVectors uint32 `` /* 134-byte string literal not displayed */ // Indicates to the HSS the values are requested for immediate attach ImmediateResponsePreferred bool `` /* 135-byte string literal not displayed */ // Concatenation of RAND and AUTS in the case of a resync attach case ResyncInfo []byte `protobuf:"bytes,5,opt,name=resync_info,json=resyncInfo,proto3" json:"resync_info,omitempty"` }
Authentication Information Request (Section 7.2.5)
func (*AuthenticationInformationRequest) Descriptor ¶
func (*AuthenticationInformationRequest) Descriptor() ([]byte, []int)
func (*AuthenticationInformationRequest) GetImmediateResponsePreferred ¶
func (m *AuthenticationInformationRequest) GetImmediateResponsePreferred() bool
func (*AuthenticationInformationRequest) GetNumRequestedEutranVectors ¶
func (m *AuthenticationInformationRequest) GetNumRequestedEutranVectors() uint32
func (*AuthenticationInformationRequest) GetResyncInfo ¶
func (m *AuthenticationInformationRequest) GetResyncInfo() []byte
func (*AuthenticationInformationRequest) GetUserName ¶
func (m *AuthenticationInformationRequest) GetUserName() string
func (*AuthenticationInformationRequest) GetVisitedPlmn ¶
func (m *AuthenticationInformationRequest) GetVisitedPlmn() []byte
func (*AuthenticationInformationRequest) ProtoMessage ¶
func (*AuthenticationInformationRequest) ProtoMessage()
func (*AuthenticationInformationRequest) Reset ¶
func (m *AuthenticationInformationRequest) Reset()
func (*AuthenticationInformationRequest) String ¶
func (m *AuthenticationInformationRequest) String() string
type CancelLocationAnswer ¶
type CancelLocationAnswer struct { // EPC error code on failure ErrorCode ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,enum=ErrorCode" json:"error_code,omitempty"` }
Cancel Location Answer (Section 7.2.8)
func (*CancelLocationAnswer) Descriptor ¶
func (*CancelLocationAnswer) Descriptor() ([]byte, []int)
func (*CancelLocationAnswer) GetErrorCode ¶
func (m *CancelLocationAnswer) GetErrorCode() ErrorCode
func (*CancelLocationAnswer) ProtoMessage ¶
func (*CancelLocationAnswer) ProtoMessage()
func (*CancelLocationAnswer) Reset ¶
func (m *CancelLocationAnswer) Reset()
func (*CancelLocationAnswer) String ¶
func (m *CancelLocationAnswer) String() string
type CancelLocationRequest ¶
type CancelLocationRequest struct { // Subscriber identifier UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName" json:"user_name,omitempty"` // Type of cancellation 7.3.24 CancellationType CancelLocationRequest_CancellationType `` /* 147-byte string literal not displayed */ }
Cancel Location Request (Section 7.2.7)
func (*CancelLocationRequest) Descriptor ¶
func (*CancelLocationRequest) Descriptor() ([]byte, []int)
func (*CancelLocationRequest) GetCancellationType ¶
func (m *CancelLocationRequest) GetCancellationType() CancelLocationRequest_CancellationType
func (*CancelLocationRequest) GetUserName ¶
func (m *CancelLocationRequest) GetUserName() string
func (*CancelLocationRequest) ProtoMessage ¶
func (*CancelLocationRequest) ProtoMessage()
func (*CancelLocationRequest) Reset ¶
func (m *CancelLocationRequest) Reset()
func (*CancelLocationRequest) String ¶
func (m *CancelLocationRequest) String() string
type CancelLocationRequest_CancellationType ¶
type CancelLocationRequest_CancellationType int32
const ( CancelLocationRequest_MME_UPDATE_PROCEDURE CancelLocationRequest_CancellationType = 0 CancelLocationRequest_SGSN_UPDATE_PROCEDURE CancelLocationRequest_CancellationType = 1 CancelLocationRequest_SUBSCRIPTION_WITHDRAWAL CancelLocationRequest_CancellationType = 2 CancelLocationRequest_UPDATE_PROCEDURE_IWF CancelLocationRequest_CancellationType = 3 CancelLocationRequest_INITIAL_ATTACH_PROCEDURE CancelLocationRequest_CancellationType = 4 )
func (CancelLocationRequest_CancellationType) EnumDescriptor ¶
func (CancelLocationRequest_CancellationType) EnumDescriptor() ([]byte, []int)
func (CancelLocationRequest_CancellationType) String ¶
func (x CancelLocationRequest_CancellationType) String() string
type ErrorCode ¶
type ErrorCode int32
ErrorCode reflects Experimental-Result values which are 3GPP failures to be processed by EPC. Diameter Base Protocol errors are reflected in gRPC status code
const ( ErrorCode_UNDEFINED ErrorCode = 0 // Default success code ErrorCode_MULTI_ROUND_AUTH ErrorCode = 1001 ErrorCode_SUCCESS ErrorCode = 2001 ErrorCode_LIMITED_SUCCESS ErrorCode = 2002 ErrorCode_COMMAND_UNSUPORTED ErrorCode = 3001 ErrorCode_UNABLE_TO_DELIVER ErrorCode = 3002 ErrorCode_REALM_NOT_SERVED ErrorCode = 3003 ErrorCode_TOO_BUSY ErrorCode = 3004 ErrorCode_LOOP_DETECTED ErrorCode = 3005 ErrorCode_REDIRECT_INDICATION ErrorCode = 3006 ErrorCode_APPLICATION_UNSUPPORTED ErrorCode = 3007 ErrorCode_INVALIDH_DR_BITS ErrorCode = 3008 ErrorCode_INVALID_AVP_BITS ErrorCode = 3009 ErrorCode_UNKNOWN_PEER ErrorCode = 3010 ErrorCode_AUTHENTICATION_REJECTED ErrorCode = 4001 ErrorCode_OUT_OF_SPACE ErrorCode = 4002 ErrorCode_ELECTION_LOST ErrorCode = 4003 // Permanent Failures 7.4.3 ErrorCode_USER_UNKNOWN ErrorCode = 5001 ErrorCode_UNKNOWN_EPS_SUBSCRIPTION ErrorCode = 5420 ErrorCode_RAT_NOT_ALLOWED ErrorCode = 5421 ErrorCode_ROAMING_NOT_ALLOWED ErrorCode = 5004 ErrorCode_EQUIPMENT_UNKNOWN ErrorCode = 5422 ErrorCode_UNKOWN_SERVING_NODE ErrorCode = 5423 // Transient Failures 7.4.4 ErrorCode_AUTHENTICATION_DATA_UNAVAILABLE ErrorCode = 4181 )
func (ErrorCode) EnumDescriptor ¶
type PurgeUEAnswer ¶
type PurgeUEAnswer struct { // EPC error code on failure ErrorCode ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,enum=ErrorCode" json:"error_code,omitempty"` }
Purge UE Answer (Section 7.2.15)
func (*PurgeUEAnswer) Descriptor ¶
func (*PurgeUEAnswer) Descriptor() ([]byte, []int)
func (*PurgeUEAnswer) GetErrorCode ¶
func (m *PurgeUEAnswer) GetErrorCode() ErrorCode
func (*PurgeUEAnswer) ProtoMessage ¶
func (*PurgeUEAnswer) ProtoMessage()
func (*PurgeUEAnswer) Reset ¶
func (m *PurgeUEAnswer) Reset()
func (*PurgeUEAnswer) String ¶
func (m *PurgeUEAnswer) String() string
type PurgeUERequest ¶
type PurgeUERequest struct { // Subscriber identifier UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName" json:"user_name,omitempty"` }
Purge UE Request (Section 7.2.14)
func (*PurgeUERequest) Descriptor ¶
func (*PurgeUERequest) Descriptor() ([]byte, []int)
func (*PurgeUERequest) GetUserName ¶
func (m *PurgeUERequest) GetUserName() string
func (*PurgeUERequest) ProtoMessage ¶
func (*PurgeUERequest) ProtoMessage()
func (*PurgeUERequest) Reset ¶
func (m *PurgeUERequest) Reset()
func (*PurgeUERequest) String ¶
func (m *PurgeUERequest) String() string
type S6AProxyClient ¶
type S6AProxyClient interface { // Authentication-Information (Code 318) AuthenticationInformation(ctx context.Context, in *AuthenticationInformationRequest, opts ...grpc.CallOption) (*AuthenticationInformationAnswer, error) // Update-Location (Code 316) UpdateLocation(ctx context.Context, in *UpdateLocationRequest, opts ...grpc.CallOption) (*UpdateLocationAnswer, error) // Cancel-Location (Code 317) CancelLocation(ctx context.Context, in *CancelLocationRequest, opts ...grpc.CallOption) (*CancelLocationAnswer, error) // Purge-UE (Code 321) PurgeUE(ctx context.Context, in *PurgeUERequest, opts ...grpc.CallOption) (*PurgeUEAnswer, error) }
func NewS6AProxyClient ¶
func NewS6AProxyClient(cc *grpc.ClientConn) S6AProxyClient
type S6AProxyServer ¶
type S6AProxyServer interface { // Authentication-Information (Code 318) AuthenticationInformation(context.Context, *AuthenticationInformationRequest) (*AuthenticationInformationAnswer, error) // Update-Location (Code 316) UpdateLocation(context.Context, *UpdateLocationRequest) (*UpdateLocationAnswer, error) // Cancel-Location (Code 317) CancelLocation(context.Context, *CancelLocationRequest) (*CancelLocationAnswer, error) // Purge-UE (Code 321) PurgeUE(context.Context, *PurgeUERequest) (*PurgeUEAnswer, error) }
type UpdateLocationAnswer ¶
type UpdateLocationAnswer struct { // EPC error code on failure ErrorCode ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,enum=ErrorCode" json:"error_code,omitempty"` // Identifier of the default APN DefaultContextId uint32 `protobuf:"varint,2,opt,name=default_context_id,json=defaultContextId" json:"default_context_id,omitempty"` // Subscriber authorized aggregate bitrate TotalAmbr *UpdateLocationAnswer_AggregatedMaximumBitrate `protobuf:"bytes,3,opt,name=total_ambr,json=totalAmbr" json:"total_ambr,omitempty"` // Indicates to wipe other stored APNs AllApnsIncluded bool `protobuf:"varint,4,opt,name=all_apns_included,json=allApnsIncluded" json:"all_apns_included,omitempty"` // APN configurations Apn []*UpdateLocationAnswer_APNConfiguration `protobuf:"bytes,5,rep,name=apn" json:"apn,omitempty"` }
Update Location Answer (Section 7.2.4)
func (*UpdateLocationAnswer) Descriptor ¶
func (*UpdateLocationAnswer) Descriptor() ([]byte, []int)
func (*UpdateLocationAnswer) GetAllApnsIncluded ¶
func (m *UpdateLocationAnswer) GetAllApnsIncluded() bool
func (*UpdateLocationAnswer) GetApn ¶
func (m *UpdateLocationAnswer) GetApn() []*UpdateLocationAnswer_APNConfiguration
func (*UpdateLocationAnswer) GetDefaultContextId ¶
func (m *UpdateLocationAnswer) GetDefaultContextId() uint32
func (*UpdateLocationAnswer) GetErrorCode ¶
func (m *UpdateLocationAnswer) GetErrorCode() ErrorCode
func (*UpdateLocationAnswer) GetTotalAmbr ¶
func (m *UpdateLocationAnswer) GetTotalAmbr() *UpdateLocationAnswer_AggregatedMaximumBitrate
func (*UpdateLocationAnswer) ProtoMessage ¶
func (*UpdateLocationAnswer) ProtoMessage()
func (*UpdateLocationAnswer) Reset ¶
func (m *UpdateLocationAnswer) Reset()
func (*UpdateLocationAnswer) String ¶
func (m *UpdateLocationAnswer) String() string
type UpdateLocationAnswer_APNConfiguration ¶
type UpdateLocationAnswer_APNConfiguration struct { // APN identifier ContextId uint32 `protobuf:"varint,1,opt,name=context_id,json=contextId" json:"context_id,omitempty"` // Contains either the APN Name or wildcard "*" ServiceSelection string `protobuf:"bytes,2,opt,name=service_selection,json=serviceSelection" json:"service_selection,omitempty"` // APN QoS profile QosProfile *UpdateLocationAnswer_APNConfiguration_QoSProfile `protobuf:"bytes,3,opt,name=qos_profile,json=qosProfile" json:"qos_profile,omitempty"` // APN authorized bitrate Ambr *UpdateLocationAnswer_AggregatedMaximumBitrate `protobuf:"bytes,4,opt,name=ambr" json:"ambr,omitempty"` }
func (*UpdateLocationAnswer_APNConfiguration) Descriptor ¶
func (*UpdateLocationAnswer_APNConfiguration) Descriptor() ([]byte, []int)
func (*UpdateLocationAnswer_APNConfiguration) GetAmbr ¶
func (m *UpdateLocationAnswer_APNConfiguration) GetAmbr() *UpdateLocationAnswer_AggregatedMaximumBitrate
func (*UpdateLocationAnswer_APNConfiguration) GetContextId ¶
func (m *UpdateLocationAnswer_APNConfiguration) GetContextId() uint32
func (*UpdateLocationAnswer_APNConfiguration) GetQosProfile ¶
func (m *UpdateLocationAnswer_APNConfiguration) GetQosProfile() *UpdateLocationAnswer_APNConfiguration_QoSProfile
func (*UpdateLocationAnswer_APNConfiguration) GetServiceSelection ¶
func (m *UpdateLocationAnswer_APNConfiguration) GetServiceSelection() string
func (*UpdateLocationAnswer_APNConfiguration) ProtoMessage ¶
func (*UpdateLocationAnswer_APNConfiguration) ProtoMessage()
func (*UpdateLocationAnswer_APNConfiguration) Reset ¶
func (m *UpdateLocationAnswer_APNConfiguration) Reset()
func (*UpdateLocationAnswer_APNConfiguration) String ¶
func (m *UpdateLocationAnswer_APNConfiguration) String() string
type UpdateLocationAnswer_APNConfiguration_QoSProfile ¶
type UpdateLocationAnswer_APNConfiguration_QoSProfile struct { ClassId int32 `protobuf:"varint,1,opt,name=class_id,json=classId" json:"class_id,omitempty"` PriorityLevel uint32 `protobuf:"varint,2,opt,name=priority_level,json=priorityLevel" json:"priority_level,omitempty"` PreemptionCapability bool `protobuf:"varint,3,opt,name=preemption_capability,json=preemptionCapability" json:"preemption_capability,omitempty"` PreemptionVulnerability bool `protobuf:"varint,4,opt,name=preemption_vulnerability,json=preemptionVulnerability" json:"preemption_vulnerability,omitempty"` }
For details about values see 29.212
func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) Descriptor ¶
func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) Descriptor() ([]byte, []int)
func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) GetClassId ¶
func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) GetClassId() int32
func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) GetPreemptionCapability ¶
func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) GetPreemptionCapability() bool
func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) GetPreemptionVulnerability ¶
func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) GetPreemptionVulnerability() bool
func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) GetPriorityLevel ¶
func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) GetPriorityLevel() uint32
func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) ProtoMessage ¶
func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) ProtoMessage()
func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) Reset ¶
func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) Reset()
func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) String ¶
func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) String() string
type UpdateLocationAnswer_AggregatedMaximumBitrate ¶
type UpdateLocationAnswer_AggregatedMaximumBitrate struct { // Maximum uplink bitrate MaxBandwidthUl uint32 `protobuf:"varint,1,opt,name=max_bandwidth_ul,json=maxBandwidthUl" json:"max_bandwidth_ul,omitempty"` // Maximum downlink bitrate MaxBandwidthDl uint32 `protobuf:"varint,2,opt,name=max_bandwidth_dl,json=maxBandwidthDl" json:"max_bandwidth_dl,omitempty"` }
func (*UpdateLocationAnswer_AggregatedMaximumBitrate) Descriptor ¶
func (*UpdateLocationAnswer_AggregatedMaximumBitrate) Descriptor() ([]byte, []int)
func (*UpdateLocationAnswer_AggregatedMaximumBitrate) GetMaxBandwidthDl ¶
func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) GetMaxBandwidthDl() uint32
func (*UpdateLocationAnswer_AggregatedMaximumBitrate) GetMaxBandwidthUl ¶
func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) GetMaxBandwidthUl() uint32
func (*UpdateLocationAnswer_AggregatedMaximumBitrate) ProtoMessage ¶
func (*UpdateLocationAnswer_AggregatedMaximumBitrate) ProtoMessage()
func (*UpdateLocationAnswer_AggregatedMaximumBitrate) Reset ¶
func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) Reset()
func (*UpdateLocationAnswer_AggregatedMaximumBitrate) String ¶
func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) String() string
type UpdateLocationRequest ¶
type UpdateLocationRequest struct { // Subscriber identifier UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName" json:"user_name,omitempty"` // Visited site identifier VisitedPlmn []byte `protobuf:"bytes,2,opt,name=visited_plmn,json=visitedPlmn,proto3" json:"visited_plmn,omitempty"` // Selective unrolling of ULR-Flags 29.272 Table 7.3.7/1 // Skip subscription data in response SkipSubscriberData bool `protobuf:"varint,3,opt,name=skip_subscriber_data,json=skipSubscriberData" json:"skip_subscriber_data,omitempty"` // Send Cancel Location to other EPCs serving the UE InitialAttach bool `protobuf:"varint,4,opt,name=initial_attach,json=initialAttach" json:"initial_attach,omitempty"` }
Update Location Request (Section 7.2.3)
func (*UpdateLocationRequest) Descriptor ¶
func (*UpdateLocationRequest) Descriptor() ([]byte, []int)
func (*UpdateLocationRequest) GetInitialAttach ¶
func (m *UpdateLocationRequest) GetInitialAttach() bool
func (*UpdateLocationRequest) GetSkipSubscriberData ¶
func (m *UpdateLocationRequest) GetSkipSubscriberData() bool
func (*UpdateLocationRequest) GetUserName ¶
func (m *UpdateLocationRequest) GetUserName() string
func (*UpdateLocationRequest) GetVisitedPlmn ¶
func (m *UpdateLocationRequest) GetVisitedPlmn() []byte
func (*UpdateLocationRequest) ProtoMessage ¶
func (*UpdateLocationRequest) ProtoMessage()
func (*UpdateLocationRequest) Reset ¶
func (m *UpdateLocationRequest) Reset()
func (*UpdateLocationRequest) String ¶
func (m *UpdateLocationRequest) String() string