so_snd_wait_qnotfull
extern int so_snd_wait_qnotfull(struct sonode *, boolean_t);
if ((error = so_snd_wait_qnotfull(so, dontblock)) != 0)