/* * Common length and type checks are done here, * then the protocol-specific routine is called. */