Documentation ¶
Overview ¶
Copyright 2024 Ella Networks
Copyright 2024 Ella Networks ¶
Copyright 2024 Ella Networks ¶
Copyright 2024 Ella Networks ¶
Copyright 2024 Ella Networks ¶
Copyright 2024 Ella Networks ¶
Copyright 2024 Ella Networks ¶
Copyright 2024 Ella Networks ¶
Copyright 2024 Ella Networks
Index ¶
- func GetTransportLevelMarking(far *ie.IE) (uint16, error)
- func HandlePfcpSessionDeletionRequest(msg *message.SessionDeletionRequest) (*message.SessionDeletionResponse, error)
- func HandlePfcpSessionEstablishmentRequest(msg *message.SessionEstablishmentRequest) (*message.SessionEstablishmentResponse, error)
- func HandlePfcpSessionModificationRequest(msg *message.SessionModificationRequest) (*message.SessionModificationResponse, error)
- func IndexFunc[S ~[]E, E any](s S, f func(E) bool) int
- func ParseCidrIp(ipStr, maskStr string) (ebpf.IpWMask, error)
- func ParsePort(str string) (uint16, error)
- func ParsePortRange(str string) (ebpf.PortRange, error)
- func ParseProtocol(protocol string) (uint8, error)
- func ParseSdfFilter(flowDescription string) (ebpf.SdfFilter, error)
- type GtpPathManager
- type NodeAssociation
- type PDRCreationContext
- type PfcpConnection
- type SFarInfo
- type SPDRInfo
- type SQerInfo
- type Session
- func (s *Session) GetFar(id uint32) SFarInfo
- func (s *Session) GetPDR(id uint16) SPDRInfo
- func (s *Session) GetQer(id uint32) SQerInfo
- func (s *Session) NewFar(id uint32, internalId uint32, farInfo ebpf.FarInfo)
- func (s *Session) NewQer(id uint32, internalId uint32, qerInfo ebpf.QerInfo)
- func (s *Session) PutPDR(id uint32, info SPDRInfo)
- func (s *Session) RemoveFar(id uint32) SFarInfo
- func (s *Session) RemovePDR(id uint32) SPDRInfo
- func (s *Session) RemoveQer(id uint32) SQerInfo
- func (s *Session) UpdateFar(id uint32, farInfo ebpf.FarInfo)
- func (s *Session) UpdateQer(id uint32, qerInfo ebpf.QerInfo)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandlePfcpSessionDeletionRequest ¶
func HandlePfcpSessionDeletionRequest(msg *message.SessionDeletionRequest) (*message.SessionDeletionResponse, error)
func HandlePfcpSessionEstablishmentRequest ¶
func HandlePfcpSessionEstablishmentRequest(msg *message.SessionEstablishmentRequest) (*message.SessionEstablishmentResponse, error)
func HandlePfcpSessionModificationRequest ¶
func HandlePfcpSessionModificationRequest(msg *message.SessionModificationRequest) (*message.SessionModificationResponse, error)
func ParseProtocol ¶
Types ¶
type GtpPathManager ¶
type GtpPathManager struct {
// contains filtered or unexported fields
}
func NewGtpPathManager ¶
func NewGtpPathManager(localAddress string, interval time.Duration) *GtpPathManager
func (*GtpPathManager) AddGtpPath ¶
func (gtpPathManager *GtpPathManager) AddGtpPath(gtpPeerAddress string)
func (*GtpPathManager) Run ¶
func (gtpPathManager *GtpPathManager) Run()
func (*GtpPathManager) Stop ¶
func (gtpPathManager *GtpPathManager) Stop()
type NodeAssociation ¶
type NodeAssociation struct { ID string NextSessionID uint64 Sessions map[uint64]*Session sync.Mutex }
func NewNodeAssociation ¶
func NewNodeAssociation(remoteNodeID string, addr string) *NodeAssociation
func (*NodeAssociation) NewLocalSEID ¶
func (association *NodeAssociation) NewLocalSEID() uint64
type PDRCreationContext ¶
type PDRCreationContext struct { Session *Session ResourceManager *service.ResourceManager TEIDCache map[uint8]uint32 }
func NewPDRCreationContext ¶
func NewPDRCreationContext(session *Session, resourceManager *service.ResourceManager) *PDRCreationContext
type PfcpConnection ¶
type PfcpConnection struct { NodeAssociations map[string]*NodeAssociation RecoveryTimestamp time.Time ResourceManager *service.ResourceManager // contains filtered or unexported fields }
func CreatePfcpConnection ¶
func CreatePfcpConnection(addr string, nodeId string, n3Ip string, mapOperations ebpf.ForwardingPlaneController, resourceManager *service.ResourceManager) (*PfcpConnection, error)
func GetConnection ¶ added in v0.0.5
func GetConnection() *PfcpConnection
func (*PfcpConnection) ReleaseResources ¶
func (connection *PfcpConnection) ReleaseResources(seID uint64)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.