Documentation ¶
Overview ¶
Copyright 2022 Louis Royer and the NextMN-UPF 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 2022 Louis Royer and the NextMN-UPF 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 2022 Louis Royer and the NextMN-UPF 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 2022 Louis Royer and the NextMN-UPF 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 ¶
Constants ¶
const ( GTPU_PORT = "2152" MTU_GTP_TUN = 1400 )
Variables ¶
var PFCPServer *pfcp_networking.PFCPEntityUP
var TUNInterface *water.Interface
Functions ¶
func PFCPLogger ¶
func PFCPLogger()
Types ¶
type FARAssociationDB ¶
type FARAssociationDB struct {
// contains filtered or unexported fields
}
var FarUconnDb *FARAssociationDB = NewFARAssociationDB()
func NewFARAssociationDB ¶
func NewFARAssociationDB() *FARAssociationDB
func (*FARAssociationDB) Add ¶
func (db *FARAssociationDB) Add(seid uint64, farid uint32, uConn *gtpv1.UPlaneConn)
func (*FARAssociationDB) Get ¶
func (db *FARAssociationDB) Get(seid uint64, farid uint32) *gtpv1.UPlaneConn
type UpfConfig ¶
type UpfConfig struct { PFCPAddress *string `yaml:"pfcp-address,omitempty"` TunInterface *string `yaml:"tun-interface,omitempty"` GTPUProtocolEntities []string `yaml:"gtpu-entities"` DNNList []*DNN `yaml:"dnn_list,omitempty"` SimulateRAN *RAN `yaml:"simulate-ran,omitempty"` }
var Upf *UpfConfig