Lines Matching refs:cloned_so
270 struct socket *cloned_so = NULL;
275 error = file_socket(cloned_fd, &cloned_so);
287 if (cloned_so && so != cloned_so) {
290 cloned_so->so_options & ~SO_ACCEPTCONN;
294 so->so_linger = cloned_so->so_linger;
297 if (cloned_so->so_snd.sb_hiwat > 0) {
299 cloned_so->so_snd.sb_hiwat) == 0) {
304 if (cloned_so->so_rcv.sb_hiwat > 0) {
306 cloned_so->so_rcv.sb_hiwat) == 0) {
314 (cloned_so->so_snd.sb_lowat > so->so_snd.sb_hiwat) ?
315 so->so_snd.sb_hiwat : cloned_so->so_snd.sb_lowat;
317 (cloned_so->so_rcv.sb_lowat > so->so_rcv.sb_hiwat) ?
318 so->so_rcv.sb_hiwat : cloned_so->so_rcv.sb_lowat;
321 so->so_snd.sb_timeo = cloned_so->so_snd.sb_timeo;
322 so->so_rcv.sb_timeo = cloned_so->so_rcv.sb_timeo;