We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a36ba0a commit 01e517eCopy full SHA for 01e517e
jsonapi/n4tosrv6/gtp_header.go
@@ -5,10 +5,14 @@
5
6
package n4tosrv6
7
8
-import "net/netip"
+import (
9
+ "net/netip"
10
+
11
+ "github.com/nextmn/json-api/jsonapi"
12
+)
13
14
type GtpHeader struct {
- OuterIpSrc netip.Addr `json:"outer-ip-src"` // i.e. gNB ip
- Teid uint32 `json:"teid"`
- InnerIpSrc *netip.Addr `json:"inner-ip-src,omitempty"` // i.e. UE ip; only useful for uplink when multiple PDU Sessions are aggregated on a single TEID
15
+ OuterIpSrc []netip.Prefix `json:"outer-ip-src"` // i.e. list of gNB IPs, or 0/0
16
+ FTeid jsonapi.Fteid `json:"fteid"`
17
+ InnerIpSrc *netip.Addr `json:"inner-ip-src,omitempty"` // i.e. UE ip; only useful for uplink when multiple PDU Sessions are aggregated on a single TEID
18
}
0 commit comments