Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod # https://github.com/actions/setup-go/issues/523
- name: Test
run: go test ./...
- name: Vet
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright © 2023 Louis Royer
Copyright Louis Royer and the NextMN Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Copyright Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion encoding/args-mob-session.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Copyright Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion encoding/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Copyright Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion encoding/errors/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Copyright Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion encoding/errors/errors.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Copyright Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion encoding/m-gtp4-ipv6-dst.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Copyright Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion encoding/m-gtp4-ipv6-dst_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Copyright Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT
Expand Down
12 changes: 6 additions & 6 deletions encoding/m-gtp4-ipv6-src.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Copyright Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT
Expand Down Expand Up @@ -59,11 +59,11 @@ const (
// Note: even with this proposal, the remaining space (73 bits) is bigger
// than what remains for LOC+FUNC in the SID (56 bits).
//
// 0 127
// +----------------------+--------+----------------+--------------------------+---------------+
// | Source UPF Prefix |IPv4 SA | UDP Source Port| any bit pattern(ignored) | Prefix length |
// +----------------------+--------+----------------+--------------------------+---------------+
// 128-a-b'-c-7 a (32 bits) c (16 bits) b' 7 bits
// 0 127
// +----------------------+-----------+-----------------+--------------------------+---------------+
// | Source UPF Prefix | IPv4 SA | UDP Source Port | any bit pattern(ignored) | Prefix length |
// +----------------------+-----------+-----------------+--------------------------+---------------+
// 128-a-(b1+b2+b3) a (32 bits) b1 (16 bits) b2 b3 (7 bits)
// IPv6 SA Encoding for End.M.GTP4.E in NextMN
//
// [TS 129.281, section 4.4.2.0]: https://www.etsi.org/deliver/etsi_ts/129200_129299/129281/17.04.00_60/ts_129281v170400p.pdf#page=16
Expand Down
2 changes: 1 addition & 1 deletion encoding/m-gtp4-ipv6-src_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Copyright Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/nextmn/rfc9433

go 1.22.7
go 1.25.5

require github.com/google/go-cmp v0.6.0 // indirect
require github.com/google/go-cmp v0.6.0
2 changes: 1 addition & 1 deletion internal/utils/utils.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Copyright Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT
Expand Down
2 changes: 1 addition & 1 deletion internal/utils/utils_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 Louis Royer and the NextMN contributors. All rights reserved.
// Copyright Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT
Expand Down
Loading