Missing sockets stats for SCTP

Andrzej TrawiƄski <[email protected]> Wed, 24 Feb 2016 22:18:02 +0000
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <CAGKRpX=R9j+j6jYXacPrgooFbad=h0ft0k9MVLK1cQDdt_3S8g@mail.gmail.com>
--===============8840968329501444326==
Content-Type: multipart/alternative; boundary=001a1148fd8e0ef323052c8b7191

--001a1148fd8e0ef323052c8b7191
Content-Type: text/plain; charset=UTF-8

Hi!

I've recently played with the SCTP connections and noticed that when I'm
trying to get SCTP socket stats (using inet:getstat(Socket) function) I'm
always receiving zero (0) values for sending side options.

...
{ok,[{recv_oct,96},
              {recv_cnt,7},
              {recv_max,16},
              {recv_avg,13},
              {recv_dvi,2},
              {send_oct,0},
              {send_cnt,0},
              {send_max,0},
              {send_avg,0},
              {send_pend,0}]}.
..

This reproduces on both 17.5.6.8 and 18.2.

It shows proper values for TCP sockets, but for SCTP most likely something
is wrong with it.
Any ideas on this?

Thanks,
Andrzej

--001a1148fd8e0ef323052c8b7191
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi!</div><div><br></div><div>I&#39;ve recently played=
 with the SCTP connections and noticed that when I&#39;m trying to get SCTP=
 socket stats (using inet:getstat(Socket) function) I&#39;m always receivin=
g zero (0) values for sending side options.</div><div><br></div><div>...</d=
iv><div><div>{ok,[{recv_oct,96},<br></div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 {recv_cnt,7},</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 {recv_max,16},</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 {recv_avg,13},</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 {recv_dvi,2},</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 {send_oct,0},</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 {send_cnt,0},</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 {send_max,0},</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 {send_avg,0},</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 {send_pend,0}]}.</div></div><div>..</div><div><br></di=
v><div>This reproduces on both 17.5.6.8 and 18.2.</div><div><br></div><div>=
It shows proper values for TCP sockets, but for SCTP most likely something =
is wrong with it.</div><div>Any ideas on this?</div><div><br></div><div>Tha=
nks,</div><div>Andrzej</div></div>

--001a1148fd8e0ef323052c8b7191--

--===============8840968329501444326==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs

--===============8840968329501444326==--