Skip to content

Commit 01e517e

Browse files
committed
Update n4tosrv6 for handover
1 parent a36ba0a commit 01e517e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

jsonapi/n4tosrv6/gtp_header.go

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,14 @@
55

66
package n4tosrv6
77

8-
import "net/netip"
8+
import (
9+
"net/netip"
10+
11+
"github.com/nextmn/json-api/jsonapi"
12+
)
913

1014
type GtpHeader struct {
11-
OuterIpSrc netip.Addr `json:"outer-ip-src"` // i.e. gNB ip
12-
Teid uint32 `json:"teid"`
13-
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
1418
}

0 commit comments

Comments
 (0)