network/stack: Get rid of socket_readv and socket_writev.
These have not been used in years (maybe since the redesign of the network stack?). Only socket_writev had an implementation, which was mostly just an incomplete version of socket_send. Scatter/gather I/O is already supported via msghdr's msg_iov/len fields, so this is redundant anyway. Change-Id: If41c4f4ee021856f6db49c7cb95422a9c1aa7700 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7127 Reviewed-by: waddlesplash <[email protected]> Tested-by: Commit checker robot <[email protected]> Reviewed-by: Adrien Destugues <[email protected]> Reviewed-by: Jérôme Duval <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
9d972e321d
commit
459fa41f17
@@ -52,10 +52,6 @@ struct net_socket_module_info {
|
||||
status_t (*close)(net_socket* socket);
|
||||
void (*free)(net_socket* socket);
|
||||
|
||||
status_t (*readv)(net_socket* socket, const iovec* vecs,
|
||||
size_t vecCount, size_t* _length);
|
||||
status_t (*writev)(net_socket* socket, const iovec* vecs,
|
||||
size_t vecCount, size_t* _length);
|
||||
status_t (*control)(net_socket* socket, uint32 op, void* data,
|
||||
size_t length);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user