TCP flags data structure.
More...
#include <inet.h>
|
struct { |
uint8_t FIN: 1 |
| No more data from sender. More...
|
|
uint8_t SYN: 1 |
| Synchronize sequence numbers. More...
|
|
uint8_t RST: 1 |
| Reset the connection. More...
|
|
uint8_t PSH: 1 |
| Push function. More...
|
|
uint8_t ACK: 1 |
| Indicates that the Acknowledgment field is significant. More...
|
|
uint8_t URG: 1 |
| Indicates that the Urgent pointer field is significant. More...
|
|
uint8_t ECE: 1 |
| ECN-Echo has a dual role, depending on the value of the SYN flag. More...
|
|
uint8_t CWR: 1 |
| Congestion Window Reduced (CWR) flag is set by the sending host to indicate that it received a TCP segment with the ECE flag set and had responded in congestion control mechanism (added to header by RFC 3168). More...
|
|
}; | |
|
uint8_t | raw |
| byte-wise access to all flags More...
|
|
TCP flags data structure.
Definition at line 328 of file inet.h.
Sets all flags to zero.
Definition at line 346 of file inet.h.
Indicates that the Acknowledgment field is significant.
All packets after the initial SYN packet sent by the client should have this flag set.
Definition at line 336 of file inet.h.
Congestion Window Reduced (CWR) flag is set by the sending host to indicate that it received a TCP segment with the ECE flag set and had responded in congestion control mechanism (added to header by RFC 3168).
Definition at line 339 of file inet.h.
ECN-Echo has a dual role, depending on the value of the SYN flag.
It indicates: If the SYN flag is set(1), that the TCP peer is ECN capable. If the SYN flag is clear(0), that a packet with Congestion Experienced flag in IP header set is received during normal transmission(added to header by RFC 3168).
Definition at line 338 of file inet.h.
No more data from sender.
Definition at line 332 of file inet.h.
Push function.
Asks to push the buffered data to the receiving application.
Definition at line 335 of file inet.h.
byte-wise access to all flags
Definition at line 341 of file inet.h.
Reset the connection.
Definition at line 334 of file inet.h.
Synchronize sequence numbers.
Only the first packet sent from each end should have this flag set. Some other flags and fields change meaning based on this flag, and some are only valid for when it is set, and others when it is clear.
Definition at line 333 of file inet.h.
Indicates that the Urgent pointer field is significant.
Definition at line 337 of file inet.h.
The documentation for this union was generated from the following file:
- /home/jander/temp/etherdune/inet.h