get total data length by using windows filtering platform

Hi,
I am developing firewall based on wfp architecture, and now I want to get data length.
can I use frameLength (inMetaValues->frameLength)? if yes, In which layer frameLength has valid value?
thanks,

Google is your friend.

https://msdn.microsoft.com/en-us/library/gg155494.aspx