- getBits(byte[], int, int) - Static method in class org.opendaylight.controller.liblldp.BitBufferHelper
-
Reads the specified number of bits from the passed byte array
starting to read from the specified offset
The bits read are stored in a byte array which size is dictated
by the number of bits to be stored.
- getBroadcastMACAddr() - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Returns Broadcast MAC Address
- getByte(byte[]) - Static method in class org.opendaylight.controller.liblldp.BitBufferHelper
-
Returns the first byte from the byte array
- getChassisId() - Method in class org.opendaylight.controller.liblldp.LLDP
-
- getCustomString(byte[], int) - Static method in class org.opendaylight.controller.liblldp.LLDPTLV
-
Retrieves the custom string from the Custom TLV value which includes OUI,
subtype and custom string
- getCustomTLV(CustomTLVKey) - Method in class org.opendaylight.controller.liblldp.LLDP
-
- getCustomTlvList() - Method in class org.opendaylight.controller.liblldp.LLDP
-
- getDestinationMACAddress() - Method in class org.opendaylight.controller.liblldp.Ethernet
-
Gets the destination MAC address stored
- getEtherType() - Method in class org.opendaylight.controller.liblldp.Ethernet
-
Gets the etherType stored
- getEtherTypeName(int) - Static method in enum org.opendaylight.controller.liblldp.EtherTypes
-
- getEtherTypeName(short) - Static method in enum org.opendaylight.controller.liblldp.EtherTypes
-
- getEtherTypeName(byte) - Static method in enum org.opendaylight.controller.liblldp.EtherTypes
-
- getEtherTypeNumberInt(String) - Static method in enum org.opendaylight.controller.liblldp.EtherTypes
-
- getEtherTypeNumberShort(String) - Static method in enum org.opendaylight.controller.liblldp.EtherTypes
-
- getEtherTypesNameList() - Static method in enum org.opendaylight.controller.liblldp.EtherTypes
-
- getfieldnumBits(String) - Method in class org.opendaylight.controller.liblldp.LLDPTLV
-
- getfieldnumBits(String) - Method in class org.opendaylight.controller.liblldp.Packet
-
This method fetches the number of bits for header field specified by
'fieldname'.
- getfieldOffset(String) - Method in class org.opendaylight.controller.liblldp.Packet
-
This method fetches the start bit offset for header field specified by
'fieldname'.
- getHeaderSize() - Method in class org.opendaylight.controller.liblldp.Packet
-
Gets the header length in bits
- getHexStringValue(byte[], int) - Static method in class org.opendaylight.controller.liblldp.LLDPTLV
-
Retrieves the string from TLV value and returns it in HexString format
- gethighestIP(boolean) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Returns the highest v4 or v6 InetAddress
- getInetAddress(int) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Converts an IP address passed as integer value into the respective
InetAddress object
- getInetNetworkMask(int, boolean) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Return the InetAddress Network Mask given the length of the prefix bit
mask.
- getInt(byte[]) - Static method in class org.opendaylight.controller.liblldp.BitBufferHelper
-
Returns the int value for the byte array passed.
- getInt(byte[], int) - Static method in class org.opendaylight.controller.liblldp.BitBufferHelper
-
Returns the int value for the last numBits of the byte array passed.
- getLength() - Method in class org.opendaylight.controller.liblldp.LLDPTLV
-
- getLong(byte[]) - Static method in class org.opendaylight.controller.liblldp.BitBufferHelper
-
Returns the long value for the byte array passed.
- getLong(byte[], int) - Static method in class org.opendaylight.controller.liblldp.BitBufferHelper
-
Returns the long value for the last numBits of the byte array passed.
- getLSBMask(int) - Static method in class org.opendaylight.controller.liblldp.BitBufferHelper
-
Returns numBits 1's in the LSB position
- getMacAddress() - Method in class org.opendaylight.controller.liblldp.EthernetAddress
-
- getMSBMask(int) - Static method in class org.opendaylight.controller.liblldp.BitBufferHelper
-
Returns numBits 1's in the MSB position
- getName() - Method in class org.opendaylight.controller.liblldp.DataLinkAddress
-
Allow to distinguish among different data link addresses
- getOptionalTLVList() - Method in class org.opendaylight.controller.liblldp.LLDP
-
- getOui() - Method in class org.opendaylight.controller.liblldp.CustomTLVKey
-
- getParent() - Method in class org.opendaylight.controller.liblldp.Packet
-
- getPayload() - Method in class org.opendaylight.controller.liblldp.Packet
-
- getPortId() - Method in class org.opendaylight.controller.liblldp.LLDP
-
- getRawPayload() - Method in class org.opendaylight.controller.liblldp.Packet
-
Returns the raw payload carried by this packet in case payload was not
parsed.
- getShort(byte[]) - Static method in class org.opendaylight.controller.liblldp.BitBufferHelper
-
Returns the short value for the byte array passed.
- getShort(byte[], int) - Static method in class org.opendaylight.controller.liblldp.BitBufferHelper
-
Returns the short value for the last numBits of the byte array passed.
- getSourceMACAddress() - Method in class org.opendaylight.controller.liblldp.Ethernet
-
Gets the source MAC address stored
- getStringValue(byte[], int) - Static method in class org.opendaylight.controller.liblldp.LLDPTLV
-
Retrieves the string from TLV value
- getSubnetMaskLength(byte[]) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Returns the prefix size in bits of the specified subnet mask.
- getSubnetMaskLength(InetAddress) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Returns the prefix size in bits of the specified subnet mask.
- getSubnetPrefix(InetAddress, int) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Given an IP address and a prefix network mask length, it returns the
equivalent subnet prefix IP address Example: for ip = "172.28.30.254" and
maskLen = 25 it will return "172.28.30.128"
- getSubtype() - Method in class org.opendaylight.controller.liblldp.CustomTLVKey
-
- getSystemNameId() - Method in class org.opendaylight.controller.liblldp.LLDP
-
- getTLV(String) - Method in class org.opendaylight.controller.liblldp.LLDP
-
- getTLVSize() - Method in class org.opendaylight.controller.liblldp.LLDPTLV
-
Returns the size in bits of the whole TLV
- getTtl() - Method in class org.opendaylight.controller.liblldp.LLDP
-
- getType() - Method in class org.opendaylight.controller.liblldp.LLDPTLV
-
- getUnsignedByte(byte) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Returns the unsigned value of the passed byte variable
- getUnsignedShort(short) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Return the unsigned value of the passed short variable
- getValue() - Method in class org.opendaylight.controller.liblldp.EthernetAddress
-
Return the Ethernet Mac address in byte array format
- getValue() - Method in class org.opendaylight.controller.liblldp.LLDPTLV
-
- getValue() - Method in enum org.opendaylight.controller.liblldp.LLDPTLV.TLVType
-
- inetAddressConflict(InetAddress, InetAddress, InetAddress, InetAddress) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Checks if the test address and mask conflicts with the filter address and
mask
For example:
testAddress: 172.28.2.23
testMask: 255.255.255.0
filterAddress: 172.28.1.10
testMask: 255.255.255.0
do conflict
testAddress: 172.28.2.23
testMask: 255.255.255.0
filterAddress: 172.28.1.10
testMask: 255.255.0.0
do not conflict
Null parameters are permitted
- insertBits(byte[], byte[], int, int) - Static method in class org.opendaylight.controller.liblldp.BitBufferHelper
-
Insert in the data buffer at position dictated by the offset the number
of bits specified from the input data byte array.
- intToByteArray4(int) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Converts an integer number into a 4 bytes array
- intValue() - Method in enum org.opendaylight.controller.liblldp.EtherTypes
-
- INVALIDHOST - Static variable in class org.opendaylight.controller.liblldp.EthernetAddress
-
- isAny(InetAddress) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Returns true if the passed InetAddress contains all zero
- isBroadcast() - Method in class org.opendaylight.controller.liblldp.Ethernet
-
- isBroadcastMACAddr(byte[]) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Returns true if the MAC address is the broadcast MAC address and false
otherwise.
- isCorrupted() - Method in class org.opendaylight.controller.liblldp.Packet
-
Return whether the deserialized packet is to be considered corrupted.
- isIPAddressValid(String) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Checks if the passed IP address in string form is a valid v4 or v6
address.
- isIPv4AddressValid(String) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Checks if the passed IP v4 address in string form is valid The address
may specify a mask at the end as "/MM"
- isIPv6AddressValid(String) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Checks if the passed IP v6 address in string form is valid The address
may specify a mask at the end as "/MMM"
- isMulticast() - Method in class org.opendaylight.controller.liblldp.Ethernet
-
- isMulticastMACAddr(byte[]) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Returns true if the MAC address is a multicast MAC address and false
otherwise.
- isUnicastMACAddr(byte[]) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Returns true if the MAC address is a unicast MAC address and false
otherwise.
- isZeroMAC(byte[]) - Static method in class org.opendaylight.controller.liblldp.NetUtils
-
Returns true if the passed MAC address is all zero