* Moved some private members of net_socket into the new net_socket_private structure.

* Added an "owner" field that stores the team which created the socket (for netstat only);
  we would need a different storage for SIGURG if we ever want to support that.
* Improved netstat address output: now prints "*" instead of INADDR_ANY.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19562 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-12-19 03:01:18 +00:00
parent 5aee6a9ee1
commit 79608a2de7
4 changed files with 87 additions and 48 deletions
+1 -10
View File
@@ -35,17 +35,8 @@ typedef struct net_socket {
bigtime_t timeout;
} send, receive;
// TODO: could be moved into a private structure
struct net_socket *parent;
struct list_link link;
uint32 max_backlog;
uint32 child_count;
struct list pending_children;
struct list connected_children;
status_t error;
struct select_sync_pool *select_pool;
benaphore lock;
struct net_socket *parent;
} net_socket;
struct net_socket_module_info {