projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rearrange structures to better fit valgrind's memory leak heuristics.
[openvswitch]
/
lib
/
cfm.h
diff --git
a/lib/cfm.h
b/lib/cfm.h
index 6d23293f7c3ec2fcc59779a1700eeb4166b75f7f..2556a325b36b9bc396537c79ff18e8a38799edf2 100644
(file)
--- a/
lib/cfm.h
+++ b/
lib/cfm.h
@@
-24,6
+24,8
@@
struct flow;
struct ofpbuf;
struct flow;
struct ofpbuf;
+#define CFM_RANDOM_VLAN UINT16_MAX
+
#define CFM_FAULT_REASONS \
CFM_FAULT_REASON(RECV, recv) \
CFM_FAULT_REASON(RDI, rdi) \
#define CFM_FAULT_REASONS \
CFM_FAULT_REASON(RECV, recv) \
CFM_FAULT_REASON(RDI, rdi) \
@@
-51,7
+53,8
@@
struct cfm_settings {
int interval; /* The requested transmission interval. */
bool extended; /* Run in extended mode. */
bool opup; /* Operational State. */
int interval; /* The requested transmission interval. */
bool extended; /* Run in extended mode. */
bool opup; /* Operational State. */
- uint16_t ccm_vlan; /* CCM Vlan tag. Zero if none. */
+ uint16_t ccm_vlan; /* CCM Vlan tag. Zero if none.
+ CFM_RANDOM_VLAN if random. */
uint8_t ccm_pcp; /* CCM Priority. Zero if none. */
};
uint8_t ccm_pcp; /* CCM Priority. Zero if none. */
};