protos

package
v4.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2021 License: BSD-3-Clause Imports: 7 Imported by: 2

Documentation

Overview

protos package encapsulates protoc generated go files for S6a GRPC Proxy. Use `go generate github.com/fiorix/go-diameter/v4/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..."

Index

Constants

This section is empty.

Variables

View Source
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",
}
View Source
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,
}
View Source
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",
}
View Source
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,proto3,enum=ErrorCode" json:"error_code,omitempty"`
	// Authentication vectors matching the requested number
	EutranVectors        []*AuthenticationInformationAnswer_EUTRANVector `protobuf:"bytes,2,rep,name=eutran_vectors,json=eutranVectors,proto3" json:"eutran_vectors,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                        `json:"-"`
	XXX_unrecognized     []byte                                          `json:"-"`
	XXX_sizecache        int32                                           `json:"-"`
}

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 (*AuthenticationInformationAnswer) ProtoMessage

func (*AuthenticationInformationAnswer) ProtoMessage()

func (*AuthenticationInformationAnswer) Reset

func (*AuthenticationInformationAnswer) String

func (*AuthenticationInformationAnswer) XXX_DiscardUnknown added in v4.0.2

func (m *AuthenticationInformationAnswer) XXX_DiscardUnknown()

func (*AuthenticationInformationAnswer) XXX_Marshal added in v4.0.2

func (m *AuthenticationInformationAnswer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuthenticationInformationAnswer) XXX_Merge added in v4.0.2

func (m *AuthenticationInformationAnswer) XXX_Merge(src proto.Message)

func (*AuthenticationInformationAnswer) XXX_Size added in v4.0.2

func (m *AuthenticationInformationAnswer) XXX_Size() int

func (*AuthenticationInformationAnswer) XXX_Unmarshal added in v4.0.2

func (m *AuthenticationInformationAnswer) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

For details about fields read 3GPP 33.401

func (*AuthenticationInformationAnswer_EUTRANVector) Descriptor

func (*AuthenticationInformationAnswer_EUTRANVector) GetAutn

func (*AuthenticationInformationAnswer_EUTRANVector) GetKasme

func (*AuthenticationInformationAnswer_EUTRANVector) GetRand

func (*AuthenticationInformationAnswer_EUTRANVector) GetXres

func (*AuthenticationInformationAnswer_EUTRANVector) ProtoMessage

func (*AuthenticationInformationAnswer_EUTRANVector) Reset

func (*AuthenticationInformationAnswer_EUTRANVector) String

func (*AuthenticationInformationAnswer_EUTRANVector) XXX_DiscardUnknown added in v4.0.2

func (m *AuthenticationInformationAnswer_EUTRANVector) XXX_DiscardUnknown()

func (*AuthenticationInformationAnswer_EUTRANVector) XXX_Marshal added in v4.0.2

func (m *AuthenticationInformationAnswer_EUTRANVector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuthenticationInformationAnswer_EUTRANVector) XXX_Merge added in v4.0.2

func (*AuthenticationInformationAnswer_EUTRANVector) XXX_Size added in v4.0.2

func (*AuthenticationInformationAnswer_EUTRANVector) XXX_Unmarshal added in v4.0.2

type AuthenticationInformationRequest

type AuthenticationInformationRequest struct {
	// Subscriber identifier
	UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" 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 `` /* 141-byte string literal not displayed */
	// Indicates to the HSS the values are requested for immediate attach
	ImmediateResponsePreferred bool `` /* 142-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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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 (*AuthenticationInformationRequest) String

func (*AuthenticationInformationRequest) XXX_DiscardUnknown added in v4.0.2

func (m *AuthenticationInformationRequest) XXX_DiscardUnknown()

func (*AuthenticationInformationRequest) XXX_Marshal added in v4.0.2

func (m *AuthenticationInformationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuthenticationInformationRequest) XXX_Merge added in v4.0.2

func (*AuthenticationInformationRequest) XXX_Size added in v4.0.2

func (m *AuthenticationInformationRequest) XXX_Size() int

func (*AuthenticationInformationRequest) XXX_Unmarshal added in v4.0.2

func (m *AuthenticationInformationRequest) XXX_Unmarshal(b []byte) error

type CancelLocationAnswer

type CancelLocationAnswer struct {
	// EPC error code on failure
	ErrorCode            ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=ErrorCode" json:"error_code,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

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

func (*CancelLocationAnswer) XXX_DiscardUnknown added in v4.0.2

func (m *CancelLocationAnswer) XXX_DiscardUnknown()

func (*CancelLocationAnswer) XXX_Marshal added in v4.0.2

func (m *CancelLocationAnswer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CancelLocationAnswer) XXX_Merge added in v4.0.2

func (m *CancelLocationAnswer) XXX_Merge(src proto.Message)

func (*CancelLocationAnswer) XXX_Size added in v4.0.2

func (m *CancelLocationAnswer) XXX_Size() int

func (*CancelLocationAnswer) XXX_Unmarshal added in v4.0.2

func (m *CancelLocationAnswer) XXX_Unmarshal(b []byte) error

type CancelLocationRequest

type CancelLocationRequest struct {
	// Subscriber identifier
	UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// Type of cancellation 7.3.24
	CancellationType     CancelLocationRequest_CancellationType `` /* 154-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                               `json:"-"`
	XXX_unrecognized     []byte                                 `json:"-"`
	XXX_sizecache        int32                                  `json:"-"`
}

Cancel Location Request (Section 7.2.7)

func (*CancelLocationRequest) Descriptor

func (*CancelLocationRequest) Descriptor() ([]byte, []int)

func (*CancelLocationRequest) GetCancellationType

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

func (*CancelLocationRequest) XXX_DiscardUnknown added in v4.0.2

func (m *CancelLocationRequest) XXX_DiscardUnknown()

func (*CancelLocationRequest) XXX_Marshal added in v4.0.2

func (m *CancelLocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CancelLocationRequest) XXX_Merge added in v4.0.2

func (m *CancelLocationRequest) XXX_Merge(src proto.Message)

func (*CancelLocationRequest) XXX_Size added in v4.0.2

func (m *CancelLocationRequest) XXX_Size() int

func (*CancelLocationRequest) XXX_Unmarshal added in v4.0.2

func (m *CancelLocationRequest) XXX_Unmarshal(b []byte) error

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

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

func (ErrorCode) EnumDescriptor() ([]byte, []int)

func (ErrorCode) String

func (x ErrorCode) String() string

type PurgeUEAnswer

type PurgeUEAnswer struct {
	// EPC error code on failure
	ErrorCode            ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=ErrorCode" json:"error_code,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

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

func (*PurgeUEAnswer) XXX_DiscardUnknown added in v4.0.2

func (m *PurgeUEAnswer) XXX_DiscardUnknown()

func (*PurgeUEAnswer) XXX_Marshal added in v4.0.2

func (m *PurgeUEAnswer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PurgeUEAnswer) XXX_Merge added in v4.0.2

func (m *PurgeUEAnswer) XXX_Merge(src proto.Message)

func (*PurgeUEAnswer) XXX_Size added in v4.0.2

func (m *PurgeUEAnswer) XXX_Size() int

func (*PurgeUEAnswer) XXX_Unmarshal added in v4.0.2

func (m *PurgeUEAnswer) XXX_Unmarshal(b []byte) error

type PurgeUERequest

type PurgeUERequest struct {
	// Subscriber identifier
	UserName             string   `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*PurgeUERequest) XXX_DiscardUnknown added in v4.0.2

