The layer of the WinDivert handle is determined by the layer parameter. Currently the following layers are supported.
DIVERT_LAYER_NETWORK :- The network layer. This is the default. DIVERT_LAYER_NETWORK_FORWARD :- The network layer (forwarded packets). what is the difference between both DIVERT_LAYER_NETWORK and DIVERT_LAYER_NETWORK_FORWARD ?