All of lore.kernel.org
 help / color / mirror / Atom feed
* Per association statistics
@ 2011-11-02 17:34 Kiss, Zoltan (NSN - HU/Budapest)
  2011-11-16 16:49 ` Vlad Yasevich
  2011-11-18  2:31 ` yongjun_wei
  0 siblings, 2 replies; 3+ messages in thread
From: Kiss, Zoltan (NSN - HU/Budapest) @ 2011-11-02 17:34 UTC (permalink / raw)
  To: linux-sctp

Hi,

I've recently tried an application on 2.6.34.6, and I had to realize,
that SCTP_GET_ASSOC_STATS getsockopt works no longer anymore, like in
2.6.21. I couldn't find any source why it was removed from stack, and is
there anything to replace it. I've especially need in/out byte/packet
counters, but as I see I can find it on a per process basis, but I need
these counters for one specific association/socket. I've only found the
old retrans counter, but it also cumbersome as it is available only
through /proc filesystem.
Why was this feature removed, and how can I workaround its lack?

Regards,

Zoltan Kiss

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

* Re: Per association statistics
  2011-11-02 17:34 Per association statistics Kiss, Zoltan (NSN - HU/Budapest)
@ 2011-11-16 16:49 ` Vlad Yasevich
  2011-11-18  2:31 ` yongjun_wei
  1 sibling, 0 replies; 3+ messages in thread
From: Vlad Yasevich @ 2011-11-16 16:49 UTC (permalink / raw)
  To: linux-sctp



On 11/02/2011 01:34 PM, Kiss, Zoltan (NSN - HU/Budapest) wrote:
> Hi,
> 
> I've recently tried an application on 2.6.34.6, and I had to realize,
> that SCTP_GET_ASSOC_STATS getsockopt works no longer anymore, like in
> 2.6.21. I couldn't find any source why it was removed from stack, and is
> there anything to replace it. I've especially need in/out byte/packet
> counters, but as I see I can find it on a per process basis, but I need
> these counters for one specific association/socket. I've only found the
> old retrans counter, but it also cumbersome as it is available only
> through /proc filesystem.
> Why was this feature removed, and how can I workaround its lack?

Not sure.  I remember it being added.  I'll have to check the history
to see what happened.

-vlad

> 
> Regards,
> 
> Zoltan Kiss
> --
> 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: Per association statistics
  2011-11-02 17:34 Per association statistics Kiss, Zoltan (NSN - HU/Budapest)
  2011-11-16 16:49 ` Vlad Yasevich
@ 2011-11-18  2:31 ` yongjun_wei
  1 sibling, 0 replies; 3+ messages in thread
From: yongjun_wei @ 2011-11-18  2:31 UTC (permalink / raw)
  To: linux-sctp



On 11/02/2011 01:34 PM, Kiss, Zoltan (NSN - HU/Budapest) wrote:
> Hi,
> 
> I've recently tried an application on 2.6.34.6, and I had to realize, 
> that SCTP_GET_ASSOC_STATS getsockopt works no longer anymore, like in 
> 2.6.21. I couldn't find any source why it was removed from stack, and 
> is there anything to replace it. I've especially need in/out 
> byte/packet counters, but as I see I can find it on a per process 
> basis, but I need these counters for one specific association/socket. 
> I've only found the old retrans counter, but it also cumbersome as it 
> is available only through /proc filesystem.
> Why was this feature removed, and how can I workaround its lack?

> Not sure.  I remember it being added.  I'll have to check the history to see what happened.

If I am right, nobody has added the SCTP_GET_ASSOC_STATS option for linux,
and no spec has defined this option. It seems that just solaris using this option.
LKSCTP does not support count the in/out bytes by asoc. I think your application
should know the in/out bytes, why you need to get them from kernel?

Regards,
Wei Yongjun

> 
> Regards,
> 
> Zoltan Kiss
> --
> 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
TREND MICRO EMAIL NOTICE
The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.


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

end of thread, other threads:[~2011-11-18  2:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02 17:34 Per association statistics Kiss, Zoltan (NSN - HU/Budapest)
2011-11-16 16:49 ` Vlad Yasevich
2011-11-18  2:31 ` yongjun_wei

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.