X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fcommons%2Fliblldp%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fliblldp%2FPacket.java;h=8a4fa36970a4faaa6fd6b4175fd66e6d6f28bacb;hp=2af185221ce7916e9f57a0936055268483cda2fd;hb=a81d98f692b80c45bce3fe6a87e731abfb012a9f;hpb=961b5b9260565194a863a25bd697f171ec2405af diff --git a/opendaylight/commons/liblldp/src/main/java/org/opendaylight/controller/liblldp/Packet.java b/opendaylight/commons/liblldp/src/main/java/org/opendaylight/controller/liblldp/Packet.java index 2af185221c..8a4fa36970 100644 --- a/opendaylight/commons/liblldp/src/main/java/org/opendaylight/controller/liblldp/Packet.java +++ b/opendaylight/commons/liblldp/src/main/java/org/opendaylight/controller/liblldp/Packet.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2014 Cisco Systems, Inc. and others. All rights reserved. + * Copyright (c) 2013, 2015 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, @@ -76,10 +76,10 @@ public abstract class Packet { * This method deserializes the data bits obtained from the wire into the * respective header and payload which are of type Packet * - * @param byte[] data - data from wire to deserialize - * @param int bitOffset bit position where packet header starts in data + * @param data - data from wire to deserialize + * @param bitOffset bit position where packet header starts in data * array - * @param int size of packet in bits + * @param size size of packet in bits * @return Packet * @throws PacketException */ @@ -205,7 +205,7 @@ public abstract class Packet { * normal Packet.serialize() path. An example is the checksum computation * for IPv4 * - * @param byte[] - serialized bytes + * @param myBytes serialized bytes * @throws PacketException */ protected void postSerializeCustomOperation(byte[] myBytes) @@ -220,8 +220,8 @@ public abstract class Packet { * Currently only IPv4 and ICMP do checksum computation and validation. TCP * and UDP need to implement these if required. * - * @param byte[] data The byte stream representing the Ethernet frame - * @param int startBitOffset The bit offset from where the byte array corresponding to this Packet starts in the frame + * @param data The byte stream representing the Ethernet frame + * @param startBitOffset The bit offset from where the byte array corresponding to this Packet starts in the frame * @throws PacketException */ protected void postDeserializeCustomOperation(byte[] data, int startBitOffset) @@ -255,8 +255,6 @@ public abstract class Packet { * 'fieldname'. The offset is present in the hdrFieldCoordMap of the * respective packet class * - * @param String - * fieldName * @return Integer - startOffset of the requested field */ public int getfieldOffset(String fieldName) { @@ -268,8 +266,6 @@ public abstract class Packet { * 'fieldname'. The numBits are present in the hdrFieldCoordMap of the * respective packet class * - * @param String - * fieldName * @return Integer - number of bits of the requested field */ public int getfieldnumBits(String fieldName) {