High-efficiency reflection-type all-optical switch for ultrashort pulses based on a single asymmetrically confined photonic crystal defect.