Class PacketUtil
- java.lang.Object
-
- org.opendaylight.genius.mdsalutil.packet.utils.PacketUtil
-
public final class PacketUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Integer
getEtherTypeFromPacket(byte[] packetData)
static boolean
isIpv4Packet(byte[] packetData)
static boolean
isIpv6NaPacket(byte[] packetData)
static boolean
isIpv6Packet(byte[] packetData)
-
-
-
Method Detail
-
getEtherTypeFromPacket
public static java.lang.Integer getEtherTypeFromPacket(byte[] packetData)
-
isIpv4Packet
public static boolean isIpv4Packet(byte[] packetData)
-
isIpv6Packet
public static boolean isIpv6Packet(byte[] packetData)
-
isIpv6NaPacket
public static boolean isIpv6NaPacket(byte[] packetData)
-
-