rename struct spdr -> struct spdr_context