Print this page
XXXX adding PID information to netstat output
@@ -161,10 +161,11 @@
extern void so_connected(sock_upper_handle_t, sock_connid_t, struct cred *,
pid_t);
extern int so_disconnected(sock_upper_handle_t, sock_connid_t, int);
extern void so_txq_full(sock_upper_handle_t, boolean_t);
extern void so_opctl(sock_upper_handle_t, sock_opctl_action_t, uintptr_t);
+extern mblk_t *so_get_sock_pid_mblk(sock_upper_handle_t);
/* Common misc. functions */
/* accept queue */
extern int so_acceptq_enqueue(struct sonode *, struct sonode *);
extern int so_acceptq_enqueue_locked(struct sonode *, struct sonode *);
@@ -231,10 +232,12 @@
extern int sonode_constructor(void *, void *, int);
extern void sonode_destructor(void *, void *);
extern void sonode_init(struct sonode *, struct sockparams *,
int, int, int, sonodeops_t *);
extern void sonode_fini(struct sonode *);
+extern void sonode_insert_pid(struct sonode *, pid_t);
+extern void sonode_remove_pid(struct sonode *, pid_t);
/*
* Event flags to socket_sendsig().
*/
#define SOCKETSIG_WRITE 0x1