| /xnu-11215/bsd/kern/ |
| H A D | uipc_socket2.c | 418 so->so_rcv.sb_flags |= (head->so_rcv.sb_flags & SB_USRSIZE); in sonewconn_internal() 419 so->so_snd.sb_flags |= (head->so_snd.sb_flags & SB_USRSIZE); in sonewconn_internal() 634 sb->sb_flags &= ~SB_SEL; in sowakeup() 846 if (sb->sb_flags & SB_RECV) { in sb_update_data_stats() 858 if (sb->sb_flags & SB_RECV) { in sb_update_no_space_stats() 2555 &so->so_rcv.sb_flags : &so->so_snd.sb_flags; in sblock() 2604 sb->sb_flags |= SB_LOCK; in sblock() 2651 sb->sb_flags &= ~SB_LOCK; in sbunlock() 2659 wakeup((sb->sb_flags & SB_RECV) ? &so->so_rcv.sb_flags : in sbunlock() 2660 &so->so_snd.sb_flags); in sbunlock() [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() 316 so->so_rcv.sb_flags |= SB_SEL; in soo_select() 319 so->so_rcv.sb_flags &= ~SB_SEL; in soo_select() 326 so->so_snd.sb_flags |= SB_SEL; in soo_select() 329 so->so_snd.sb_flags &= ~SB_SEL; in soo_select() 336 so->so_rcv.sb_flags |= SB_SEL; in soo_select() 339 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 | 752 so->so_rcv.sb_flags |= SB_RECV; in socreate_internal() 4600 asb.sb_flags = sb->sb_flags; in sorflush() 7431 if (!(snd->sb_flags & rcv->sb_flags & SB_DROP)) { in sosetdefunct() 7501 snd->sb_flags |= SB_DROP; in sosetdefunct() 7502 rcv->sb_flags |= SB_DROP; in sosetdefunct() 7506 rcv->sb_flags &= ~SB_SEL; in sosetdefunct() 7511 snd->sb_flags &= ~SB_SEL; in sosetdefunct() 7571 rcv->sb_flags, snd->sb_flags); in sodefunct() 7583 snd->sb_flags); in sodefunct() 7627 rcv->sb_flags &= ~SB_SEL; in sodefunct() [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 | 8759 so->so_rcv.sb_flags &= ~SB_UPCALL; 8760 so->so_snd.sb_flags &= ~SB_UPCALL;
|
| /xnu-11215/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() 1087 VERIFY(mp_so->so_snd.sb_flags & SB_NOCOMPRESS); in mptcp_usr_send()
|
| H A D | tcp_output.c | 1311 (so->so_snd.sb_flags & (SB_AUTOSIZE | SB_TRIM)) == SB_AUTOSIZE) { in tcp_output() 2496 if (so->so_snd.sb_flags & SB_SENDHEAD) { in tcp_output() 2497 VERIFY(so->so_snd.sb_flags & SB_SENDHEAD); in tcp_output() 2532 if (so->so_snd.sb_flags & SB_SENDHEAD) { in tcp_output() 2533 VERIFY(so->so_snd.sb_flags & SB_SENDHEAD); in tcp_output() 3639 if (so->so_snd.sb_cc > 0 && so->so_snd.sb_flags & SB_SNDBYTE_CNT) { in tcp_ip_output() 3642 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() 3106 if ((so->so_rcv.sb_flags & SB_USRSIZE) == 0) { in tcp_attach() 3107 so->so_rcv.sb_flags |= SB_AUTOSIZE; in tcp_attach() 3109 if ((so->so_snd.sb_flags & SB_USRSIZE) == 0) { in tcp_attach() 3110 so->so_snd.sb_flags |= SB_AUTOSIZE; in tcp_attach()
|
| H A D | in_pcb.c | 4199 so->so_snd.sb_flags |= SB_SNDBYTE_CNT; in inp_count_sndbytes() 4258 if (so == NULL || !(so->so_snd.sb_flags & SB_SNDBYTE_CNT)) { in inp_decr_sndbytes_unsent() 4279 if (so == NULL || !(so->so_snd.sb_flags & SB_SNDBYTE_CNT)) { in inp_decr_sndbytes_allunsent()
|
| H A D | mptcp.c | 723 if ((mp_so->so_snd.sb_flags & (SB_AUTOSIZE | SB_TRIM)) == SB_AUTOSIZE) { in mptcp_output()
|
| H A D | tcp_input.c | 1021 (sbrcv->sb_flags & SB_AUTOSIZE) == 0 || in tcp_sbrcv_grow() 1188 if (((sbsnd->sb_flags & (SB_AUTOSIZE | SB_TRIM)) == in tcp_sbsnd_trim() 1201 sbsnd->sb_flags &= ~(SB_TRIM); in tcp_sbsnd_trim() 1221 (sbrcv->sb_flags & SB_AUTOSIZE) != 0) { in tcp_sbrcv_tstmp_check()
|
| H A D | mptcp_subr.c | 1523 (*so)->so_rcv.sb_flags |= SB_NOCOMPRESS; in mptcp_subflow_socreate() 1524 (*so)->so_snd.sb_flags |= SB_NOCOMPRESS; in mptcp_subflow_socreate() 5856 (sbrcv->sb_flags & SB_AUTOSIZE) == 0 || in mptcp_sbrcv_grow()
|
| H A D | tcp_subr.c | 3740 maxsockbufsize = ((so->so_rcv.sb_flags & SB_USRSIZE) != 0) ? in tcp_set_max_rwinscale() 5229 if ((so->so_snd.sb_flags & SB_SNDBYTE_CNT) && in inp_get_sndbytes_allunsent()
|
| /xnu-11215/bsd/dev/dtrace/scripts/ |
| H A D | socket.d | 43 flags = T->sb_flags;
|
| /xnu-11215/bsd/sys/ |
| H A D | socketvar.h | 186 uint32_t sb_flags; /* flags, see below */ member 441 short sb_flags; member 551 short sb_flags; member
|
| /xnu-11215/bsd/net/ |
| H A D | content_filter.c | 1555 while ((sb->sb_flags & SB_LOCK) || in cfil_acquire_sockbuf() 1579 VERIFY((sb->sb_flags & SB_LOCK) == 0); in cfil_acquire_sockbuf() 1582 sb->sb_flags |= SB_LOCK; in cfil_acquire_sockbuf() 1626 sb->sb_flags &= ~SB_LOCK; in cfil_release_sockbuf() 1629 wakeup(&sb->sb_flags); in cfil_release_sockbuf() 5316 if ((so->so_snd.sb_flags & SB_LOCK) == 0) { in cfil_sock_data_out() 5709 if ((sb->sb_flags & SB_RECV) == 0) { in cfil_sock_data_pending() 5752 if ((sb->sb_flags & SB_RECV) == 0) { in cfil_sock_data_space() 5802 if ((sb->sb_flags & SB_RECV) == 0) { in cfil_sock_buf_update() 6602 if ((apply_context->sb->sb_flags & SB_RECV) == 0) { in cfil_sock_udp_data_pending_per_flow() [all …]
|