Package pcap.spi

Interface PacketFilter

All Superinterfaces:
AutoCloseable

public interface PacketFilter extends AutoCloseable
Packet filter.
Since:
1.5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    filter(PacketBuffer packetBuffer)
    Filter packet buffer.

    Methods inherited from interface java.lang.AutoCloseable

    close
  • Method Details

    • filter

      boolean filter(PacketBuffer packetBuffer)
      Filter packet buffer.
      Parameters:
      packetBuffer - packet buffer.
      Returns:
      returns true if filtered, false otherwise.
      Since:
      1.5.0