SLCAN_PRIV_FLAGS_ERR_RST_ON_OPEN
flags |= SLCAN_PRIV_FLAGS_ERR_RST_ON_OPEN;
bool err_rst_op_open = !!(flags & SLCAN_PRIV_FLAGS_ERR_RST_ON_OPEN);