Package org.onosproject.net.packet
Interface PacketInClassifier
-
- All Known Implementing Classes:
ArpPacketClassifier
,Dhcp6DirectPacketClassifier
,Dhcp6IndirectPacketClassifier
,DhcpPacketClassifier
,Icmp6PacketClassifier
,IcmpPacketClassifier
,NAPacketClassifier
,NSPacketClassifier
public interface PacketInClassifier
Abstraction of incoming packet classifier for filtering.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
match(PacketContext packet)
Returns true if the packet classifier matches else false.
-
-
-
Method Detail
-
match
boolean match(PacketContext packet)
Returns true if the packet classifier matches else false. The matching criterion should be non overlapping with other implementation of the PacketInClassifier.- Parameters:
packet
- PacketContext holding the packet information- Returns:
- boolean checks whether packet matches classifier
-
-