* - If we are already TERMINATED this is a no-op.
*
* - If we are TERMINATING - CLOSING and we have now got a CONNECTION_CLOSE
- * from the peer (tcause->remote == 1), we move to TERMINATING - CLOSING.
+ * from the peer (tcause->remote == 1), we move to TERMINATING - DRAINING.
*
* - If we are TERMINATING - DRAINING, we remain here until the terminating
* timer expires.
unsigned int have_qsm : 1;
/*
- * Preferred EL for transmission. This is not strictly needed as it can be
- * inferred from what keys we have provisioned, but makes determining the
- * current EL simpler and faster.
+ * Preferred ELs for transmission and reception. This is not strictly needed
+ * as it can be inferred from what keys we have provisioned, but makes
+ * determining the current EL simpler and faster. A separate EL for
+ * transmission and reception is not strictly necessary but makes things
+ * easier for interoperation with the handshake layer, which likes to invoke
+ * the yield secret callback at different times for TX and RX.
*/
unsigned int tx_enc_level : 3;
unsigned int rx_enc_level : 3;