Patent attributes
A device may receive a set of packets. The device may select a first one or more packets, of the set of packets, for a Layer 7 (L-7) inspection based on a type of network traffic associated with the set of packets. The device may perform the L-7 inspection on the first one or more packets. The device may determine contextual information associated with the first one or more packets based on the L-7 inspection. The device may offload a second one or more packets, of the set of packets, for a Layer 4 (L-4) inspection without performing the L-7 inspection based on the contextual information associated with the first one or more packets.