Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
Tenjin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nawasan Wisitsingkhon
Tenjin
Commits
6c4a5497
Commit
6c4a5497
authored
Jul 24, 2024
by
Nawasan Wisitsingkhon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update ofp version code
parent
47df7ae9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ofp_header.rs
src/openflow/ofp13/ofp_header.rs
+1
-1
No files found.
src/openflow/ofp13/ofp_header.rs
View file @
6c4a5497
...
@@ -16,7 +16,7 @@ pub struct OfpHeader {
...
@@ -16,7 +16,7 @@ pub struct OfpHeader {
impl
OpenflowHeader
for
OfpHeader
{
impl
OpenflowHeader
for
OfpHeader
{
fn
new
(
message
:
u8
,
length
:
usize
,
xid
:
usize
)
->
Self
{
fn
new
(
message
:
u8
,
length
:
usize
,
xid
:
usize
)
->
Self
{
Self
{
Self
{
version
:
1
,
version
:
4
,
message
,
message
,
length
:
(
size_of
::
<
OfpHeader
>
()
+
length
)
as
u16
,
length
:
(
size_of
::
<
OfpHeader
>
()
+
length
)
as
u16
,
xid
:
xid
as
u32
,
xid
:
xid
as
u32
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment