| /xnu-12377.41.6/bsd/kern/ |
| H A D | uipc_socket2.c | 403 so->so_rcv.sb_flags |= SB_RECV; /* XXX */ in sonewconn_internal() 420 so->so_rcv.sb_flags |= (head->so_rcv.sb_flags & SB_USRSIZE); in sonewconn_internal() 421 so->so_snd.sb_flags |= (head->so_snd.sb_flags & SB_USRSIZE); in sonewconn_internal() 539 boolean_t nointr = (sb->sb_flags & SB_NOINTR); in sbwait() 548 __func__, sb, sb->sb_flags, lr_saved); in sbwait() 552 "lrh= %s\n", __func__, sb, sb->sb_flags, so, in sbwait() 592 "lrh= %s\n", __func__, sb, sb->sb_flags, so, in sbwait() 632 SOCK_TYPE(so), (uint32_t)sb->sb_sel.si_flags, sb->sb_flags, in sowakeup() 633 (sb->sb_flags & SB_RECV) ? "rcv" : "snd"); in sowakeup() 636 sb->sb_flags &= ~SB_SEL; in sowakeup() [all …]
|
| H A D | sys_socket.c | 217 so->so_rcv.sb_flags |= SB_ASYNC; in soioctl() 218 so->so_snd.sb_flags |= SB_ASYNC; in soioctl() 221 so->so_rcv.sb_flags &= ~SB_ASYNC; in soioctl() 222 so->so_snd.sb_flags &= ~SB_ASYNC; in soioctl() 312 so->so_rcv.sb_flags |= SB_SEL; in soo_select() 315 so->so_rcv.sb_flags &= ~SB_SEL; in soo_select() 322 so->so_snd.sb_flags |= SB_SEL; in soo_select() 325 so->so_snd.sb_flags &= ~SB_SEL; in soo_select() 332 so->so_rcv.sb_flags |= SB_SEL; in soo_select() 335 so->so_rcv.sb_flags &= ~SB_SEL; in soo_select()
|
| H A D | kpi_socket.c | 406 sock->so_rcv.sb_flags |= SB_NOINTR; /* This isn't safe */ in sock_nointerrupt() 407 sock->so_snd.sb_flags |= SB_NOINTR; /* This isn't safe */ in sock_nointerrupt() 409 sock->so_rcv.sb_flags &= ~SB_NOINTR; /* This isn't safe */ in sock_nointerrupt() 410 sock->so_snd.sb_flags &= ~SB_NOINTR; /* This isn't safe */ in sock_nointerrupt() 1344 (so->so_rcv.sb_flags & so->so_snd.sb_flags & SB_UNIX) != SB_UNIX) { in socket_defunct() 1361 sock->so_rcv.sb_flags |= SB_UPCALL; in sock_setupcalls_locked() 1363 sock->so_rcv.sb_flags |= SB_UPCALL_LOCK; in sock_setupcalls_locked() 1368 sock->so_rcv.sb_flags &= ~(SB_UPCALL | SB_UPCALL_LOCK); in sock_setupcalls_locked() 1374 sock->so_snd.sb_flags |= SB_UPCALL; in sock_setupcalls_locked() 1376 sock->so_snd.sb_flags |= SB_UPCALL_LOCK; in sock_setupcalls_locked() [all …]
|
| H A D | uipc_socket.c | 592 so->so_rcv.sb_flags |= SB_RECV; in socreate_internal() 1016 so->so_rcv.sb_flags &= ~(SB_SEL | SB_UPCALL); in sofreelastref() 1017 so->so_snd.sb_flags &= ~(SB_SEL | SB_UPCALL); in sofreelastref() 1054 so->so_rcv.sb_flags &= ~(SB_SEL | SB_UPCALL); in sofreelastref() 1055 so->so_snd.sb_flags &= ~(SB_SEL | SB_UPCALL); in sofreelastref() 1070 so->so_rcv.sb_flags &= ~SB_UPCALL; in sofreelastref() 1071 so->so_snd.sb_flags &= ~(SB_UPCALL | SB_SNDBYTE_CNT); in sofreelastref() 1098 so->so_rcv.sb_flags &= ~SB_UPCALL; in soclose_wait_locked() 1099 so->so_snd.sb_flags &= ~SB_UPCALL; in soclose_wait_locked() 1864 if ((so->so_snd.sb_flags & SB_LOCK) != 0 && in sosendcheck() [all …]
|
| H A D | socket_info.c | 65 sbi->sbi_flags = (short)sb->sb_flags; in fill_sockbuf_info()
|
| H A D | uipc_usrreq.c | 1044 so->so_rcv.sb_flags |= SB_UNIX; in unp_attach() 1045 so->so_snd.sb_flags |= SB_UNIX; in unp_attach() 2666 VERIFY(so->so_rcv.sb_flags & SB_LOCK); in unp_gc()
|
| H A D | uipc_syscalls.c | 655 so->so_rcv.sb_flags |= SB_ASYNC; in accept_nocancel() 656 so->so_snd.sb_flags |= SB_ASYNC; in accept_nocancel() 659 so->so_rcv.sb_flags &= ~SB_ASYNC; in accept_nocancel() 660 so->so_snd.sb_flags &= ~SB_ASYNC; in accept_nocancel()
|
| H A D | kern_control.c | 317 so->so_rcv.sb_flags |= SB_KCTL; in ctl_attach() 318 so->so_snd.sb_flags |= SB_KCTL; in ctl_attach()
|
| H A D | kern_event.c | 8760 so->so_rcv.sb_flags &= ~SB_UPCALL; 8761 so->so_snd.sb_flags &= ~SB_UPCALL;
|
| /xnu-12377.41.6/bsd/netinet/ |
| H A D | tcp_cc.c | 86 (sb->sb_flags & SB_AUTOSIZE)) { in tcp_cc_resize_sndbuf() 90 sb->sb_flags |= SB_TRIM; in tcp_cc_resize_sndbuf() 99 if ((sb->sb_flags & (SB_TRIM | SB_AUTOSIZE)) == (SB_TRIM | SB_AUTOSIZE)) { in tcp_bad_rexmt_fix_sndbuf() 108 sb->sb_flags &= ~SB_TRIM; in tcp_bad_rexmt_fix_sndbuf()
|
| H A D | in_pcblist.c | 171 xsb->xsb_kind = (sb->sb_flags & SB_RECV) ? XSO_RCVBUF : XSO_SNDBUF; in sbtoxsockbuf_n() 177 xsb->sb_flags = (short)sb->sb_flags; in sbtoxsockbuf_n() 967 so->so_snd.sb_flags &= ~SB_LIMITED; in inp_limit_companion_link() 970 so->so_snd.sb_flags |= SB_LIMITED; in inp_limit_companion_link() 993 !(so->so_snd.sb_flags & SB_LIMITED)) { in inp_recover_companion_link() 997 so->so_snd.sb_flags &= ~SB_LIMITED; in inp_recover_companion_link()
|
| H A D | mptcp_usrreq.c | 194 if ((mp_so->so_rcv.sb_flags & SB_USRSIZE) == 0) { in mptcp_attach() 195 mp_so->so_rcv.sb_flags |= SB_AUTOSIZE; in mptcp_attach() 197 if ((mp_so->so_snd.sb_flags & SB_USRSIZE) == 0) { in mptcp_attach() 198 mp_so->so_snd.sb_flags |= SB_AUTOSIZE; in mptcp_attach() 206 mp_so->so_snd.sb_flags |= SB_NOCOMPRESS; in mptcp_attach() 1089 VERIFY(mp_so->so_snd.sb_flags & SB_NOCOMPRESS); in mptcp_usr_send()
|
| H A D | tcp_output.c | 1575 (so->so_snd.sb_flags & (SB_AUTOSIZE | SB_TRIM)) == SB_AUTOSIZE) { in tcp_output() 2665 if (so->so_snd.sb_flags & SB_SENDHEAD) { in tcp_output() 2666 VERIFY(so->so_snd.sb_flags & SB_SENDHEAD); in tcp_output() 2702 if (so->so_snd.sb_flags & SB_SENDHEAD) { in tcp_output() 2703 VERIFY(so->so_snd.sb_flags & SB_SENDHEAD); in tcp_output() 3834 if (so->so_snd.sb_cc > 0 && so->so_snd.sb_flags & SB_SNDBYTE_CNT) { in tcp_ip_output() 3837 so->so_snd.sb_flags &= ~SB_SNDBYTE_CNT; in tcp_ip_output()
|
| H A D | tcp_usrreq.c | 174 so->so_snd.sb_flags |= SB_SENDHEAD; in tcp_usr_attach() 1238 (so->so_snd.sb_flags & SB_NOCOMPRESS)); in tcp_usr_send() 3105 if ((so->so_rcv.sb_flags & SB_USRSIZE) == 0) { in tcp_attach() 3106 so->so_rcv.sb_flags |= SB_AUTOSIZE; in tcp_attach() 3108 if ((so->so_snd.sb_flags & SB_USRSIZE) == 0) { in tcp_attach() 3109 so->so_snd.sb_flags |= SB_AUTOSIZE; in tcp_attach()
|
| H A D | tcp_syncookie.c | 347 win = ((so->so_rcv.sb_flags & SB_USRSIZE) != 0) ? in syncookie_respond()
|
| H A D | mptcp.c | 730 if ((mp_so->so_snd.sb_flags & (SB_AUTOSIZE | SB_TRIM)) == SB_AUTOSIZE) { in mptcp_output()
|
| H A D | in_pcb.c | 4179 so->so_snd.sb_flags |= SB_SNDBYTE_CNT; in inp_count_sndbytes() 4238 if (so == NULL || !(so->so_snd.sb_flags & SB_SNDBYTE_CNT)) { in inp_decr_sndbytes_unsent() 4259 if (so == NULL || !(so->so_snd.sb_flags & SB_SNDBYTE_CNT)) { in inp_decr_sndbytes_allunsent()
|
| H A D | tcp_input.c | 1020 (sbrcv->sb_flags & SB_AUTOSIZE) == 0 || in tcp_sbrcv_grow() 1187 if (((sbsnd->sb_flags & (SB_AUTOSIZE | SB_TRIM)) == in tcp_sbsnd_trim() 1200 sbsnd->sb_flags &= ~(SB_TRIM); in tcp_sbsnd_trim() 1220 (sbrcv->sb_flags & SB_AUTOSIZE) != 0) { in tcp_sbrcv_tstmp_check()
|
| H A D | mptcp_subr.c | 1529 (*so)->so_rcv.sb_flags |= SB_NOCOMPRESS; in mptcp_subflow_socreate() 1530 (*so)->so_snd.sb_flags |= SB_NOCOMPRESS; in mptcp_subflow_socreate() 5868 (sbrcv->sb_flags & SB_AUTOSIZE) == 0 || in mptcp_sbrcv_grow()
|
| H A D | tcp_subr.c | 3873 maxsockbufsize = ((so->so_rcv.sb_flags & SB_USRSIZE) != 0) ? in tcp_get_max_rwinscale() 5414 if ((so->so_snd.sb_flags & SB_SNDBYTE_CNT) && in inp_get_sndbytes_allunsent()
|
| /xnu-12377.41.6/bsd/dev/dtrace/scripts/ |
| H A D | socket.d | 43 flags = T->sb_flags;
|
| /xnu-12377.41.6/bsd/sys/ |
| H A D | socketvar.h | 180 uint32_t sb_flags; /* flags, see below */ member 433 short sb_flags; member 543 short sb_flags; member
|
| /xnu-12377.41.6/bsd/net/ |
| H A D | content_filter.c | 1554 while ((sb->sb_flags & SB_LOCK) || in cfil_acquire_sockbuf() 1567 msleep(&sb->sb_flags, mutex_held, PSOCK, "cfil_acquire_sockbuf", in cfil_acquire_sockbuf() 1578 VERIFY((sb->sb_flags & SB_LOCK) == 0); in cfil_acquire_sockbuf() 1581 sb->sb_flags |= SB_LOCK; in cfil_acquire_sockbuf() 1615 if (!(so->so_flags & SOF_DEFUNCT) && !(sb->sb_flags & SB_LOCK)) { in cfil_release_sockbuf() 1625 sb->sb_flags &= ~SB_LOCK; in cfil_release_sockbuf() 1628 wakeup(&sb->sb_flags); in cfil_release_sockbuf() 5319 if ((so->so_snd.sb_flags & SB_LOCK) == 0) { in cfil_sock_data_out() 5712 if ((sb->sb_flags & SB_RECV) == 0) { in cfil_sock_data_pending() 5755 if ((sb->sb_flags & SB_RECV) == 0) { in cfil_sock_data_space() [all …]
|