X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=ofproto%2Fpktbuf.c;h=902b19dd7bdb2b7691e44f86f4dd94bc9f23a671;hb=305b76debf72120672a8ba81d3356b6dccb1da9a;hp=71be34a61fa433539e456ca95c9befd21f1ba252;hpb=e368cad8ecf6dbf272b2a3775b2e3e5e2dc6a5cf;p=sliver-openvswitch.git diff --git a/ofproto/pktbuf.c b/ofproto/pktbuf.c index 71be34a61..902b19dd7 100644 --- a/ofproto/pktbuf.c +++ b/ofproto/pktbuf.c @@ -120,7 +120,7 @@ pktbuf_save(struct pktbuf *pb, const void *buffer, size_t buffer_size, p->cookie = 0; } p->buffer = ofpbuf_clone_data_with_headroom(buffer, buffer_size, - sizeof(struct ofp_packet_in)); + sizeof(struct ofp10_packet_in)); p->timeout = time_msec() + OVERWRITE_MSECS; @@ -165,7 +165,7 @@ pktbuf_get_null(void) * * 'in_port' may be NULL if the input port is not of interest. * - * A returned packet will have at least sizeof(struct ofp_packet_in) bytes of + * A returned packet will have at least sizeof(struct ofp10_packet_in) bytes of * headroom. * * On failure, stores NULL in in '*bufferp' and UINT16_MAX in '*in_port'. */