2 * Copyright 2006, Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
11 #include <sys/socket.h>
14 #define NET_STAT_SOCKET 1
15 #define NET_STAT_PROTOCOL 2
18 typedef struct net_stat
{
22 char state
[B_OS_NAME_LENGTH
];
24 struct sockaddr_storage address
;
25 struct sockaddr_storage peer
;
26 size_t receive_queue_size
;
27 size_t send_queue_size
;