// pktmonclntk.h
typedef struct _PKTMON_COMPONENT_PROPERTY {
PKTMON_COMPONENT_PROPERTY_ID Id;
union {
ULONG IfIndex;
ULONG MiniportIfIndex;
ULONG LowerIfIndex;
ULONG VmsExtIfIndex;
ULONG LowestIfIndex;
ULONG NdisMedium;
ULONG IpIfIndex;
ULONG Vsid;
ULONG Vlan;
ULONG CompartmentId;
USHORT OptDataPath;
USHORT NdisObject;
USHORT EtherType;
GUID IfGuid;
PKTMON_MAC_ADDRESS MacAddress;
CHAR VMSwitchName[PKTMON_MAX_PROPERTY_LENGTH_BYTES];
SOCKADDR_INET SockAddr;
};
} PKTMON_COMPONENT_PROPERTY;
View the official Windows Driver Kit DDI referenceNo description available.
The PKTMON_COMPONENT_PROPERTY structure defines various properties for a Packet Monitor component.
IdSpecifies the identifier for the component property. This field is of type PKTMON_COMPONENT_PROPERTY_ID.
IfIndexSpecifies the interface index. Use this field when the property ID is PktMonCompProp_IfIndex.
MiniportIfIndexSpecifies the miniport interface index. Use this field when the property ID is PktMonCompProp_MiniportIfIndex.
LowerIfIndexSpecifies the lower interface index. Use this field when the property ID is PktMonCompProp_LowerIfIndex.
VmsExtIfIndexSpecifies the VMS extension interface index. Use this field when the property ID is PktMonCompProp_VmsExtIfIndex.
LowestIfIndexSpecifies the lowest interface index. Use this field when the property ID is PktMonCompProp_LowestIfIndex.
NdisMediumSpecifies the NDIS medium type. Use this field when the property ID is PktMonCompProp_NdisMedium.
IpIfIndexSpecifies the IP interface index. Use this field when the property ID is PktMonCompProp_IpIfIndex.
VsidSpecifies the virtual subnet ID. Use this field when the property ID is PktMonCompProp_Vsid.
VlanSpecifies the VLAN ID. Use this field when the property ID is PktMonCompProp_Vlan.
CompartmentIdSpecifies the compartment ID. Use this field when the property ID is PktMonCompProp_CompartmentId.
OptDataPathSpecifies the optional data path. Use this field when the property ID is PktMonCompProp_OptDataPath.
NdisObjectSpecifies the NDIS object type. Use this field when the property ID is PktMonCompProp_NdisObject.
EtherTypeSpecifies the EtherType. Use this field when the property ID is PktMonCompProp_EtherType.
IfGuidSpecifies the interface GUID. Use this field when the property ID is PktMonCompProp_IfGuid.
MacAddressSpecifies the MAC address. Use this field when the property ID is PktMonCompProp_PhysAddress.
VMSwitchName[PKTMON_MAX_PROPERTY_LENGTH_BYTES]Specifies the name of the VM switch. Use this field when the property ID is PktMonCompProp_VMSwitchName.
SockAddrSpecifies the socket address. Use this field when the property ID is PktMonCompProp_IpAddress.