Documentation
¶
Index ¶
- func FilterSessionsByIP(nodeMap *map[string]*core.NodeAssociation, filterByIP net.IP) *core.Session
- func FilterSessionsByTeid(nodeMap *map[string]*core.NodeAssociation, filterByTeid uint32) *core.Session
- func GetAllSessions(nodeMap *map[string]*core.NodeAssociation) (sessions []core.Session)
- type ApiHandler
- type DataPlaneAddressesConfig
- type DataPlaneEbpfConfig
- type FarMapElement
- type GTPPathConfig
- type LoggingCallerConfig
- type LoggingLevelConfig
- type NodeAssociationDescription
- type PFCPN4Config
- type PFCPSxaConfig
- type PFCPSxbConfig
- type PFCPTimersConfig
- type PacketStats
- type PdrDownlinkElement
- type PdrUplinkElement
- type RouteStats
- type XdpStats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterSessionsByIP ¶
func FilterSessionsByTeid ¶
func GetAllSessions ¶
func GetAllSessions(nodeMap *map[string]*core.NodeAssociation) (sessions []core.Session)
Types ¶
type ApiHandler ¶
type ApiHandler struct {
BpfObjects *ebpf.BpfObjects
ForwardPlaneStats *ebpf.UpfXdpActionStatistic
Cfg *config.UpfConfig
Links *[]link.Link
GtpPathManager *core.GtpPathManager
// contains filtered or unexported fields
}
func NewApiHandler ¶
func NewApiHandler( bpfObjects *ebpf.BpfObjects, pfcpSrv map[string]*core.PfcpConnection, forwardPlaneStats *ebpf.UpfXdpActionStatistic, cfg *config.UpfConfig, links *[]link.Link, gtpPathManager *core.GtpPathManager, releaseChan chan struct{}, ) *ApiHandler
func (*ApiHandler) GetPFCPSrv ¶
func (h *ApiHandler) GetPFCPSrv() map[string]*core.PfcpConnection
func (*ApiHandler) InitMetricsRoute ¶
func (h *ApiHandler) InitMetricsRoute() *gin.Engine
func (*ApiHandler) InitRoutes ¶
func (h *ApiHandler) InitRoutes() *gin.Engine
type DataPlaneEbpfConfig ¶
type FarMapElement ¶ added in v0.6.1
type GTPPathConfig ¶
type LoggingCallerConfig ¶
type LoggingCallerConfig struct {
LoggingCaller bool `json:"logging_caller"`
}
type LoggingLevelConfig ¶
type LoggingLevelConfig struct {
LoggingLevel string `json:"logging_level" binding:"required"`
}
type PFCPN4Config ¶
type PFCPSxaConfig ¶
type PFCPSxbConfig ¶
type PFCPTimersConfig ¶
type PacketStats ¶ added in v0.6.1
type PacketStats struct {
RxArp uint64 `json:"rx_arp"`
RxIcmp uint64 `json:"rx_icmp"`
RxIcmp6 uint64 `json:"rx_icmp6"`
RxIp4 uint64 `json:"rx_ip4"`
RxIp6 uint64 `json:"rx_ip6"`
RxTcp uint64 `json:"rx_tcp"`
RxUdp uint64 `json:"rx_udp"`
RxOther uint64 `json:"rx_other"`
RxGtpEcho uint64 `json:"rx_gtp_echo"`
RxGtpPdu uint64 `json:"rx_gtp_pdu"`
RxGtpOther uint64 `json:"rx_gtp_other"`
RxGtpUnexp uint64 `json:"rx_gtp_unexp"`
}
type PdrDownlinkElement ¶
type PdrUplinkElement ¶
type RouteStats ¶ added in v0.7.2
type RouteStats struct {
FibLookupIp4Cache uint64 `json:"fib_lookup_ip4_cache"`
FibLookupIp4Ok uint64 `json:"fib_lookup_ip4_ok"`
FibLookupIp4ErrorDrop uint64 `json:"fib_lookup_ip4_error_drop"`
FibLookupIp4ErrorPass uint64 `json:"fib_lookup_ip4_error_pass"`
FibLookupIp6Cache uint64 `json:"fib_lookup_ip6_cache"`
FibLookupIp6Ok uint64 `json:"fib_lookup_ip6_ok"`
FibLookupIp6ErrorDrop uint64 `json:"fib_lookup_ip6_error_drop"`
FibLookupIp6ErrorPass uint64 `json:"fib_lookup_ip6_error_pass"`
}
Click to show internal directories.
Click to hide internal directories.