Package | Description |
---|---|
org.pcap4j.core | |
org.pcap4j.packet | |
org.pcap4j.util |
Modifier and Type | Method and Description |
---|---|
static String |
Pcaps.toBpfString(MacAddress macAddr) |
Modifier and Type | Method and Description |
---|---|
MacAddress |
EthernetPacket.EthernetHeader.getDstAddr() |
MacAddress |
ArpPacket.ArpHeader.getDstHardwareAddr() |
MacAddress |
IpV6NeighborDiscoveryTargetLinkLayerAddressOption.getLinkLayerAddressAsMacAddress() |
MacAddress |
IpV6NeighborDiscoverySourceLinkLayerAddressOption.getLinkLayerAddressAsMacAddress() |
MacAddress |
EthernetPacket.EthernetHeader.getSrcAddr() |
MacAddress |
ArpPacket.ArpHeader.getSrcHardwareAddr() |
Modifier and Type | Method and Description |
---|---|
EthernetPacket.Builder |
EthernetPacket.Builder.dstAddr(MacAddress dstAddr) |
ArpPacket.Builder |
ArpPacket.Builder.dstHardwareAddr(MacAddress dstHardwareAddr) |
EthernetPacket.Builder |
EthernetPacket.Builder.srcAddr(MacAddress srcAddr) |
ArpPacket.Builder |
ArpPacket.Builder.srcHardwareAddr(MacAddress srcHardwareAddr) |
Modifier and Type | Field and Description |
---|---|
static MacAddress |
MacAddress.ETHER_BROADCAST_ADDRESS |
Modifier and Type | Method and Description |
---|---|
static MacAddress |
MacAddress.getByAddress(byte[] address) |
static MacAddress |
MacAddress.getByName(String name) |
static MacAddress |
MacAddress.getByName(String name,
String separator) |
static MacAddress |
ByteArrays.getMacAddress(byte[] array,
int offset) |
static MacAddress |
ByteArrays.getMacAddress(byte[] array,
int offset,
ByteOrder bo) |
Modifier and Type | Method and Description |
---|---|
static byte[] |
ByteArrays.toByteArray(MacAddress value) |
static byte[] |
ByteArrays.toByteArray(MacAddress value,
ByteOrder bo) |
Copyright © 2011–2016 Pcap4J.org. All rights reserved.