X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fpktbuf.c;h=49e5c4d63f307b5ef1814b6f2e6bd7e7b82ec6c8;hb=f2d9c30bdf455d8ce6dbf2188c1330e4b33d7d1f;hp=c103c7ffb0715f8478d4480de914406ffc0de472;hpb=a0bc29a541fc7dc6e20137d5558e2094d614e6ab;p=openvswitch diff --git a/ofproto/pktbuf.c b/ofproto/pktbuf.c index c103c7ff..49e5c4d6 100644 --- a/ofproto/pktbuf.c +++ b/ofproto/pktbuf.c @@ -19,14 +19,15 @@ #include #include #include "coverage.h" +#include "ofp-util.h" #include "ofpbuf.h" #include "timeval.h" #include "util.h" #include "vconn.h" - -#define THIS_MODULE VLM_pktbuf #include "vlog.h" +VLOG_DEFINE_THIS_MODULE(pktbuf) + /* Buffers are identified by a 32-bit opaque ID. We divide the ID * into a buffer number (low bits) and a cookie (high bits). The buffer number * is an index into an array of buffers. The cookie distinguishes between