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 FarMapElement
- type NodeAssociationMapNoSession
- type NodeAssociationNoSession
- type PacketStats
- type PdrElement
- 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
PfcpSrv *core.PfcpConnection
ForwardPlaneStats *ebpf.UpfXdpActionStatistic
Cfg *config.UpfConfig
}
func NewApiHandler ¶
func NewApiHandler(bpfObjects *ebpf.BpfObjects, pfcpSrv *core.PfcpConnection, forwardPlaneStats *ebpf.UpfXdpActionStatistic, cfg *config.UpfConfig) *ApiHandler
func (*ApiHandler) InitMetricsRoute ¶
func (h *ApiHandler) InitMetricsRoute() *gin.Engine
func (*ApiHandler) InitRoutes ¶
func (h *ApiHandler) InitRoutes() *gin.Engine
type FarMapElement ¶ added in v0.6.1
type NodeAssociationMapNoSession ¶ added in v0.6.1
type NodeAssociationMapNoSession map[string]NodeAssociationNoSession
type NodeAssociationNoSession ¶ added in v0.6.1
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 PdrElement ¶ added in v0.6.1
Click to show internal directories.
Click to hide internal directories.