X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=switch%2Fswitch-flow.c;h=e0410afc445323db4adee3d98dcb1e4058189d68;hb=b7d8bab74dc293132fcb7fdd72ba497ca71d72ab;hp=cc462c0ef87ef82dbdd4e26303b69d0a602599af;hpb=57d52057650716ee354ebbe588d2a884ccabc81f;p=openvswitch diff --git a/switch/switch-flow.c b/switch/switch-flow.c index cc462c0e..e0410afc 100644 --- a/switch/switch-flow.c +++ b/switch/switch-flow.c @@ -37,7 +37,7 @@ #include #include #include -#include "buffer.h" +#include "ofpbuf.h" #include "openflow.h" #include "packets.h" #include "timeval.h" @@ -259,7 +259,7 @@ bool flow_timeout(struct sw_flow *flow) } } -void flow_used(struct sw_flow *flow, struct buffer *buffer) +void flow_used(struct sw_flow *flow, struct ofpbuf *buffer) { flow->used = time_now(); flow->packet_count++;