Print this page
XXXX adding PID information to netstat output
*** 28,37 ****
--- 28,38 ----
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/socket.h>
+ #include <sys/pidnode.h>
/*
* Generation count
*/
typedef uint64_t sock_connid_t;
*** 198,207 ****
--- 199,209 ----
void (*su_txq_full)(sock_upper_handle_t, boolean_t);
void (*su_signal_oob)(sock_upper_handle_t, ssize_t);
void (*su_zcopy_notify)(sock_upper_handle_t);
void (*su_set_error)(sock_upper_handle_t, int);
void (*su_closed)(sock_upper_handle_t);
+ mblk_t *(*su_get_sock_pid_mblk)(sock_upper_handle_t);
};
#define SOCK_UC_VERSION sizeof (sock_upcalls_t)
#define SOCK_DC_VERSION sizeof (sock_downcalls_t)