Commit bee7b121 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

remove unused

parent 08048f92
...@@ -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},
}; };
......
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment