File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ package jsonapi
77import "net/netip"
88
99type Match struct {
10- UEIpPrefix netip. Prefix `json:"ue-ip-prefix ,omitempty"`
11- GNBIpPrefix netip.Prefix `json:"gnb -ip-prefix,omitempty "`
12- Teid uint32 `json:"teid,omitempty "`
10+ Gtp MatchGtp `json:"gtp ,omitempty"`
11+ Src netip.Addr `json:"source -ip"`
12+ Dst netip. Addr `json:"destination-ip "`
1313}
Original file line number Diff line number Diff line change 1+ // Copyright 2024 Louis Royer and the NextMN-json-api contributors. All rights reserved.
2+ // Use of this source code is governed by a MIT-style license that can be
3+ // found in the LICENSE file.
4+ // SPDX-License-Identifier: MIT
5+ package jsonapi
6+
7+ import "net/netip"
8+
9+ type MatchGtp struct {
10+ Src netip.Addr `json:"source-ip"`
11+ Teid uint32 `json:"teid"`
12+ }
You can’t perform that action at this time.
0 commit comments