Looking at https://github.com/shemminger/iproute2/blob/main/misc/ss.c#L589 the ss.c still uses proc/.
Adel.
On 8/4/22 8:29 AM, Andrew Lunn wrote:
On Wed, Aug 03, 2022 at 11:51:59AM -0700, Adel Abouchaev wrote:
Andrew,
Could you add more to your comment? The /proc was used similarly to kTLS. Netlink is better, though, unsure how ULP stats would fit in it.
How do tools like ss(1) retrieve the protocol summary statistics? Do they still use /proc, or netlink?
Andrew