Commit d904d5c7 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

change import from packet_in to controller

parent 55d2aee1
use std::{collections::HashMap, io::Write, mem::size_of, net::TcpStream}; use std::{collections::HashMap, io::Write, mem::size_of, net::TcpStream};
use super::{events::packet_in::PacketInEvent, OfpHeader}; use super::{events::PacketInEvent, OfpHeader};
pub struct Controller { pub struct Controller {
version: u8, version: u8,
......
pub mod packet_in; pub mod packet_in;
pub use packet_in::{PacketInEvent, PacketInReason};
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