locked
execution order of multiple callouts registered on the same layer? RRS feed

  • Question

  • Both driver A and B registered a filter with FWPM_LAYER_STREAM_V4 layer key, which driver's callout function FWPS_CALLOUT_CLASSIFY_FN0 gets called first?

    Thanks,

    Wednesday, December 16, 2009 10:40 PM

Answers

  • This is part of the filter arbitration logic.  http://msdn.microsoft.com/en-us/library/aa364008(VS.85).aspx  The highest weighted matching filter's callout gets invoked first (this makes the assumption that the filter's are in the same sublayer).  If it's multiple sublayers, then the sublayers are arbitrated first, then the filters in the sublayer...

    Hope this helps.


    Dusty Harper [MSFT]
    Microsoft Corporation
    ------------------------------------------------------------
    This posting is provided "AS IS", with NO warranties and confers NO rights
    ------------------------------------------------------------
    Thursday, December 17, 2009 2:57 AM
    Moderator

All replies

  • This is part of the filter arbitration logic.  http://msdn.microsoft.com/en-us/library/aa364008(VS.85).aspx  The highest weighted matching filter's callout gets invoked first (this makes the assumption that the filter's are in the same sublayer).  If it's multiple sublayers, then the sublayers are arbitrated first, then the filters in the sublayer...

    Hope this helps.


    Dusty Harper [MSFT]
    Microsoft Corporation
    ------------------------------------------------------------
    This posting is provided "AS IS", with NO warranties and confers NO rights
    ------------------------------------------------------------
    Thursday, December 17, 2009 2:57 AM
    Moderator
  • This is exactly what I need, thanks.
    Friday, December 18, 2009 5:34 PM