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