|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gremwell.jnetbridge.PcapUtils
public class PcapUtils
Constructor Summary | |
---|---|
PcapUtils()
|
Method Summary | |
---|---|
static java.util.List<org.jnetpcap.PcapIf> |
getAllPcapDevices(boolean rescan)
This function returns a list of all available PcapIf s. |
static java.util.List<org.jnetpcap.PcapIf> |
getPcapDevices(boolean rescan,
int dlt)
This function returns a list of PcapIf s with certain
DLT. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PcapUtils()
Method Detail |
---|
public static java.util.List<org.jnetpcap.PcapIf> getAllPcapDevices(boolean rescan) throws PcapException
PcapIf
s.
rescan
-
PcapException
public static java.util.List<org.jnetpcap.PcapIf> getPcapDevices(boolean rescan, int dlt) throws PcapException
PcapIf
s with certain
DLT.
rescan
- If true, don't use cached datadlt
- DLT constant, for example PcapDLT.CONST_EN10MB
PcapException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |