SB_AUTOSIZE
so->so_snd.sb_flags |= SB_AUTOSIZE;
so->so_rcv.sb_flags |= SB_AUTOSIZE;
so->so_snd.sb_flags |= SB_AUTOSIZE;
so->so_rcv.sb_flags |= SB_AUTOSIZE;
if (sb->sb_flags & SB_AUTOSIZE &&
sb->sb_flags &= ~SB_AUTOSIZE;
if (sb->sb_flags & SB_AUTOSIZE &&
sb->sb_flags &= ~SB_AUTOSIZE;
if (sb->sb_flags & SB_AUTOSIZE &&
sb->sb_flags &= ~SB_AUTOSIZE;
if (sb->sb_flags & SB_AUTOSIZE &&
sb->sb_flags &= ~SB_AUTOSIZE;
if (sb->sb_flags & SB_AUTOSIZE &&
sb->sb_flags &= ~SB_AUTOSIZE;
if (sb->sb_flags & SB_AUTOSIZE &&
sb->sb_flags &= ~SB_AUTOSIZE;
else if (so->sol_sbsnd_flags & SB_AUTOSIZE &&
if (so->so_snd.sb_flags & SB_AUTOSIZE &&
ic->ic_socket->so_snd.sb_flags |= SB_AUTOSIZE;
ic->ic_socket->so_rcv.sb_flags |= SB_AUTOSIZE;
if (sb_flags & SB_AUTOSIZE) {
*flags &= ~SB_AUTOSIZE;
so->so_rcv.sb_flags = head->sol_sbrcv_flags & SB_AUTOSIZE;
(SB_AUTOSIZE | SB_AUTOLOWAT);
so->so_rcv.sb_flags |= head->so_rcv.sb_flags & SB_AUTOSIZE;
so->so_snd.sb_flags |= head->so_snd.sb_flags & SB_AUTOSIZE;
if (V_tcp_do_autorcvbuf && (so->so_rcv.sb_flags & SB_AUTOSIZE) &&
so->so_rcv.sb_flags &= ~SB_AUTOSIZE;
if (V_tcp_do_autosndbuf && so->so_snd.sb_flags & SB_AUTOSIZE) {
so->so_snd.sb_flags &= ~SB_AUTOSIZE;
(so->so_rcv.sb_flags & SB_AUTOSIZE))
(so->so_rcv.sb_flags & SB_AUTOSIZE))
so->so_rcv.sb_flags &= ~SB_AUTOSIZE;
so->so_rcv.sb_flags &= ~SB_AUTOSIZE;
so->so_rcv.sb_flags &= ~SB_AUTOSIZE;
if (V_tcp_do_autosndbuf && so->so_snd.sb_flags & SB_AUTOSIZE) {
so->so_snd.sb_flags &= ~SB_AUTOSIZE;
(so->so_rcv.sb_flags & SB_AUTOSIZE)) {
so->so_rcv.sb_flags |= SB_AUTOSIZE;
so->so_snd.sb_flags |= (SB_AUTOLOWAT | SB_AUTOSIZE);
so->so_rcv.sb_flags |= SB_AUTOSIZE;
so->so_snd.sb_flags |= SB_AUTOSIZE;