Inspection traffic before and after it passed some layer in WFP

I need to check what was happened with packets after it has passed some WFP layer.
Is it possible to capture packet exactly before it will go to some layer, and exactly after it passed that layer?