projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ovsdb-client: Add support for --detach to "monitor" command.
[openvswitch]
/
include
/
openvswitch
/
datapath-protocol.h
diff --git
a/include/openvswitch/datapath-protocol.h
b/include/openvswitch/datapath-protocol.h
index bbc29f6d0e55753e560894a937c8952f211ef1c2..ab7eb9e39b3cb60f2857300292307632cee95bc3 100644
(file)
--- a/
include/openvswitch/datapath-protocol.h
+++ b/
include/openvswitch/datapath-protocol.h
@@
-37,7
+37,7
@@
* ----------------------------------------------------------------------
*/
* ----------------------------------------------------------------------
*/
-/* Protocol between
secchan and
datapath. */
+/* Protocol between
userspace and kernel
datapath. */
#ifndef OPENVSWITCH_DATAPATH_PROTOCOL_H
#define OPENVSWITCH_DATAPATH_PROTOCOL_H 1
#ifndef OPENVSWITCH_DATAPATH_PROTOCOL_H
#define OPENVSWITCH_DATAPATH_PROTOCOL_H 1
@@
-70,14
+70,12
@@
#define ODP_PORT_GROUP_GET _IOWR('O', 12, struct odp_port_group)
#define ODP_FLOW_GET _IOWR('O', 13, struct odp_flow)
#define ODP_PORT_GROUP_GET _IOWR('O', 12, struct odp_port_group)
#define ODP_FLOW_GET _IOWR('O', 13, struct odp_flow)
-#define ODP_FLOW_
GET_MULTIPLE _IOWR('O', 14, struct odp_flowvec
)
+#define ODP_FLOW_
PUT _IOWR('O', 14, struct odp_flow
)
#define ODP_FLOW_LIST _IOWR('O', 15, struct odp_flowvec)
#define ODP_FLOW_LIST _IOWR('O', 15, struct odp_flowvec)
-
#define ODP_FLOW_FLUSH _IO('O', 16)
#define ODP_FLOW_FLUSH _IO('O', 16)
-#define ODP_FLOW_PUT _IOWR('O', 17, struct odp_flow)
-#define ODP_FLOW_DEL _IOWR('O', 18, struct odp_flow)
+#define ODP_FLOW_DEL _IOWR('O', 17, struct odp_flow)
-#define ODP_EXECUTE _IOR('O', 1
9
, struct odp_execute)
+#define ODP_EXECUTE _IOR('O', 1
8
, struct odp_execute)
struct odp_stats {
/* Flows. */
struct odp_stats {
/* Flows. */
@@
-149,7
+147,7
@@
struct odp_flow_stats {
__u32 used_nsec;
__u8 tcp_flags;
__u8 ip_tos;
__u32 used_nsec;
__u8 tcp_flags;
__u8 ip_tos;
- __u16
reserved;
+ __u16
error; /* Used by ODP_FLOW_GET. */
};
struct odp_flow_key {
};
struct odp_flow_key {
@@
-167,11
+165,15
@@
struct odp_flow_key {
__u8 reserved; /* Pad to 64 bits. */
};
__u8 reserved; /* Pad to 64 bits. */
};
+/* Flags for ODP_FLOW. */
+#define ODPFF_ZERO_TCP_FLAGS (1 << 0) /* Zero the TCP flags. */
+
struct odp_flow {
struct odp_flow_stats stats;
struct odp_flow_key key;
union odp_action *actions;
__u32 n_actions;
struct odp_flow {
struct odp_flow_stats stats;
struct odp_flow_key key;
union odp_action *actions;
__u32 n_actions;
+ __u32 flags;
};
/* Flags for ODP_FLOW_PUT. */
};
/* Flags for ODP_FLOW_PUT. */