Package | Description |
---|---|
org.opendaylight.vtn.manager.internal.packet.cache | |
org.opendaylight.vtn.manager.packet |
Modifier and Type | Method and Description |
---|---|
IPv4 |
Inet4Packet.getPacket()
Return an
IPv4 instance configured in this instance. |
Constructor and Description |
---|
Inet4Packet(IPv4 ipv4)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
IPv4 |
IPv4.clone()
Return a deep copy of this packet.
|
IPv4 |
IPv4.setChecksum(short cksum)
Set the IP checksum value.
|
IPv4 |
IPv4.setDestinationAddress(Ip4Network addr)
Stores the IP destination address from the header.
|
IPv4 |
IPv4.setDiffServ(byte dserv)
Stores the differential services value from the IP header.
|
IPv4 |
IPv4.setECN(byte ecn)
Stores the ECN bits from the header.
|
IPv4 |
IPv4.setFlags(byte flags)
Stores the IP flags value.
|
IPv4 |
IPv4.setFragmentOffset(short off)
Stores the IP fragmentation offset value.
|
IPv4 |
IPv4.setHeaderLength(byte len)
Stores the length of IP header in words (4 bytes).
|
IPv4 |
IPv4.setIdentification(short id)
Stores the identification number from the header.
|
IPv4 |
IPv4.setOptions(byte[] options)
Store the options from IP header.
|
IPv4 |
IPv4.setProtocol(byte proto)
Stores the protocol value of the IP payload.
|
IPv4 |
IPv4.setSourceAddress(Ip4Network addr)
Stores the IP source address from the header.
|
IPv4 |
IPv4.setTotalLength(short len)
Stores the total length of IPv4 packet in bytes.
|
IPv4 |
IPv4.setTtl(byte ttl)
Stores the TTL value.
|
IPv4 |
IPv4.setVersion(byte version)
Stores the IP version from the header.
|
Copyright © 2018 OpenDaylight. All rights reserved.