We discuss how all-optical signal processing might play a role in future all-optical packet switched networks. We describe a few approaches to optical header processing, all based on nonlinearities in a semiconductor optical amplifier. In first approach a SLALOM configuration is used. The second approach uses a Terahertz Optical Asymmetric Demultiplexer. We also describe a header pre-processor to improve the extinction ratio of the header processor output. The second functional block on which we focus is optical buffering. We show how all-optical signal processing technology can be used to route a packet into a fiber delay line and we describe a circulating optical loop based op optical technology.