|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jnetstream.filter.bpf.BPFFilter<ProtocolFilterTarget>
org.jnetstream.filter.bpf.PcapFilter
org.jnetstream.filter.bpf.PcapDebugFilter
public class PcapDebugFilter
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.jnetstream.filter.bpf.BPFFilter |
|---|
BPFFilter.BPFProtocolFilter |
| Nested classes/interfaces inherited from interface org.jnetstream.filter.FilterExpression |
|---|
FilterExpression.FilterExpressionType |
| Nested classes/interfaces inherited from interface org.jnetstream.filter.Filter |
|---|
Filter.AND<T extends FilterTarget>, Filter.MAXIMUM<T extends FilterTarget>, Filter.MINIMUM<T extends FilterTarget>, Filter.NOT<T extends FilterTarget>, Filter.OR<T extends FilterTarget> |
| Field Summary | |
|---|---|
static java.lang.String |
TYPE
|
| Fields inherited from interface org.jnetstream.filter.Filter |
|---|
TRUE |
| Constructor Summary | |
|---|---|
PcapDebugFilter(java.lang.String tcpdumpOutput,
FilterTarget target)
|
|
| Method Summary | |
|---|---|
BPFProgram |
compile(FilterTarget target)
Compiles the current expression for target and returns the compiled result |
static BPFInstruction[] |
compileTcpdumpOutput(java.lang.String text)
Compiles a tcpdump/libpcap generated pseudo BPF code to binary form suitable for use with BPFProgram. |
| Methods inherited from class org.jnetstream.filter.bpf.PcapFilter |
|---|
getExpression, getExpressionType |
| Methods inherited from class org.jnetstream.filter.bpf.BPFFilter |
|---|
accept, execute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String TYPE
| Constructor Detail |
|---|
public PcapDebugFilter(java.lang.String tcpdumpOutput,
FilterTarget target)
throws IllegalInstructionException
IllegalInstructionException| Method Detail |
|---|
public static BPFInstruction[] compileTcpdumpOutput(java.lang.String text)
throws IllegalInstructionException
text - the textual pseudo code as generated by tcpdump/libpcap tools
IllegalInstructionException - if an unrecognized instruction is encountered
public BPFProgram compile(FilterTarget target)
throws FilterSyntaxError,
FilterNotFoundException
FilterExpression
compile in interface FilterExpression<BPFProgram>compile in class BPFFilter<ProtocolFilterTarget>target - target for which to compile the expression
FilterSyntaxError - any Syntax errors generated during the expression
FilterNotFoundException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||