6 package org.pcmm.gates;
8 import java.net.InetAddress;
10 public interface IExtendedClassifier extends IClassifier {
12 static final short LENGTH = 40;
13 static final byte SNUM = 6;
14 static final byte STYPE = 2;
16 void setIPSourceMask(InetAddress a);
18 void setIPDestinationMask(InetAddress m);
20 void setSourcePortStart(short p);
22 void setSourcePortEnd(short p);
24 void setDestinationPortStart(short p);
26 void setDestinationPortEnd(short p);
28 void setClassifierID(short p);
38 void setActivationState(byte s);
43 * 0x01 Replace classifier
44 * 0x02 Delete classifier
50 void setAction(byte a);
52 InetAddress getIPSourceMask();
54 InetAddress getIPDestinationMask();
56 short getSourcePortStart();
58 short getSourcePortEnd();
60 short getDestinationPortStart();
62 short getDestinationPortEnd();
64 short getClassifierID();
66 byte getActivationState();