public final class ArpPacketUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static byte[] |
BROADCAST_MAC |
protected static byte[] |
ETHERNET_BROADCAST_DESTINATION |
| Modifier and Type | Method and Description |
|---|---|
static ARP |
createARPPacket(short opCode,
byte[] senderMacAddress,
byte[] senderIP,
byte[] targetMacAddress,
byte[] targetIP) |
static Ethernet |
createEthernetPacket(byte[] sourceMAC,
byte[] targetMAC,
ARP arp) |
static byte[] |
getPayload(short opCode,
byte[] senderMacAddress,
byte[] senderIP,
byte[] targetMacAddress,
byte[] targetIP) |
protected static final byte[] ETHERNET_BROADCAST_DESTINATION
protected static final byte[] BROADCAST_MAC
public static byte[] getPayload(short opCode,
byte[] senderMacAddress,
byte[] senderIP,
byte[] targetMacAddress,
byte[] targetIP)
throws org.opendaylight.controller.liblldp.PacketException
org.opendaylight.controller.liblldp.PacketExceptionpublic static ARP createARPPacket(short opCode, byte[] senderMacAddress, byte[] senderIP, byte[] targetMacAddress, byte[] targetIP)
Copyright © 2018 OpenDaylight. All rights reserved.