Lines Matching refs:srcv
6095 struct sctp_sndrcvinfo *srcv, in sctp_prune_prsctp() argument
6116 if (chk->rec.data.timetodrop.tv_sec >= (long)srcv->sinfo_timetolive) { in sctp_prune_prsctp()
6151 if (chk->rec.data.timetodrop.tv_sec >= (long)srcv->sinfo_timetolive) { in sctp_prune_prsctp()
6270 struct sctp_sndrcvinfo *srcv, int hold_stcb_lock) in sctp_msg_append() argument
6281 if (srcv->sinfo_stream >= stcb->asoc.streamoutcnt) { in sctp_msg_append()
6288 (stcb->asoc.stream_locked_on != srcv->sinfo_stream)) { in sctp_msg_append()
6293 strm = &stcb->asoc.strmout[srcv->sinfo_stream]; in sctp_msg_append()
6310 sp->sinfo_flags = srcv->sinfo_flags; in sctp_msg_append()
6311 sp->timetolive = srcv->sinfo_timetolive; in sctp_msg_append()
6312 sp->ppid = srcv->sinfo_ppid; in sctp_msg_append()
6313 sp->context = srcv->sinfo_context; in sctp_msg_append()
6321 sp->stream = srcv->sinfo_stream; in sctp_msg_append()
6339 if (srcv->sinfo_keynumber_valid) { in sctp_msg_append()
6340 sp->auth_keyid = srcv->sinfo_keynumber; in sctp_msg_append()
6790 struct sctp_sndrcvinfo *srcv) in sctp_sendall() argument
6805 if (srcv) { in sctp_sendall()
6806 memcpy(&ca->sndrcv, srcv, sizeof(struct sctp_nonpad_sndrcvinfo)); in sctp_sendall()
12031 struct sctp_sndrcvinfo *srcv, in sctp_copy_it_in() argument
12067 sp->sinfo_flags = srcv->sinfo_flags; in sctp_copy_it_in()
12068 sp->timetolive = srcv->sinfo_timetolive; in sctp_copy_it_in()
12069 sp->ppid = srcv->sinfo_ppid; in sctp_copy_it_in()
12070 sp->context = srcv->sinfo_context; in sctp_copy_it_in()
12073 sp->stream = srcv->sinfo_stream; in sctp_copy_it_in()
12077 (srcv->sinfo_flags & SCTP_EOF) || in sctp_copy_it_in()
12078 (user_marks_eor && (srcv->sinfo_flags & SCTP_EOR)))) { in sctp_copy_it_in()
12092 if (srcv->sinfo_keynumber_valid) { in sctp_copy_it_in()
12093 sp->auth_keyid = srcv->sinfo_keynumber; in sctp_copy_it_in()
12176 struct sctp_sndrcvinfo *srcv in sctp_lower_sosend() argument
12284 if (srcv) { in sctp_lower_sosend()
12285 sinfo_flags = srcv->sinfo_flags; in sctp_lower_sosend()
12286 sinfo_assoc_id = srcv->sinfo_assoc_id; in sctp_lower_sosend()
12293 if (srcv->sinfo_flags) in sctp_lower_sosend()
12301 error = sctp_sendall(inp, uio, top, srcv); in sctp_lower_sosend()
12462 if (srcv == NULL) in sctp_lower_sosend()
12463 srcv = (struct sctp_sndrcvinfo *)&asoc->def_send; in sctp_lower_sosend()
12464 if (srcv->sinfo_flags & SCTP_ADDR_OVER) { in sctp_lower_sosend()
12552 if (srcv->sinfo_flags & SCTP_ABORT) { in sctp_lower_sosend()
12565 if (srcv->sinfo_flags & SCTP_ABORT) { in sctp_lower_sosend()
12676 if (srcv->sinfo_stream >= asoc->streamoutcnt) { in sctp_lower_sosend()
12777 if (srcv->sinfo_flags & SCTP_EOF) { in sctp_lower_sosend()
12793 (asoc->stream_locked_on != srcv->sinfo_stream)) { in sctp_lower_sosend()
12801 strm = &stcb->asoc.strmout[srcv->sinfo_stream]; in sctp_lower_sosend()
12804 sp = sctp_copy_it_in(stcb, asoc, srcv, uio, net, max_len, user_marks_eor, &error); in sctp_lower_sosend()
12819 asoc->stream_locked_on = srcv->sinfo_stream; in sctp_lower_sosend()
12824 if (srcv->sinfo_flags & SCTP_UNORDERED) { in sctp_lower_sosend()
12902 (srcv->sinfo_flags & SCTP_EOF) || in sctp_lower_sosend()
12903 (user_marks_eor && (srcv->sinfo_flags & SCTP_EOR)))) { in sctp_lower_sosend()
12924 sctp_prune_prsctp(stcb, asoc, srcv, sndlen); in sctp_lower_sosend()
13079 asoc->stream_locked_on = srcv->sinfo_stream; in sctp_lower_sosend()
13096 error = sctp_msg_append(stcb, net, top, srcv, 0); in sctp_lower_sosend()
13098 if (srcv->sinfo_flags & SCTP_EOF) { in sctp_lower_sosend()
13113 if ((srcv->sinfo_flags & SCTP_EOF) && in sctp_lower_sosend()