X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fpktbuf.h;h=67f4973c234585544e4b3037173ac87a3519f2ee;hb=5ea61afe521af5ed81cff32726e4cd8d49bf7d50;hp=b27b7490a41b67d40e6d3ad7c8784380c0f0a766;hpb=00908dc27a4d93bd1c5bda3bcdc84ec351e9a09a;p=openvswitch diff --git a/ofproto/pktbuf.h b/ofproto/pktbuf.h index b27b7490..67f4973c 100644 --- a/ofproto/pktbuf.h +++ b/ofproto/pktbuf.h @@ -27,6 +27,7 @@ int pktbuf_capacity(void); struct pktbuf *pktbuf_create(void); void pktbuf_destroy(struct pktbuf *); uint32_t pktbuf_save(struct pktbuf *, struct ofpbuf *buffer, uint16_t in_port); +uint32_t pktbuf_get_null(void); int pktbuf_retrieve(struct pktbuf *, uint32_t id, struct ofpbuf **bufferp, uint16_t *in_port); void pktbuf_discard(struct pktbuf *, uint32_t id);