Class OxmDeserializerHelper
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.deserialization.match.OxmDeserializerHelper
Utilities for Oxm deserialization.
- Author:
- michal.polkorab
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress
convertMacAddress
(io.netty.buffer.ByteBuf input) Converts binary data into mac address.static byte[]
convertMask
(io.netty.buffer.ByteBuf input, int matchEntryLength) Converts binary data into binary mask (for match entries).
-
Method Details
-
convertMask
public static byte[] convertMask(io.netty.buffer.ByteBuf input, int matchEntryLength) Converts binary data into binary mask (for match entries).- Parameters:
input
- input ByteBufmatchEntryLength
- mask length- Returns:
- binary mask
-
convertMacAddress
public static org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress convertMacAddress(io.netty.buffer.ByteBuf input) Converts binary data into mac address.- Parameters:
input
- input ByteBuf- Returns:
- mac address
-