Package | Description |
---|---|
org.pcap4j.core | |
org.pcap4j.packet.namednumber |
Modifier and Type | Method and Description |
---|---|
static DataLinkType |
Pcaps.dataLinkNameToVal(String name) |
DataLinkType |
PcapHandle.getDlt() |
Modifier and Type | Method and Description |
---|---|
List<DataLinkType> |
PcapHandle.listDatalinks() |
Modifier and Type | Method and Description |
---|---|
static BpfProgram |
Pcaps.compileFilter(int snaplen,
DataLinkType dlt,
String bpfExpression,
BpfProgram.BpfCompileMode mode,
Inet4Address netmask) |
static String |
Pcaps.dataLinkTypeToDescription(DataLinkType dlt) |
static String |
Pcaps.dataLinkTypeToName(DataLinkType dlt) |
static PcapHandle |
Pcaps.openDead(DataLinkType dlt,
int snaplen) |
static PcapHandle |
Pcaps.openDead(DataLinkType dlt,
int snaplen,
PcapHandle.TimestampPrecision precision) |
void |
PcapHandle.setDlt(DataLinkType dlt) |
Modifier and Type | Field and Description |
---|---|
static DataLinkType |
DataLinkType.DOCSIS
DOCSIS MAC frames: 143
|
static DataLinkType |
DataLinkType.EN10MB
Ethernet (10Mb, 100Mb, 1000Mb, and up): 1
|
static DataLinkType |
DataLinkType.FDDI
FDDI: 10
|
static DataLinkType |
DataLinkType.IEEE802
802.5 Token Ring: 6
|
static DataLinkType |
DataLinkType.IEEE802_11
IEEE 802.11 wireless: 105
|
static DataLinkType |
DataLinkType.LINUX_SLL
Linux cooked-mode capture (SLL): 113
|
static DataLinkType |
DataLinkType.NULL
Null (BSD loopback encapsulation): 0
|
static DataLinkType |
DataLinkType.PPP
Point-to-point Protocol: 9
|
static DataLinkType |
DataLinkType.PPP_SERIAL
PPP over serial with HDLC encapsulation: 50
|
static DataLinkType |
DataLinkType.RAW
RAW IP packet: 14 on OpenBSD, or 12 on the others.
|
Modifier and Type | Method and Description |
---|---|
static DataLinkType |
DataLinkType.getInstance(Integer value) |
static DataLinkType |
DataLinkType.register(DataLinkType type) |
Modifier and Type | Method and Description |
---|---|
int |
DataLinkType.compareTo(DataLinkType o) |
static DataLinkType |
DataLinkType.register(DataLinkType type) |
Copyright © 2011–2016 Pcap4J.org. All rights reserved.