X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fpktbuf.h;h=67f4973c234585544e4b3037173ac87a3519f2ee;hb=535d6987a7af3bef33bf2db21b52bb81e3ea64ee;hp=b27b7490a41b67d40e6d3ad7c8784380c0f0a766;hpb=00908dc27a4d93bd1c5bda3bcdc84ec351e9a09a;p=sliver-openvswitch.git diff --git a/ofproto/pktbuf.h b/ofproto/pktbuf.h index b27b7490a..67f4973c2 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);