added Recv-Q/Send-Q output to netstat.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20819 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -274,6 +274,8 @@ socket_get_next_stat(uint32 *_cookie, int family, struct net_stat *stat)
|
||||
stat->state[0] = '\0';
|
||||
memcpy(&stat->address, &socket->address, sizeof(struct sockaddr_storage));
|
||||
memcpy(&stat->peer, &socket->peer, sizeof(struct sockaddr_storage));
|
||||
stat->receive_queue_size = 0;
|
||||
stat->send_queue_size = 0;
|
||||
|
||||
// fill in protocol specific data (if supported by the protocol)
|
||||
size_t length = sizeof(net_stat);
|
||||
|
||||
Reference in New Issue
Block a user