-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace omec-project/pfcp with wmnsk/go-pfcp (#283)
* chore: replace omec-project/pfcp with wmnsk/go-pfcp Signed-off-by: guillaume <[email protected]> * chore: move setBit to private Signed-off-by: guillaume <[email protected]> * chore: replace notice about copied code with copyright Signed-off-by: guillaume <[email protected]> * chore: replace notice about copied code with copyright Signed-off-by: guillaume <[email protected]> --------- Signed-off-by: guillaume <[email protected]>
- Loading branch information
Showing
67 changed files
with
4,632 additions
and
2,020 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Copyright 2024 Canonical Ltd. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package context | ||
|
||
type ApplyAction struct { | ||
Dupl bool | ||
Nocp bool | ||
Buff bool | ||
Forw bool | ||
Drop bool | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// Copyright 2024 Canonical Ltd. | ||
|
||
package context | ||
|
||
const ( | ||
GateOpen uint8 = iota | ||
GateClose | ||
) | ||
|
||
type GateStatus struct { | ||
ULGate uint8 // 0x00001100 | ||
DLGate uint8 // 0x00000011 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Copyright 2024 Canonical Ltd. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package context | ||
|
||
type GBR struct { | ||
ULGBR uint64 // 40-bit data | ||
DLGBR uint64 // 40-bit data | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Copyright 2024 Canonical Ltd. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package context | ||
|
||
const ( | ||
SourceInterfaceAccess uint8 = iota | ||
SourceInterfaceCore | ||
) | ||
|
||
const ( | ||
DestinationInterfaceAccess uint8 = iota | ||
DestinationInterfaceCore | ||
DestinationInterfaceSgiLanN6Lan | ||
) | ||
|
||
type SourceInterface struct { | ||
InterfaceValue uint8 // 0x00001111 | ||
} | ||
|
||
type DestinationInterface struct { | ||
InterfaceValue uint8 // 0x00001111 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Copyright 2024 Canonical Ltd. | ||
// | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
package context | ||
|
||
type MBR struct { | ||
ULMBR uint64 // 40-bit data | ||
DLMBR uint64 // 40-bit data | ||
} |
Oops, something went wrong.