| Package | Description |
|---|---|
| org.onlab.packet |
Utilities for decoding and encoding packets of various network protocols
and encapsulations.
|
| Modifier and Type | Method and Description |
|---|---|
TCP |
TCP.setAcknowledge(int ack)
Sets acknowledge number.
|
TCP |
TCP.setChecksum(short checksum)
Sets checksum.
|
TCP |
TCP.setDataOffset(byte offset)
Sets offset.
|
TCP |
TCP.setDestinationPort(int destinationPort)
Sets TCP destination port.
|
TCP |
TCP.setFlags(short flags)
Sets TCP flags.
|
TCP |
TCP.setOptions(byte[] options)
Sets TCP options.
|
TCP |
TCP.setSequence(int seq)
Sets sequence number.
|
TCP |
TCP.setSourcePort(int sourcePort)
Sets TCP source port.
|
TCP |
TCP.setUrgentPointer(short urgentPointer)
Sets urgent pointer.
|
TCP |
TCP.setWindowSize(short windowSize)
Sets TCP window size.
|
| Modifier and Type | Method and Description |
|---|---|
static Deserializer<TCP> |
TCP.deserializer()
Deserializer function for TCP packets.
|
Copyright © 2016. All rights reserved.