X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fcfm.h;h=2556a325b36b9bc396537c79ff18e8a38799edf2;hb=6e492d81450217a5c90cbb4ad31d81b1e611989b;hp=6d23293f7c3ec2fcc59779a1700eeb4166b75f7f;hpb=b93803967e38ee4b65cd1e720decd8dcbb58d04f;p=openvswitch diff --git a/lib/cfm.h b/lib/cfm.h index 6d23293f..2556a325 100644 --- a/lib/cfm.h +++ b/lib/cfm.h @@ -24,6 +24,8 @@ struct flow; struct ofpbuf; +#define CFM_RANDOM_VLAN UINT16_MAX + #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. */ - 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. */ };