X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=ofproto%2Fpktbuf.h;h=67f4973c234585544e4b3037173ac87a3519f2ee;hb=33ef7695b71a71f2d0bb0e00aab46855afb8c2a6;hp=b27b7490a41b67d40e6d3ad7c8784380c0f0a766;hpb=baa905d36b831881ceb20686f567dead3ec0bf14;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);