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
bee7b121
Commit
bee7b121
authored
Jul 13, 2024
by
Nawasan Wisitsingkhon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused
parent
08048f92
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
15 deletions
+2
-15
actions.rs
src/openflow/ofp13/events/actions.rs
+1
-1
match_fields.rs
src/openflow/ofp13/events/flow_mod/match_fields.rs
+1
-14
No files found.
src/openflow/ofp13/events/actions.rs
View file @
bee7b121
...
@@ -3,7 +3,7 @@ use byteorder::{BigEndian, WriteBytesExt};
...
@@ -3,7 +3,7 @@ use byteorder::{BigEndian, WriteBytesExt};
use
std
::
net
::{
Ipv4Addr
,
Ipv6Addr
};
use
std
::
net
::{
Ipv4Addr
,
Ipv6Addr
};
use
super
::
flow_mod
::{
use
super
::
flow_mod
::{
instructions
::
{
InstructActions
,
InstructTrait
}
,
instructions
::
InstructActions
,
match_fields
::{
OxmHeader
,
OxmMatchFields
},
match_fields
::{
OxmHeader
,
OxmMatchFields
},
};
};
...
...
src/openflow/ofp13/events/flow_mod/match_fields.rs
View file @
bee7b121
use
std
::{
use
std
::
net
::{
Ipv4Addr
,
Ipv6Addr
};
io
::
Cursor
,
net
::{
Ipv4Addr
,
Ipv6Addr
},
};
use
byteorder
::{
BigEndian
,
WriteBytesExt
};
use
byteorder
::{
BigEndian
,
WriteBytesExt
};
...
@@ -62,11 +59,6 @@ impl From<MatchType> for u16 {
...
@@ -62,11 +59,6 @@ impl From<MatchType> for u16 {
*
*
*/
*/
pub
struct
OxmFields
<
T
>
{
header
:
OxmHeader
,
body
:
OxmBody
<
T
>
,
}
pub
struct
OxmHeader
{
pub
struct
OxmHeader
{
class
:
OxmClass
,
// Match class: member class or reserved class
class
:
OxmClass
,
// Match class: member class or reserved class
field
:
OxmMatchFields
,
// 7bit Match field within the class
field
:
OxmMatchFields
,
// 7bit Match field within the class
...
@@ -92,11 +84,6 @@ impl OxmHeader {
...
@@ -92,11 +84,6 @@ impl OxmHeader {
}
}
}
}
pub
struct
OxmBody
<
T
>
{
value
:
T
,
mask
:
T
,
}
/**
/**
* NXM allocates only two vendors,
* NXM allocates only two vendors,
* 0x0000 for fields supported by OpenFlow 1.0
* 0x0000 for fields supported by OpenFlow 1.0
...
...
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