Class TCPEDO
The TCP Edo option
Class TCPEDO
TCPEDO:length ([length]) | Get/Set the Length field in the edo option |
TCPEDO:headerlength () | Get the Header Length field in the edo option |
TCPEDO:segmentlength () | Get the Segment Length field in the edo option |
TCPEDO.EDOREQUEST | The edo request, 2 bytes long, to be used in the SYN(+ACK) negociation |
TCPEDO.EDO | The edo option, 4 bytes long, containing the header length field |
TCPEDO.EDOEXT | The edo option, 6 bytes long, containing the header length and segment length fields |
TCPEDO:new ([length]) | Create a new EDO Option |
Class TCPEDO
The TCP EDO Option
- TCPEDO:length ([length])
-
Get/Set the Length field in the edo option
Parameters:
- length num (optional)
Returns:
-
num
length
- TCPEDO:headerlength ()
-
Get the Header Length field in the edo option
Returns:
-
num
length The 'real' number of internet words of the TCP header
- TCPEDO:segmentlength ()
-
Get the Segment Length field in the edo option
Returns:
-
num
length number of bytes in the TCP segment
- TCPEDO.EDOREQUEST
-
The edo request, 2 bytes long, to be used in the SYN(+ACK) negociation
- EDOREQUEST num
- TCPEDO.EDO
-
The edo option, 4 bytes long, containing the header length field
- EDO num
- TCPEDO.EDOEXT
-
The edo option, 6 bytes long, containing the header length and segment length fields
- EDOEXT num
- TCPEDO:new ([length])
-
Create a new EDO Option
Parameters:
- length num the size of the EDO option, use one of the constants defined as field in this class: EDOREQUEST, EDO, EDOEXT (optional)
Returns: