#include <stdlib.h>
#include <time.h>
+#include "byte-order.h"
#include "flow.h"
#include "hmap.h"
#include "mac-learning.h"
#include "timeval.h"
#include "vconn.h"
#include "vlog.h"
-#include "xtoxll.h"
-VLOG_DEFINE_THIS_MODULE(learning_switch)
+VLOG_DEFINE_THIS_MODULE(learning_switch);
struct lswitch_port {
struct hmap_node hmap_node; /* Hash node for port number. */
}
static uint16_t
-lswitch_choose_destination(struct lswitch *sw, const flow_t *flow)
+lswitch_choose_destination(struct lswitch *sw, const struct flow *flow)
{
uint16_t out_port;
size_t pkt_ofs, pkt_len;
struct ofpbuf pkt;
- flow_t flow;
+ struct flow flow;
/* Ignore packets sent via output to OFPP_CONTROLLER. This library never
* uses such an action. You never know what experiments might be going on,