X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fdpif-linux.h;h=ec94ccfd63d929b75b91ddd36c49b86fd2613193;hb=7efa3dccd1968535ae32caf59746aa11ce7532f2;hp=c9150b0d6e21a59ac0177546d2e8001ccc5d3fa9;hpb=e368cad8ecf6dbf272b2a3775b2e3e5e2dc6a5cf;p=sliver-openvswitch.git diff --git a/lib/dpif-linux.h b/lib/dpif-linux.h index c9150b0d6..ec94ccfd6 100644 --- a/lib/dpif-linux.h +++ b/lib/dpif-linux.h @@ -22,6 +22,8 @@ #include #include +#include "flow.h" + struct ofpbuf; struct dpif_linux_vport { @@ -30,7 +32,7 @@ struct dpif_linux_vport { /* ovs_vport header. */ int dp_ifindex; - uint32_t port_no; /* UINT32_MAX if unknown. */ + odp_port_t port_no; /* ODPP_NONE if unknown. */ enum ovs_vport_type type; /* Attributes. @@ -41,7 +43,6 @@ struct dpif_linux_vport { const char *name; /* OVS_VPORT_ATTR_NAME. */ const uint32_t *upcall_pid; /* OVS_VPORT_ATTR_UPCALL_PID. */ const struct ovs_vport_stats *stats; /* OVS_VPORT_ATTR_STATS. */ - const uint8_t *address; /* OVS_VPORT_ATTR_ADDRESS. */ const struct nlattr *options; /* OVS_VPORT_ATTR_OPTIONS. */ size_t options_len; }; @@ -56,7 +57,4 @@ int dpif_linux_vport_get(const char *name, struct dpif_linux_vport *reply, bool dpif_linux_is_internal_device(const char *name); -int dpif_linux_vport_send(int dp_ifindex, uint32_t port_no, - const void *data, size_t size); - #endif /* dpif-linux.h */