#include <tcp.h>
Public Member Functions | |
TCP_Segment () | |
ADD DOCUMENTATION HERE. | |
TCP_Segment (const Sequence_Number &sn_begin, const Sequence_Number &sn_end) | |
ADD DOCUMENTATION HERE. | |
TCP_Segment (const TCP_Segment &segment) | |
ADD DOCUMENTATION HERE. | |
TCP_Segment & | operator= (const TCP_Segment &segment) |
ADD DOCUMENTATION HERE. | |
void | set_begin (const Sequence_Number &sn) |
ADD DOCUMENTATION HERE. | |
void | set_end (const Sequence_Number &sn) |
ADD DOCUMENTATION HERE. | |
void | combine (const TCP_Segment &segment) |
ADD DOCUMENTATION HERE. | |
bool | operator== (const TCP_Segment &segment) const |
ADD DOCUMENTATION HERE. | |
bool | operator!= (const TCP_Segment &segment) const |
ADD DOCUMENTATION HERE. | |
bool | can_be_combined (const TCP_Segment &segment) const |
ADD DOCUMENTATION HERE. | |
bool | is_contained (const TCP_Segment &segment) const |
ADD DOCUMENTATION HERE. | |
unsigned | length () const |
ADD DOCUMENTATION HERE. | |
Sequence_Number | begin () const |
ADD DOCUMENTATION HERE. | |
Sequence_Number | end () const |
ADD DOCUMENTATION HERE. | |
Protected Attributes | |
Sequence_Number | seq_begin |
no. of first byte of segment | |
Sequence_Number | seq_end |
no. of last byte of segment + 1 | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const TCP_Segment &segment) |
ADD DOCUMENTATION HERE. |
TTCPPacket
TTCPReceiverBuffer