so_notify_disconnected
extern void so_notify_disconnected(struct sonode *, boolean_t, int);
so_notify_disconnected(so, connect_failed, error);
so_notify_disconnected(so, B_FALSE, error);
so_notify_disconnected(so, B_FALSE, error);