xfif: Fix a couple of missed changes from "dpif" to "xfif"
authorJustin Pettit <jpettit@nicira.com>
Tue, 20 Apr 2010 05:14:43 +0000 (22:14 -0700)
committerJustin Pettit <jpettit@nicira.com>
Tue, 20 Apr 2010 05:14:43 +0000 (22:14 -0700)
lib/xfif-provider.h
lib/xfif.h
ofproto/wdp-provider.h

index 8730c53..31de0ac 100644 (file)
@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef DPIF_PROVIDER_H
-#define DPIF_PROVIDER_H 1
+#ifndef XFIF_PROVIDER_H
+#define XFIF_PROVIDER_H 1
 
 /* Provider interface to xfifs, which provide an interface to an Open vSwitch
  * datapath. */
index da82344..4059c8c 100644 (file)
@@ -15,8 +15,8 @@
  */
 
 
-#ifndef DPIF_H
-#define DPIF_H 1
+#ifndef XFIF_H
+#define XFIF_H 1
 
 #include "openvswitch/xflow.h"
 #include <stdbool.h>
index b12ace9..4efb383 100644 (file)
@@ -207,7 +207,7 @@ struct wdp_class {
     int (*port_list)(const struct wdp *wdp, struct wdp_port **portsp,
                      size_t *n_portsp);
 
-    int (*port_set_config)(struct wdp *sdpif, uint16_t port_no,
+    int (*port_set_config)(struct wdp *wdp, uint16_t port_no,
                            uint32_t config);
 
     /* Polls for changes in the set of ports in 'wdp'.  If the set of ports