public class Tcp extends Object implements Protocol
Tcp.Builder
(mutable).
Includes support for the following OpenFlow match fields:
Modifier and Type | Class and Description |
---|---|
static class |
Tcp.Builder
Builder (mutable) used to create new protocol instances.
|
Modifier and Type | Method and Description |
---|---|
long |
ackNum()
Returns the acknowledgment number.
|
int |
checkSum()
Returns the decoded checksum.
|
TcpUdpPort |
dstPort()
Returns the destination port.
|
int |
flags()
Returns the flag bits.
|
int |
hdrLen()
Returns the decoded header length.
|
ProtocolId |
id()
Returns the protocol ID.
|
byte[] |
options()
Returns a copy of the options byte array.
|
long |
seqNum()
Returns the sequence number.
|
TcpUdpPort |
srcPort()
Returns the source port.
|
String |
toDebugString()
Returns the protocol debug string.
|
String |
toString() |
int |
urgentPtr()
Returns the urgent pointer.
|
int |
winSize()
Returns the window size.
|
public ProtocolId id()
Protocol
public TcpUdpPort dstPort()
public TcpUdpPort srcPort()
public long seqNum()
public long ackNum()
public int hdrLen()
public int flags()
public int winSize()
public int checkSum()
public int urgentPtr()
public byte[] options()
public String toDebugString()
Protocol
toDebugString
in interface Protocol
Copyright © 2016. All Rights Reserved.