Documentation
¶
Overview ¶
Copyright Louis Royer and the NextMN contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Copyright Louis Royer and the NextMN contributors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file. SPDX-License-Identifier: MIT
Index ¶
- type Ctrl
- func (c *Ctrl) CreateForwarding(ctx context.Context, ueCtrl jsonapi.ControlURI, ueIpAddr netip.Addr, ...) (*PduSessionN3, error)
- func (c *Ctrl) CreateNewDownlinkExistingSession(ctx context.Context, ueCtrl jsonapi.ControlURI, ueIpAddr netip.Addr, ...) error
- func (c *Ctrl) CreateNewUplinkExistingSession(ctx context.Context, ueCtrl jsonapi.ControlURI, ueIpAddr netip.Addr, ...) (*PduSessionN3, error)
- func (c *Ctrl) CreateSessionDownlink(ctx context.Context, ueCtrl jsonapi.ControlURI, ueIp netip.Addr, ...) (*PduSessionN3, error)
- func (c *Ctrl) CreateSessionUplink(ctx context.Context, ueCtrl jsonapi.ControlURI, ueIpAddr netip.Addr, ...) (*PduSessionN3, error)
- type PduSessionN3
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ctrl ¶
type Ctrl struct {
// contains filtered or unexported fields
}
func (*Ctrl) CreateForwarding ¶
func (c *Ctrl) CreateForwarding(ctx context.Context, ueCtrl jsonapi.ControlURI, ueIpAddr netip.Addr, gnbCtrl jsonapi.ControlURI, dnn config.SliceName, dlFteid *jsonapi.Fteid) (*PduSessionN3, error)
Create an forwarding rule (when receive HO Request Ack), and a target DL rule if not doing post-handover rebinding
func (*Ctrl) CreateNewDownlinkExistingSession ¶
func (c *Ctrl) CreateNewDownlinkExistingSession(ctx context.Context, ueCtrl jsonapi.ControlURI, ueIpAddr netip.Addr, dnn config.SliceName) error
Create/switch downlink rule
func (*Ctrl) CreateNewUplinkExistingSession ¶
func (c *Ctrl) CreateNewUplinkExistingSession(ctx context.Context, ueCtrl jsonapi.ControlURI, ueIpAddr netip.Addr, gnbCtrl jsonapi.ControlURI, dnn config.SliceName) (*PduSessionN3, error)
Create an uplink for after HO required
func (*Ctrl) CreateSessionDownlink ¶
func (c *Ctrl) CreateSessionDownlink(ctx context.Context, ueCtrl jsonapi.ControlURI, ueIp netip.Addr, dnn config.SliceName, gnbCtrl jsonapi.ControlURI, gnbFteid jsonapi.Fteid) (*PduSessionN3, error)
Create a downlink for a new PDU Session (at establishment, after receiving N2 response)
func (*Ctrl) CreateSessionUplink ¶
func (c *Ctrl) CreateSessionUplink(ctx context.Context, ueCtrl jsonapi.ControlURI, ueIpAddr netip.Addr, gnbCtrl jsonapi.ControlURI, dnn config.SliceName) (*PduSessionN3, error)
Create an uplink for a new PDU Session (at establishment)
type PduSessionN3 ¶
type PduSessionN3 struct {
UeIpAddr netip.Addr
// At PS Establishment
UplinkFteid *jsonapi.Fteid
UplinkRule *url.URL
DownlinkFteid *jsonapi.Fteid
DownlinkRule *url.URL
// After HO Required
TargetUplinkFteid *jsonapi.Fteid
TargetUplinkRule *url.URL
// After HO Request Ack
ForwardingFteid *jsonapi.Fteid
ForwardingRule *url.URL
TargetDownlinkFteid *jsonapi.Fteid
TargetDownlinkRule *url.URL
}