some internal reorganization of getsockopt()/setsockopt() handling. TCP is now able to fully use the application requested sender/receiver buffer sizes for improved performance.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20764 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -36,6 +36,10 @@ struct net_protocol_module_info {
|
||||
status_t (*accept)(net_protocol *self, struct net_socket **_acceptedSocket);
|
||||
status_t (*control)(net_protocol *self, int level, int option, void *value,
|
||||
size_t *_length);
|
||||
status_t (*getsockopt)(net_protocol *self, int level, int option,
|
||||
void *value, int *_length);
|
||||
status_t (*setsockopt)(net_protocol *self, int level, int option,
|
||||
const void *value, int length);
|
||||
|
||||
status_t (*bind)(net_protocol *self, struct sockaddr *address);
|
||||
status_t (*unbind)(net_protocol *self, struct sockaddr *address);
|
||||
|
||||
Reference in New Issue
Block a user