Go to the source code of this file.
Namespaces | |
ns3 | |
Every class exported by the ns3 library is enclosed in the ns3 namespace. | |
Functions | |
struct ofpbuf * | ns3::BufferFromPacket (Ptr< const Packet > packet, size_t bodyRoom, size_t headRoom=0) |
Create an internal BOFUSS buffer from ns3::Packet. More... | |
void | dp_actions_output_port (struct packet *pkt, uint32_t out_port, uint32_t out_queue, uint16_t max_len, uint64_t cookie) |
void | dpctl_send_and_print (struct vconn *vconn, struct ofl_msg_header *msg) |
void | dpctl_transact_and_print (struct vconn *vconn, struct ofl_msg_header *req, struct ofl_msg_header **repl) |
void | ns3::EnableBofussLog (bool printToFile=false, std::string prefix="", bool explicitFilename=false, std::string customLevels="") |
Enable the logging system of the BOFUSS library. More... | |
Ptr< Packet > | ns3::PacketFromBuffer (struct ofpbuf *buffer) |
Create a new ns3::Packet from internal BOFUSS buffer. More... | |
Ptr< Packet > | ns3::PacketFromMsg (struct ofl_msg_header *msg, uint32_t xid=0) |
Create a new ns3::Packet from internal OFLib message. More... | |
int | send_openflow_buffer_to_remote (struct ofpbuf *buffer, struct remote *remote) |
void | send_packet_to_controller (struct pipeline *pl, struct packet *pkt, uint8_t table_id, uint8_t reason) |
Overriding BOFUSS weak functions using static member functions. More... | |
long long int | time_msec (void) |
Overriding BOFUSS time_msec weak function from timeval.c. More... | |
time_t | time_now (void) |
Overriding BOFUSS time_now weak function from timeval.c. More... | |
void dp_actions_output_port | ( | struct packet * | pkt, |
uint32_t | out_port, | ||
uint32_t | out_queue, | ||
uint16_t | max_len, | ||
uint64_t | cookie | ||
) |
Definition at line 151 of file ofswitch13-interface.cc.
References ns3::OFSwitch13Device::DpActionsOutputPort().
void dpctl_send_and_print | ( | struct vconn * | vconn, |
struct ofl_msg_header * | msg | ||
) |
Definition at line 165 of file ofswitch13-interface.cc.
References ns3::OFSwitch13Controller::DpctlSendAndPrint().
void dpctl_transact_and_print | ( | struct vconn * | vconn, |
struct ofl_msg_header * | req, | ||
struct ofl_msg_header ** | repl | ||
) |
Definition at line 171 of file ofswitch13-interface.cc.
References ns3::OFSwitch13Controller::DpctlSendAndPrint().
int send_openflow_buffer_to_remote | ( | struct ofpbuf * | buffer, |
struct remote * | remote | ||
) |
Definition at line 145 of file ofswitch13-interface.cc.
References ns3::OFSwitch13Device::SendOpenflowBufferToRemote().
void send_packet_to_controller | ( | struct pipeline * | pl, |
struct packet * | pkt, | ||
uint8_t | table_id, | ||
uint8_t | reason | ||
) |
Overriding BOFUSS weak functions using static member functions.
Definition at line 136 of file ofswitch13-interface.cc.
References ns3::OFSwitch13Device::SendPacketToController().
long long int time_msec | ( | void | ) |
Overriding BOFUSS time_msec weak function from timeval.c.
Definition at line 129 of file ofswitch13-interface.cc.
References ns3::Time::GetMilliSeconds(), and ns3::Simulator::Now().
Referenced by ns3::OFSwitch13Queue::AddQueue(), and ns3::OFSwitch13Port::NotifyConstructionCompleted().
time_t time_now | ( | void | ) |
Overriding BOFUSS time_now weak function from timeval.c.
Definition at line 119 of file ofswitch13-interface.cc.
References ns3::Simulator::Now(), ns3::Time::S, and ns3::Time::ToInteger().
Referenced by ns3::OFSwitch13Device::DatapathNew(), ns3::OFSwitch13Device::DatapathTimeout(), and SwitchFlowTableTestCase::DoRun().