All of lore.kernel.org
 help / color / mirror / Atom feed
* Doubt about data chunks
@ 2018-04-15 20:41 Pedro Henrique
  2018-04-15 21:01 ` Michael Tuexen
  2018-04-15 23:55 ` Marcelo Ricardo Leitner
  0 siblings, 2 replies; 3+ messages in thread
From: Pedro Henrique @ 2018-04-15 20:41 UTC (permalink / raw)
  To: linux-sctp

Dear members,

I'm very new to SCTP and don't know if what I'm trying to do is really
possible without extending the lksctp. Basically, I created a
connection between two hosts (Client and Server) via the SCTP socket.
I'm able to successfully send sctp data from the server to the client.
Moreover, I also created multiple streams on the same connection. Now,
here is the issue. According to the SCTP documentation, many data
chunks can be sent inside the same packet. However, for my
experiments, I would like that only the data chunks belonging to the
same stream ID are encapsulated in the same packet. Or, in the worst
case, only one data chunk is encapsulated in each packet. Is any of
these two approaches possible without changing the lksctp code? If
not, could someone please help me on how to implement one of these
approaches in lksctp?

Thank you,
Regards,

-- 
Pedro Henrique Amorim Rezende

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Doubt about data chunks
  2018-04-15 20:41 Doubt about data chunks Pedro Henrique
@ 2018-04-15 21:01 ` Michael Tuexen
  2018-04-15 23:55 ` Marcelo Ricardo Leitner
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Tuexen @ 2018-04-15 21:01 UTC (permalink / raw)
  To: linux-sctp

> On 15. Apr 2018, at 22:41, Pedro Henrique <phamorimrezende@gmail.com> wrote:
> 
> Dear members,
> 
> I'm very new to SCTP and don't know if what I'm trying to do is really
> possible without extending the lksctp. Basically, I created a
> connection between two hosts (Client and Server) via the SCTP socket.
> I'm able to successfully send sctp data from the server to the client.
> Moreover, I also created multiple streams on the same connection. Now,
> here is the issue. According to the SCTP documentation, many data
> chunks can be sent inside the same packet. However, for my
> experiments, I would like that only the data chunks belonging to the
> same stream ID are encapsulated in the same packet. Or, in the worst
> case, only one data chunk is encapsulated in each packet. Is any of
> these two approaches possible without changing the lksctp code? If
> not, could someone please help me on how to implement one of these
> approaches in lksctp?
Sounds like you are looking for support of
https://tools.ietf.org/html/rfc8260#section-3.3

Not sure it is implemented yet.

Best regards
Michael
> 
> Thank you,
> Regards,
> 
> -- 
> Pedro Henrique Amorim Rezende
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Doubt about data chunks
  2018-04-15 20:41 Doubt about data chunks Pedro Henrique
  2018-04-15 21:01 ` Michael Tuexen
@ 2018-04-15 23:55 ` Marcelo Ricardo Leitner
  1 sibling, 0 replies; 3+ messages in thread
From: Marcelo Ricardo Leitner @ 2018-04-15 23:55 UTC (permalink / raw)
  To: linux-sctp

On Sun, Apr 15, 2018 at 11:01:47PM +0200, Michael Tuexen wrote:
> > On 15. Apr 2018, at 22:41, Pedro Henrique <phamorimrezende@gmail.com> wrote:
> >
> > Dear members,
> >
> > I'm very new to SCTP and don't know if what I'm trying to do is really
> > possible without extending the lksctp. Basically, I created a
> > connection between two hosts (Client and Server) via the SCTP socket.
> > I'm able to successfully send sctp data from the server to the client.
> > Moreover, I also created multiple streams on the same connection. Now,
> > here is the issue. According to the SCTP documentation, many data
> > chunks can be sent inside the same packet. However, for my
> > experiments, I would like that only the data chunks belonging to the
> > same stream ID are encapsulated in the same packet. Or, in the worst
> > case, only one data chunk is encapsulated in each packet. Is any of
> > these two approaches possible without changing the lksctp code? If
> > not, could someone please help me on how to implement one of these
> > approaches in lksctp?
> Sounds like you are looking for support of
> https://tools.ietf.org/html/rfc8260#section-3.3
>
> Not sure it is implemented yet.

Not yet. This one in particular is a tricky one for us to implement
as the "end of packet" event or so is not directly available where we
dequeue chunks for sending. Not impossible, just harder than the
others.

We have only FCFS, PRIO and RR so far.

Cheers,
Marcelo

>
> Best regards
> Michael
> >
> > Thank you,
> > Regards,
> >
> > --
> > Pedro Henrique Amorim Rezende
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sctp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-04-15 23:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-15 20:41 Doubt about data chunks Pedro Henrique
2018-04-15 21:01 ` Michael Tuexen
2018-04-15 23:55 ` Marcelo Ricardo Leitner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.