Lines Matching refs:flags
57 int flags,
68 int flags,
85 if ((flags & ~(MSG_DONTWAIT)) != 0) {
89 if (((flags & MSG_DONTWAIT) != 0 || (sock->so_state & SS_NBIO) != 0) &&
223 int flags)
235 (flags & MSG_DONTWAIT) ? M_NOWAIT : M_WAITOK);
248 (flags & MSG_DONTWAIT) != 0)) {
255 ((sock->so_state & SS_NBIO) != 0 || (flags & MSG_DONTWAIT) != 0)) {
674 int flags,
708 data, (msg && msg->msg_control) ? &control : NULL, &flags);
714 msg->msg_flags = flags;
766 int flags,
774 return sock_receive_internal(sock, msg, NULL, flags, recvdlen);
782 int flags,
788 return sock_receive_internal(sock, msg, data, flags, recvlen);
796 int flags,
852 (struct sockaddr*)msg->msg_name : NULL, auio, data, control, flags);
893 int flags,
898 return sock_send_internal(sock, msg, NULL, flags, sentlen);
906 int flags,
915 return sock_send_internal(sock, msg, data, flags, sentlen);
1089 socket_set_traffic_mgt_flags_locked(socket_t sock, u_int32_t flags)
1091 (void) OSBitOrAtomic(flags, &sock->so_traffic_mgt_flags);
1096 socket_set_traffic_mgt_flags(socket_t sock, u_int32_t flags)
1099 socket_set_traffic_mgt_flags_locked(sock, flags);
1107 socket_clear_traffic_mgt_flags_locked(socket_t sock, u_int32_t flags)
1109 (void) OSBitAndAtomic(~flags, &sock->so_traffic_mgt_flags);
1114 socket_clear_traffic_mgt_flags(socket_t sock, u_int32_t flags)
1117 socket_clear_traffic_mgt_flags_locked(sock, flags);