~james-page/ubuntu/saucy/openvswitch/1.12-snapshot

« back to all changes in this revision

Viewing changes to ofproto/pktbuf.h

  • Committer: James Page
  • Date: 2013-08-21 10:16:57 UTC
  • mfrom: (1.1.20)
  • Revision ID: james.page@canonical.com-20130821101657-3o0z0qeiv5zkwlzi
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
struct pktbuf *pktbuf_create(void);
31
31
void pktbuf_destroy(struct pktbuf *);
32
32
uint32_t pktbuf_save(struct pktbuf *, const void *buffer, size_t buffer_size,
33
 
                     uint16_t in_port);
 
33
                     ofp_port_t in_port);
34
34
uint32_t pktbuf_get_null(void);
35
35
enum ofperr pktbuf_retrieve(struct pktbuf *, uint32_t id,
36
 
                            struct ofpbuf **bufferp, uint16_t *in_port);
 
36
                            struct ofpbuf **bufferp, ofp_port_t *in_port);
37
37
void pktbuf_discard(struct pktbuf *, uint32_t id);
38
38
 
39
39
unsigned int pktbuf_count_packets(const struct pktbuf *);