Compartilhar via


FwpsGetPacketListSecurityInformation0 (Compact 2013)

3/26/2014

This function retrieves information associated with a packet list.

Syntax

NTSTATUS NTAPI
  FwpsGetPacketListSecurityInformation0(
    IN NET_BUFFER_LIST  *packetList,
    IN UINT32  queryFlags,
    IN OUT FWPS_PACKET_LIST_INFORMATION0  *packetInformation
    );

Parameters

  • packetList
    A pointer to the NET_BUFFER_LIST structure for which the associated information is being retrieved
  • queryFlags
    A UINT32 value that contains a bitwise OR of a combination of the following flags:

    FWPS_PACKET_LIST_INFORMATION_QUERY_INBOUND

    Retrieve information for an incoming packet list.

    FWPS_PACKET_LIST_INFORMATION_QUERY_OUTBOUND

    Retrieve information for an outgoing packet list.

    FWPS_PACKET_LIST_INFORMATION_QUERY_IPSEC

    Retrieve the IPsec information associated with the packet list. This flag must be used in combination with either the FWPS_PACKET_LIST_INFORMATION_QUERY_INBOUND flag or the FWPS_PACKET_LIST_INFORMATION_QUERY_OUTBOUND flag.

    FWPS_PACKET_LIST_INFORMATION_QUERY_FWP

    Retrieve the Windows Filtering Platform information associated with the packet list.

    FWPS_PACKET_LIST_INFORMATION_QUERY_ALL_INBOUND

    Retrieve all information associated with an incoming packet list.

    FWPS_PACKET_LIST_INFORMATION_QUERY_ALL_OUTBOUND

    Retrieve all information associated with an outgoing packet list.

Return Value

The FwpsGetPacketListSecurityInformation0 function returns one of the following NTSTATUS codes.

Value

Description

STATUS_SUCCESS

The information associated with the packet list was successfully retrieved.

Other status codes

An error occurred.

Remarks

A callout driver calls the FwpsGetPacketListSecurityInformation0 function from inside its classifyFn callout function to retrieve information associated with the packet list. This information can be used to determine the action to be taken on the data.

Requirements

Header

fwpsk.h

See Also

Reference

Functions Called by Callout Drivers
NET_BUFFER_LIST
FWPS_PACKET_LIST_INFORMATION0
classifyFn
WFP Callout Driver Functions