/*
- * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013 Nicira, Inc.
+ * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2016 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
#include <sys/types.h>
#include <unistd.h>
#include "fatal-signal.h"
-#include "ofpbuf.h"
+#include "openvswitch/ofpbuf.h"
#include "openflow/openflow.h"
-#include "poll-loop.h"
+#include "openvswitch/poll-loop.h"
#include "socket-util.h"
#include "stream.h"
#include "util.h"
struct stream *stream;
int error;
- error = stream_open_with_default_port(name, OFP_OLD_PORT, &stream, dscp);
+ error = stream_open_with_default_port(name, OFP_PORT, &stream, dscp);
if (!error) {
error = stream_connect(stream);
if (!error || error == EAGAIN) {
if ((vconn->error == EPROTO || s->n_packets < 1) && s->rxbuf) {
stream_report_content(s->rxbuf->data, s->rxbuf->size, STREAM_OPENFLOW,
- THIS_MODULE, vconn_get_name(vconn));
+ &this_module, vconn_get_name(vconn));
}
stream_close(s->stream);
struct pstream *pstream;
int error;
- error = pstream_open_with_default_port(name, OFP_OLD_PORT,
- &pstream, dscp);
+ error = pstream_open_with_default_port(name, OFP_PORT, &pstream, dscp);
if (error) {
return error;
}