@Override public void funnel(OFBsnTlvQueueWeightVer13 message, PrimitiveSink sink) { // fixed value property type = 0x15 sink.putShort((short) 0x15); // fixed value property length = 8 sink.putShort((short) 0x8); sink.putLong(message.value); }
@Override public void funnel(OFBsnTlvIcmpTypeVer14 message, PrimitiveSink sink) { // fixed value property type = 0x44 sink.putShort((short) 0x44); // fixed value property length = 5 sink.putShort((short) 0x5); sink.putShort(message.value); }
@Override public void funnel(OFActionCopyTtlInVer11 message, PrimitiveSink sink) { // fixed value property type = 12 sink.putShort((short) 0xc); // fixed value property length = 8 sink.putShort((short) 0x8); // skip pad (4 bytes) }
@Override public void funnel(OFBsnTlvActorSystemMacVer14 message, PrimitiveSink sink) { // fixed value property type = 0x29 sink.putShort((short) 0x29); // fixed value property length = 10 sink.putShort((short) 0xa); message.value.putTo(sink); }
@Override public void funnel(OFActionSetNwDstVer11 message, PrimitiveSink sink) { // fixed value property type = 6 sink.putShort((short) 0x6); // fixed value property length = 8 sink.putShort((short) 0x8); message.nwAddr.putTo(sink); }
@Override public void funnel(OFBsnTlvStatusVer13 message, PrimitiveSink sink) { // fixed value property type = 0x61 sink.putShort((short) 0x61); // fixed value property length = 5 sink.putShort((short) 0x5); OFBsnStatusSerializerVer13.putTo(message.value, sink); }
@Override public void funnel(OFBsnTlvMissPacketsVer13 message, PrimitiveSink sink) { // fixed value property type = 0xd sink.putShort((short) 0xd); // fixed value property length = 12 sink.putShort((short) 0xc); message.value.putTo(sink); }
@Override public void funnel(OFActionSetDlSrcVer10 message, PrimitiveSink sink) { // fixed value property type = 4 sink.putShort((short) 0x4); // fixed value property length = 16 sink.putShort((short) 0x10); message.dlAddr.putTo(sink); // skip pad (6 bytes) }
@Override public void funnel(OFInstructionIdBsnRequireVlanXlateVer13 message, PrimitiveSink sink) { // fixed value property type = 65535 sink.putShort((short) 0xffff); // fixed value property length = 12 sink.putShort((short) 0xc); // fixed value property experimenter = 0x5c16c7L sink.putInt(0x5c16c7); // fixed value property subtype = 0x8L sink.putInt(0x8); }
@Override public void funnel(OFInstructionIdBsnDisableL3Ver14 message, PrimitiveSink sink) { // fixed value property type = 65535 sink.putShort((short) 0xffff); // fixed value property length = 12 sink.putShort((short) 0xc); // fixed value property experimenter = 0x5c16c7L sink.putInt(0x5c16c7); // fixed value property subtype = 0xdL sink.putInt(0xd); }
@Override public void funnel(OFMeterFeaturesStatsReplyVer14 message, PrimitiveSink sink) { // fixed value property version = 5 sink.putByte((byte) 0x5); // fixed value property type = 19 sink.putByte((byte) 0x13); // fixed value property length = 32 sink.putShort((short) 0x20); sink.putLong(message.xid); // fixed value property statsType = 11 sink.putShort((short) 0xb); OFStatsReplyFlagsSerializerVer14.putTo(message.flags, sink); // skip pad (4 bytes) message.features.putTo(sink); }
@Override public void funnel(OFPortStatsRequestVer13 message, PrimitiveSink sink) { // fixed value property version = 4 sink.putByte((byte) 0x4); // fixed value property type = 18 sink.putByte((byte) 0x12); // fixed value property length = 24 sink.putShort((short) 0x18); sink.putLong(message.xid); // fixed value property statsType = 4 sink.putShort((short) 0x4); OFStatsRequestFlagsSerializerVer13.putTo(message.flags, sink); // skip pad (4 bytes) message.portNo.putTo(sink); // skip pad (4 bytes) }
@Override public void funnel(OFMatchV3Ver14 message, PrimitiveSink sink) { // fixed value property type = 0x1 sink.putShort((short) 0x1); // FIXME: skip funnel of length message.oxmList.putTo(sink); }
@Override public void funnel(OFActionSetFieldVer12 message, PrimitiveSink sink) { // fixed value property type = 25 sink.putShort((short) 0x19); // FIXME: skip funnel of length message.field.putTo(sink); }
@Override public void funnel(OFBsnSetMirroringVer14 message, PrimitiveSink sink) { // fixed value property version = 5 sink.putByte((byte) 0x5); // fixed value property type = 4 sink.putByte((byte) 0x4); // fixed value property length = 20 sink.putShort((short) 0x14); sink.putLong(message.xid); // fixed value property experimenter = 0x5c16c7L sink.putInt(0x5c16c7); // fixed value property subtype = 0x3L sink.putInt(0x3); sink.putShort(message.reportMirrorPorts); // skip pad (3 bytes) }
/** @inheritDoc */ @Override public PrimitiveSink putShort(final short theShort) { for (PrimitiveSink aSink : this) { aSink.putShort(theShort); } return this; }
@Override public void funnel(OFBsnGentableDescStatsRequestVer13 message, PrimitiveSink sink) { // fixed value property version = 4 sink.putByte((byte) 0x4); // fixed value property type = 18 sink.putByte((byte) 0x12); // fixed value property length = 24 sink.putShort((short) 0x18); sink.putLong(message.xid); // fixed value property statsType = 65535 sink.putShort((short) 0xffff); OFStatsRequestFlagsSerializerVer13.putTo(message.flags, sink); // skip pad (4 bytes) // fixed value property experimenter = 0x5c16c7L sink.putInt(0x5c16c7); // fixed value property subtype = 0x4L sink.putInt(0x4); }
@Override public void funnel(OFBsnImageDescStatsReplyVer14 message, PrimitiveSink sink) { // fixed value property version = 5 sink.putByte((byte) 0x5); // fixed value property type = 19 sink.putByte((byte) 0x13); // fixed value property length = 536 sink.putShort((short) 0x218); sink.putLong(message.xid); // fixed value property statsType = 65535 sink.putShort((short) 0xffff); OFStatsReplyFlagsSerializerVer14.putTo(message.flags, sink); // skip pad (4 bytes) // fixed value property experimenter = 0x5c16c7L sink.putInt(0x5c16c7); // fixed value property subtype = 0xeL sink.putInt(0xe); sink.putUnencodedChars(message.imageChecksum); sink.putUnencodedChars(message.startupConfigChecksum); }
@Override public void funnel(OFFlowModFailedErrorMsgVer10 message, PrimitiveSink sink) { // fixed value property version = 1 sink.putByte((byte) 0x1); // fixed value property type = 1 sink.putByte((byte) 0x1); // FIXME: skip funnel of length sink.putLong(message.xid); // fixed value property errType = 3 sink.putShort((short) 0x3); OFFlowModFailedCodeSerializerVer10.putTo(message.code, sink); message.data.putTo(sink); }
@Override public void funnel(OFQueueOpFailedErrorMsgVer13 message, PrimitiveSink sink) { // fixed value property version = 4 sink.putByte((byte) 0x4); // fixed value property type = 1 sink.putByte((byte) 0x1); // FIXME: skip funnel of length sink.putLong(message.xid); // fixed value property errType = 9 sink.putShort((short) 0x9); OFQueueOpFailedCodeSerializerVer13.putTo(message.code, sink); sink.putBytes(message.data); }
@Override public void funnel(OFBadPropertyErrorMsgVer14 message, PrimitiveSink sink) { // fixed value property version = 5 sink.putByte((byte) 0x5); // fixed value property type = 1 sink.putByte((byte) 0x1); // FIXME: skip funnel of length sink.putLong(message.xid); // fixed value property errType = 14 sink.putShort((short) 0xe); OFBadPropertyCodeSerializerVer14.putTo(message.code, sink); message.data.putTo(sink); }
@Override public void funnel(OFMeterStatsReplyVer14 message, PrimitiveSink sink) { // fixed value property version = 5 sink.putByte((byte) 0x5); // fixed value property type = 19 sink.putByte((byte) 0x13); // FIXME: skip funnel of length sink.putLong(message.xid); // fixed value property statsType = 9 sink.putShort((short) 0x9); OFStatsReplyFlagsSerializerVer14.putTo(message.flags, sink); // skip pad (4 bytes) FunnelUtils.putList(message.entries, sink); }
@Override public void funnel(OFBsnBwEnableSetRequestVer11 message, PrimitiveSink sink) { // fixed value property version = 2 sink.putByte((byte) 0x2); // fixed value property type = 4 sink.putByte((byte) 0x4); // fixed value property length = 20 sink.putShort((short) 0x14); sink.putLong(message.xid); // fixed value property experimenter = 0x5c16c7L sink.putInt(0x5c16c7); // fixed value property subtype = 0x12L sink.putInt(0x12); sink.putLong(message.enable); }
@Override public void funnel(OFGroupFeaturesStatsReplyVer12 message, PrimitiveSink sink) { // fixed value property version = 3 sink.putByte((byte) 0x3); // fixed value property type = 19 sink.putByte((byte) 0x13); // fixed value property length = 56 sink.putShort((short) 0x38); sink.putLong(message.xid); // fixed value property statsType = 8 sink.putShort((short) 0x8); OFStatsReplyFlagsSerializerVer12.putTo(message.flags, sink); // skip pad (4 bytes) sink.putLong(message.types); sink.putLong(message.capabilities); sink.putLong(message.maxGroupsAll); sink.putLong(message.maxGroupsSelect); sink.putLong(message.maxGroupsIndirect); sink.putLong(message.maxGroupsFf); sink.putLong(message.actionsAll); sink.putLong(message.actionsSelect); sink.putLong(message.actionsIndirect); sink.putLong(message.actionsFf); }
@Override public void funnel(OFBsnSetLacpReplyVer14 message, PrimitiveSink sink) { // fixed value property version = 5 sink.putByte((byte) 0x5); // fixed value property type = 4 sink.putByte((byte) 0x4); // fixed value property length = 24 sink.putShort((short) 0x18); sink.putLong(message.xid); // fixed value property experimenter = 0x5c16c7L sink.putInt(0x5c16c7); // fixed value property subtype = 0x2aL sink.putInt(0x2a); sink.putLong(message.status); message.portNo.putTo(sink); }
@Override public void funnel(OFBsnGentableBucketStatsReplyVer13 message, PrimitiveSink sink) { // fixed value property version = 4 sink.putByte((byte) 0x4); // fixed value property type = 19 sink.putByte((byte) 0x13); // FIXME: skip funnel of length sink.putLong(message.xid); // fixed value property statsType = 65535 sink.putShort((short) 0xffff); OFStatsReplyFlagsSerializerVer13.putTo(message.flags, sink); // skip pad (4 bytes) // fixed value property experimenter = 0x5c16c7L sink.putInt(0x5c16c7); // fixed value property subtype = 0x5L sink.putInt(0x5); FunnelUtils.putList(message.entries, sink); }
@Override public void funnel(OFBsnPduTxRequestVer10 message, PrimitiveSink sink) { // fixed value property version = 1 sink.putByte((byte) 0x1); // fixed value property type = 4 sink.putByte((byte) 0x4); // FIXME: skip funnel of length sink.putLong(message.xid); // fixed value property experimenter = 0x5c16c7L sink.putInt(0x5c16c7); // fixed value property subtype = 0x1fL sink.putInt(0x1f); sink.putLong(message.txIntervalMs); message.portNo.putTo(sink); sink.putShort(message.slotNum); // skip pad (3 bytes) sink.putBytes(message.data); }
@Override public void funnel(OFBsnSetPktinSuppressionRequestVer12 message, PrimitiveSink sink) { // fixed value property version = 3 sink.putByte((byte) 0x3); // fixed value property type = 4 sink.putByte((byte) 0x4); // fixed value property length = 32 sink.putShort((short) 0x20); sink.putLong(message.xid); // fixed value property experimenter = 0x5c16c7L sink.putInt(0x5c16c7); // fixed value property subtype = 0xbL sink.putInt(0xb); sink.putBoolean(message.enabled); // skip pad (1 bytes) sink.putInt(message.idleTimeout); sink.putInt(message.hardTimeout); sink.putInt(message.priority); message.cookie.putTo(sink); }
public static void putTo(OFQueueOpFailedCode e, PrimitiveSink sink) { sink.putShort(toWireValue(e)); }
@Override public void putTo(PrimitiveSink sink) { sink.putShort(proto); }