A method and apparatus for transparent processing of IPsec network traffic
by a security processor in line between a framer and a network processor.
Security processor parses packet header and tail information to determine
if encryption or decryption is required. After encryption or decryption
is completed packet header and tail information is modified to reflect
the changes in the packet such as length of the packet. The modified
packet is then passed on to the network processor or framer.