From: David Laight ... > > + memset(&rinfo, 0, sizeof(struct sctp_rcvinfo)); > > + rinfo.rcv_sid = event->stream; > > + rinfo.rcv_ssn = event->ssn; > > + rinfo.rcv_ppid = event->ppid; > > + rinfo.rcv_flags = event->flags; > > + rinfo.rcv_tsn = event->tsn; > > + rinfo.rcv_cumtsn = event->cumtsn; > > + rinfo.rcv_assoc_id = sctp_assoc2id(event->asoc); > > + rinfo.rcv_context = event->asoc->default_rcv_context; > > + > > + put_cmsg(msghdr, IPPROTO_SCTP, SCTP_RCVINFO, > > + sizeof(rinfo), &rinfo); > > +} > > This gets called for every receive data chunk (since the user needs to > verify the ssn and stream). Clearly I meant ppid and stream :-( David -- To unsubscribe from this list: send the line "unsubscribe linux-sctp" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html