boot_net: Prepare socket-specific TCP window size
Pass the desired window size from the socket to the service. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38530 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -65,6 +65,7 @@ public:
|
||||
|
||||
ip_addr_t Address() const { return fAddress; }
|
||||
uint16 Port() const { return fPort; }
|
||||
uint16 WindowSize() const;
|
||||
|
||||
status_t Connect(ip_addr_t address, uint16 port);
|
||||
status_t Close();
|
||||
@@ -114,7 +115,8 @@ public:
|
||||
|
||||
status_t Send(uint16 sourcePort, ip_addr_t destinationAddress,
|
||||
uint16 destinationPort, uint32 sequenceNumber,
|
||||
uint32 acknowledgmentNumber, uint8 flags, ChainBuffer* buffer);
|
||||
uint32 acknowledgmentNumber, uint8 flags, uint16 windowSize,
|
||||
ChainBuffer* buffer);
|
||||
|
||||
void ProcessIncomingPackets();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user