projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bridge: Drop obsolete comment.
[openvswitch]
/
lib
/
dpif-linux.h
diff --git
a/lib/dpif-linux.h
b/lib/dpif-linux.h
index 30e927f796e6dd51e05575fb2f3373c8e046cb3b..f942a8cc03222269ef9186f724c5ec62e6bcfab2 100644
(file)
--- a/
lib/dpif-linux.h
+++ b/
lib/dpif-linux.h
@@
-18,16
+18,17
@@
#define DPIF_LINUX_H 1
#include <stdbool.h>
#define DPIF_LINUX_H 1
#include <stdbool.h>
+#include <stdint.h>
#include "openvswitch/datapath-protocol.h"
struct ofpbuf;
struct dpif_linux_vport {
#include "openvswitch/datapath-protocol.h"
struct ofpbuf;
struct dpif_linux_vport {
- /*
ioctl command argument
. */
-
in
t cmd;
+ /*
Generic Netlink header
. */
+
uint8_
t cmd;
/* odp_vport header. */
/* odp_vport header. */
-
uint32_t dp_id
x;
+
int dp_ifinde
x;
uint32_t port_no; /* UINT32_MAX if unknown. */
enum odp_vport_type type;
uint32_t port_no; /* UINT32_MAX if unknown. */
enum odp_vport_type type;
@@
-52,4
+53,7
@@
int dpif_linux_vport_get(const char *name, struct dpif_linux_vport *reply,
bool dpif_linux_is_internal_device(const char *name);
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 */
#endif /* dpif-linux.h */