X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fpktbuf.h;h=67f4973c234585544e4b3037173ac87a3519f2ee;hb=576e26d7b47f4e53116ef0b5f035d260f426d37b;hp=b27b7490a41b67d40e6d3ad7c8784380c0f0a766;hpb=2a6cb303b0b9956952a1599092e64f5805ee741a;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);