Esempio n. 1
0
 /// <summary>
 /// Gets the packet filter table.
 /// </summary>
 /// <returns><see cref="Native.NdisApi.STATIC_FILTER_TABLE" />.</returns>
 public Native.NdisApi.STATIC_FILTER_TABLE GetPacketFilterTable()
 {
     Native.NdisApi.STATIC_FILTER_TABLE filterTable = default;
     Native.NdisApi.GetPacketFilterTable(Handle, ref filterTable);
     return(filterTable);
 }
Esempio n. 2
0
 /// <summary>
 /// Gets the packet filter table reset stats.
 /// </summary>
 /// <returns>
 /// <see cref="Native.NdisApi.STATIC_FILTER_TABLE" />.
 /// </returns>
 public Native.NdisApi.STATIC_FILTER_TABLE GetPacketFilterTableResetStats()
 {
     Native.NdisApi.STATIC_FILTER_TABLE filterList = default;
     Native.NdisApi.GetPacketFilterTableResetStats(Handle, ref filterList);
     return(filterList);
 }
Esempio n. 3
0
 /// <summary>
 /// Sets the packet filter table.
 /// </summary>
 /// <param name="filterTable">The filter table.</param>
 /// <returns><c>true</c> if successful, <c>false</c> otherwise.</returns>
 public bool SetPacketFilterTable(Native.NdisApi.STATIC_FILTER_TABLE filterTable)
 {
     return(Native.NdisApi.SetPacketFilterTable(Handle, ref filterTable));
 }