func (m *PurgeUERequest) XXX_DiscardUnknown()

func (*PurgeUERequest) XXX_Marshal added in v4.0.2

func (m *PurgeUERequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PurgeUERequest) XXX_Merge added in v4.0.2

func (m *PurgeUERequest) XXX_Merge(src proto.Message)

func (*PurgeUERequest) XXX_Size added in v4.0.2

func (m *PurgeUERequest) XXX_Size() int

func (*PurgeUERequest) XXX_Unmarshal added in v4.0.2

func (m *PurgeUERequest) XXX_Unmarshal(b []byte) error

type ResetAnswer

type ResetAnswer struct {
	// EPC error code on failure
	ErrorCode            ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=ErrorCode" json:"error_code,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

Reset Answer (3GPP TS 29.272 Section 7.2.16)

func (*ResetAnswer) Descriptor

func (*ResetAnswer) Descriptor() ([]byte, []int)

func (*ResetAnswer) GetErrorCode

func (m *ResetAnswer) GetErrorCode() ErrorCode

func (*ResetAnswer) ProtoMessage

func (*ResetAnswer) ProtoMessage()

func (*ResetAnswer) Reset

func (m *ResetAnswer) Reset()

func (*ResetAnswer) String

func (m *ResetAnswer) String() string

func (*ResetAnswer) XXX_DiscardUnknown added in v4.0.2

func (m *ResetAnswer) XXX_DiscardUnknown()

func (*ResetAnswer) XXX_Marshal added in v4.0.2

func (m *ResetAnswer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResetAnswer) XXX_Merge added in v4.0.2

func (m *ResetAnswer) XXX_Merge(src proto.Message)

func (*ResetAnswer) XXX_Size added in v4.0.2

func (m *ResetAnswer) XXX_Size() int

func (*ResetAnswer) XXX_Unmarshal added in v4.0.2

func (m *ResetAnswer) XXX_Unmarshal(b []byte) error

type ResetRequest

type ResetRequest struct {
	// Subscriber identifier
	UserId               []string `protobuf:"bytes,1,rep,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Reset Request (3GPP TS 29.272 Section 7.2.15)

func (*ResetRequest) Descriptor

func (*ResetRequest) Descriptor() ([]byte, []int)

func (*ResetRequest) GetUserId

func (m *ResetRequest) GetUserId() []string

func (*ResetRequest) ProtoMessage

func (*ResetRequest) ProtoMessage()

func (*ResetRequest) Reset

func (m *ResetRequest) Reset()

func (*ResetRequest) String

func (m *ResetRequest) String() string

func (*ResetRequest) XXX_DiscardUnknown added in v4.0.2

func (m *ResetRequest) XXX_DiscardUnknown()

func (*ResetRequest) XXX_Marshal added in v4.0.2

func (m *ResetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResetRequest) XXX_Merge added in v4.0.2

func (m *ResetRequest) XXX_Merge(src proto.Message)

func (*ResetRequest) XXX_Size added in v4.0.2

func (m *ResetRequest) XXX_Size() int

func (*ResetRequest) XXX_Unmarshal added in v4.0.2

func (m *ResetRequest) XXX_Unmarshal(b []byte) error

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)
	// Reset (Code 322)
	Reset(ctx context.Context, in *ResetRequest, opts ...grpc.CallOption) (*ResetAnswer, error)
}

S6AProxyClient is the client API for S6AProxy service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

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)
	// Reset (Code 322)
	Reset(context.Context, *ResetRequest) (*ResetAnswer, error)
}

S6AProxyServer is the server API for S6AProxy service.

type UnimplementedS6AProxyServer added in v4.0.2

type UnimplementedS6AProxyServer struct {
}

UnimplementedS6AProxyServer can be embedded to have forward compatible implementations.

func (*UnimplementedS6AProxyServer) AuthenticationInformation added in v4.0.2

func (*UnimplementedS6AProxyServer) CancelLocation added in v4.0.2

func (*UnimplementedS6AProxyServer) PurgeUE added in v4.0.2

func (*UnimplementedS6AProxyServer) Reset added in v4.0.2

func (*UnimplementedS6AProxyServer) UpdateLocation added in v4.0.2

type UpdateLocationAnswer

type UpdateLocationAnswer struct {
	// EPC error code on failure
	ErrorCode ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=ErrorCode" json:"error_code,omitempty"`
	// Identifier of the default APN
	DefaultContextId uint32 `protobuf:"varint,2,opt,name=default_context_id,json=defaultContextId,proto3" json:"default_context_id,omitempty"`
	// Subscriber authorized aggregate bitrate
	TotalAmbr *UpdateLocationAnswer_AggregatedMaximumBitrate `protobuf:"bytes,3,opt,name=total_ambr,json=totalAmbr,proto3" json:"total_ambr,omitempty"`
	// Indicates to wipe other stored APNs
	AllApnsIncluded bool `protobuf:"varint,4,opt,name=all_apns_included,json=allApnsIncluded,proto3" json:"all_apns_included,omitempty"`
	// APN configurations
	Apn                  []*UpdateLocationAnswer_APNConfiguration `protobuf:"bytes,5,rep,name=apn,proto3" json:"apn,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                 `json:"-"`
	XXX_unrecognized     []byte                                   `json:"-"`
	XXX_sizecache        int32                                    `json:"-"`
}

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 (*UpdateLocationAnswer) GetDefaultContextId

func (m *UpdateLocationAnswer) GetDefaultContextId() uint32

func (*UpdateLocationAnswer) GetErrorCode

func (m *UpdateLocationAnswer) GetErrorCode() ErrorCode

func (*UpdateLocationAnswer) GetTotalAmbr

func (*UpdateLocationAnswer) ProtoMessage

func (*UpdateLocationAnswer) ProtoMessage()

func (*UpdateLocationAnswer) Reset

func (m *UpdateLocationAnswer) Reset()

func (*UpdateLocationAnswer) String

func (m *UpdateLocationAnswer) String() string

func (*UpdateLocationAnswer) XXX_DiscardUnknown added in v4.0.2

func (m *UpdateLocationAnswer) XXX_DiscardUnknown()

func (*UpdateLocationAnswer) XXX_Marshal added in v4.0.2

func (m *UpdateLocationAnswer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateLocationAnswer) XXX_Merge added in v4.0.2

func (m *UpdateLocationAnswer) XXX_Merge(src proto.Message)

func (*UpdateLocationAnswer) XXX_Size added in v4.0.2

func (m *UpdateLocationAnswer) XXX_Size() int

func (*UpdateLocationAnswer) XXX_Unmarshal added in v4.0.2

func (m *UpdateLocationAnswer) XXX_Unmarshal(b []byte) error

type UpdateLocationAnswer_APNConfiguration

type UpdateLocationAnswer_APNConfiguration struct {
	// APN identifier
	ContextId uint32 `protobuf:"varint,1,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
	// Contains either the APN Name or wildcard "*"
	ServiceSelection string `protobuf:"bytes,2,opt,name=service_selection,json=serviceSelection,proto3" json:"service_selection,omitempty"`
	// APN QoS profile
	QosProfile *UpdateLocationAnswer_APNConfiguration_QoSProfile `protobuf:"bytes,3,opt,name=qos_profile,json=qosProfile,proto3" json:"qos_profile,omitempty"`
	// APN authorized bitrate
	Ambr                 *UpdateLocationAnswer_AggregatedMaximumBitrate `protobuf:"bytes,4,opt,name=ambr,proto3" json:"ambr,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                       `json:"-"`
	XXX_unrecognized     []byte                                         `json:"-"`
	XXX_sizecache        int32                                          `json:"-"`
}

func (*UpdateLocationAnswer_APNConfiguration) Descriptor

func (*UpdateLocationAnswer_APNConfiguration) Descriptor() ([]byte, []int)

func (*UpdateLocationAnswer_APNConfiguration) GetAmbr

func (*UpdateLocationAnswer_APNConfiguration) GetContextId

func (*UpdateLocationAnswer_APNConfiguration) GetQosProfile

func (*UpdateLocationAnswer_APNConfiguration) GetServiceSelection

func (m *UpdateLocationAnswer_APNConfiguration) GetServiceSelection() string

func (*UpdateLocationAnswer_APNConfiguration) ProtoMessage

func (*UpdateLocationAnswer_APNConfiguration) ProtoMessage()

func (*UpdateLocationAnswer_APNConfiguration) Reset

func (*UpdateLocationAnswer_APNConfiguration) String

func (*UpdateLocationAnswer_APNConfiguration) XXX_DiscardUnknown added in v4.0.2

func (m *UpdateLocationAnswer_APNConfiguration) XXX_DiscardUnknown()

func (*UpdateLocationAnswer_APNConfiguration) XXX_Marshal added in v4.0.2

func (m *UpdateLocationAnswer_APNConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateLocationAnswer_APNConfiguration) XXX_Merge added in v4.0.2

func (*UpdateLocationAnswer_APNConfiguration) XXX_Size added in v4.0.2

func (*UpdateLocationAnswer_APNConfiguration) XXX_Unmarshal added in v4.0.2

func (m *UpdateLocationAnswer_APNConfiguration) XXX_Unmarshal(b []byte) error

type UpdateLocationAnswer_APNConfiguration_QoSProfile

type UpdateLocationAnswer_APNConfiguration_QoSProfile struct {
	ClassId                 int32    `protobuf:"varint,1,opt,name=class_id,json=classId,proto3" json:"class_id,omitempty"`
	PriorityLevel           uint32   `protobuf:"varint,2,opt,name=priority_level,json=priorityLevel,proto3" json:"priority_level,omitempty"`
	PreemptionCapability    bool     `protobuf:"varint,3,opt,name=preemption_capability,json=preemptionCapability,proto3" json:"preemption_capability,omitempty"`
	PreemptionVulnerability bool     `` /* 131-byte string literal not displayed */
	XXX_NoUnkeyedLiteral    struct{} `json:"-"`
	XXX_unrecognized        []byte   `json:"-"`
	XXX_sizecache           int32    `json:"-"`
}

For details about values see 29.212

func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) Descriptor

func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) GetClassId

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 (*UpdateLocationAnswer_APNConfiguration_QoSProfile) ProtoMessage

func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) Reset

func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) String

func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) XXX_DiscardUnknown added in v4.0.2

func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) XXX_DiscardUnknown()

func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) XXX_Marshal added in v4.0.2

func (m *UpdateLocationAnswer_APNConfiguration_QoSProfile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) XXX_Merge added in v4.0.2

func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) XXX_Size added in v4.0.2

func (*UpdateLocationAnswer_APNConfiguration_QoSProfile) XXX_Unmarshal added in v4.0.2

type UpdateLocationAnswer_AggregatedMaximumBitrate

type UpdateLocationAnswer_AggregatedMaximumBitrate struct {
	// Maximum uplink bitrate
	MaxBandwidthUl uint32 `protobuf:"varint,1,opt,name=max_bandwidth_ul,json=maxBandwidthUl,proto3" json:"max_bandwidth_ul,omitempty"`
	// Maximum downlink bitrate
	MaxBandwidthDl       uint32   `protobuf:"varint,2,opt,name=max_bandwidth_dl,json=maxBandwidthDl,proto3" json:"max_bandwidth_dl,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateLocationAnswer_AggregatedMaximumBitrate) Descriptor

func (*UpdateLocationAnswer_AggregatedMaximumBitrate) GetMaxBandwidthDl

func (*UpdateLocationAnswer_AggregatedMaximumBitrate) GetMaxBandwidthUl

func (*UpdateLocationAnswer_AggregatedMaximumBitrate) ProtoMessage

func (*UpdateLocationAnswer_AggregatedMaximumBitrate) Reset

func (*UpdateLocationAnswer_AggregatedMaximumBitrate) String

func (*UpdateLocationAnswer_AggregatedMaximumBitrate) XXX_DiscardUnknown added in v4.0.2

func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) XXX_DiscardUnknown()

func (*UpdateLocationAnswer_AggregatedMaximumBitrate) XXX_Marshal added in v4.0.2

func (m *UpdateLocationAnswer_AggregatedMaximumBitrate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateLocationAnswer_AggregatedMaximumBitrate) XXX_Merge added in v4.0.2

func (*UpdateLocationAnswer_AggregatedMaximumBitrate) XXX_Size added in v4.0.2

func (*UpdateLocationAnswer_AggregatedMaximumBitrate) XXX_Unmarshal added in v4.0.2

type UpdateLocationRequest

type UpdateLocationRequest struct {
	// Subscriber identifier
	UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" 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,proto3" 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,proto3" json:"initial_attach,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*UpdateLocationRequest) XXX_DiscardUnknown added in v4.0.2

func (m *UpdateLocationRequest) XXX_DiscardUnknown()

func (*UpdateLocationRequest) XXX_Marshal added in v4.0.2

func (m *UpdateLocationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateLocationRequest) XXX_Merge added in v4.0.2

func (m *UpdateLocationRequest) XXX_Merge(src proto.Message)

func (*UpdateLocationRequest) XXX_Size added in v4.0.2

func (m *UpdateLocationRequest) XXX_Size() int

func (*UpdateLocationRequest) XXX_Unmarshal added in v4.0.2

func (m *UpdateLocationRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL