git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
776fb43
)
openflow: Fix frag config flag values
author
Justin Pettit
<jpettit@nicira.com>
Sat, 20 Feb 2010 05:30:03 +0000
(21:30 -0800)
committer
Justin Pettit
<jpettit@nicira.com>
Sat, 20 Feb 2010 05:30:03 +0000
(21:30 -0800)
include/openflow/openflow.h
patch
|
blob
|
history
diff --git
a/include/openflow/openflow.h
b/include/openflow/openflow.h
index
c8477aa
..
27dae8f
100644
(file)
--- a/
include/openflow/openflow.h
+++ b/
include/openflow/openflow.h
@@
-141,10
+141,10
@@
struct ofp_hello {
enum ofp_config_flags {
/* Handling of IP fragments. */
enum ofp_config_flags {
/* Handling of IP fragments. */
- OFPC_FRAG_NORMAL = 0
<< 1
, /* No special handling for fragments. */
- OFPC_FRAG_DROP = 1
<< 1
, /* Drop fragments. */
- OFPC_FRAG_REASM = 2
<< 1
, /* Reassemble (only if OFPC_IP_REASM set). */
- OFPC_FRAG_MASK = 3
<< 1
+ OFPC_FRAG_NORMAL = 0, /* No special handling for fragments. */
+ OFPC_FRAG_DROP = 1, /* Drop fragments. */
+ OFPC_FRAG_REASM = 2, /* Reassemble (only if OFPC_IP_REASM set). */
+ OFPC_FRAG_MASK = 3
};
/* Switch configuration. */
};
/* Switch configuration. */