X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Flearning-switch.c;h=741e0d0e543dc9214b0be942a72e29ba72ef8667;hb=db164669c1b482843e082e752d8fbd69f650f94a;hp=1e5d25bc2c037ee82966d35c597b335239537d97;hpb=d4cdc6b4c45e5ca6a44bccf90f856b76ef936fac;p=openvswitch diff --git a/lib/learning-switch.c b/lib/learning-switch.c index 1e5d25bc..741e0d0e 100644 --- a/lib/learning-switch.c +++ b/lib/learning-switch.c @@ -305,7 +305,7 @@ process_switch_features(struct lswitch *sw, struct rconn *rconn OVS_UNUSED, } 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; @@ -372,7 +372,7 @@ process_packet_in(struct lswitch *sw, struct rconn *rconn, void *opi_) 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,