* 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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user