Lines Matching defs:srcv

3910 		  struct sctp_sndrcvinfo *srcv,
3931 if (chk->rec.data.timetodrop.tv_sec >= (long)srcv->sinfo_timetolive) {
3969 if (chk->rec.data.timetodrop.tv_sec >= (long)srcv->sinfo_timetolive) {
3995 struct sctp_sndrcvinfo *srcv,
4002 (srcv->sinfo_flags & (SCTP_PR_SCTP_TTL|SCTP_PR_SCTP_BUF)) &&
4003 (srcv->sinfo_timetolive > 0)
4012 if (srcv->sinfo_flags & SCTP_PR_SCTP_BUF) {
4017 template->rec.data.timetodrop.tv_sec = srcv->sinfo_timetolive;
4022 tv.tv_sec = srcv->sinfo_timetolive / 1000;
4023 tv.tv_usec = (srcv->sinfo_timetolive * 1000) % 1000000;
4032 if ((srcv->sinfo_flags & SCTP_UNORDERED) == 0) {
4039 template->rec.data.stream_number = srcv->sinfo_stream;
4040 template->rec.data.payloadtype = srcv->sinfo_ppid;
4041 template->rec.data.context = srcv->sinfo_context;
4045 if (srcv->sinfo_flags & SCTP_ADDR_OVER) {
4056 if (srcv->sinfo_flags & SCTP_UNORDERED) {
4065 if (srcv->sinfo_timetolive > 0) {
4072 if (srcv->sinfo_flags & SCTP_PR_SCTP_TTL) {
4075 if (srcv->sinfo_flags & SCTP_PR_SCTP_BUF) {
4125 struct sctp_sndrcvinfo *srcv,
4141 if ((stcb == NULL) || (net == NULL) || (m == NULL) || (srcv == NULL)) {
4146 printf("stcb:%p net:%p m:%p srcv:%p\n",
4147 stcb, net, m, srcv);
4155 if (srcv->sinfo_flags & SCTP_ABORT) {
4194 if (srcv->sinfo_stream >= asoc->streamoutcnt) {
4209 strq = &asoc->strmout[srcv->sinfo_stream];
4237 if ((srcv->sinfo_flags & SCTP_EOF) &&
4251 sctp_prune_prsctp(stcb, asoc, srcv, dataout);
4338 sctp_prepare_chunk(chk, stcb, srcv, strq, net);
4360 if ((srcv->sinfo_flags & SCTP_UNORDERED) == 0) {
4383 sctp_prepare_chunk(&template, stcb, srcv, strq, net);
4475 if ((srcv->sinfo_flags & SCTP_UNORDERED) == 0) {
4509 if ((srcv->sinfo_flags & SCTP_EOF) &&
4774 sctp_sendall (struct sctp_inpcb *inp, struct uio *uio, struct mbuf *m, struct sctp_sndrcvinfo *srcv)
4786 ca->sndrcv = *srcv;
7094 struct sctp_sndrcvinfo srcv;
7152 if (sctp_find_cmsg(SCTP_SNDRCV, (void *)&srcv, control,
7153 sizeof(srcv))) {
7154 if (srcv.sinfo_flags & SCTP_SENDALL) {
7162 return (sctp_sendall(inp, NULL, m, &srcv));
7164 if (srcv.sinfo_assoc_id) {
7185 stcb = sctp_findassociation_ep_asocid(inp, srcv.sinfo_assoc_id);
7276 if ((use_rcvinfo) && (srcv.sinfo_flags & SCTP_ABORT)) {
7392 (srcv.sinfo_flags & SCTP_ABORT)) {
7393 sctp_msg_append(stcb, net, m, &srcv, flags);
7413 srcv = stcb->asoc.def_send;
7418 printf("stream:%d\n", srcv.sinfo_stream);
7419 printf("flags:%x\n", (u_int)srcv.sinfo_flags);
7420 printf("ppid:%d\n", srcv.sinfo_ppid);
7421 printf("context:%d\n", srcv.sinfo_context);
7430 if (net && ((srcv.sinfo_flags & SCTP_ADDR_OVER))) {
7436 if ((error = sctp_msg_append(stcb, net, m, &srcv, flags))) {
9275 struct sctp_sndrcvinfo *srcv,
9329 sctp_prune_prsctp(stcb, asoc, srcv, sndlen);
9415 sctp_prune_prsctp(stcb, asoc, srcv, sndlen);
9427 if (srcv->sinfo_flags & SCTP_ABORT) {
9493 if (srcv->sinfo_stream >= asoc->streamoutcnt) {
9508 if ((srcv->sinfo_flags & SCTP_EOF) &&
9521 strq = &asoc->strmout[srcv->sinfo_stream];
9547 sctp_prepare_chunk(chk, stcb, srcv, strq, net);
9563 if ((srcv->sinfo_flags & SCTP_UNORDERED) == 0) {
9606 sctp_prepare_chunk(&template, stcb, srcv, strq, net);
9652 if ((srcv->sinfo_flags & SCTP_UNORDERED) == 0) {
9729 if ((srcv->sinfo_flags & SCTP_EOF) &&
9807 struct sctp_sndrcvinfo srcv;
9866 if (sctp_find_cmsg(SCTP_SNDRCV, (void *)&srcv, control,
9867 sizeof(srcv))) {
9869 if (srcv.sinfo_flags & SCTP_SENDALL) {
9878 return (sctp_sendall(inp, uio, top, &srcv));
9888 if (use_rcvinfo && srcv.sinfo_assoc_id) {
9889 stcb = sctp_findassociation_ep_asocid(inp, srcv.sinfo_assoc_id);
9930 (srcv.sinfo_flags & SCTP_ABORT)) {
10031 srcv = stcb->asoc.def_send;
10042 (srcv.sinfo_flags & SCTP_ABORT)) {
10057 if (net && ((srcv.sinfo_flags & SCTP_ADDR_OVER))) {
10078 error = sctp_copy_it_in(inp, stcb, asoc, net, &srcv, uio, flags);
10088 error = sctp_msg_append(stcb, net, top, &srcv, flags);