Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S977060AbdDXTLU (ORCPT ); Mon, 24 Apr 2017 15:11:20 -0400 Received: from mail-oi0-f42.google.com ([209.85.218.42]:35196 "EHLO mail-oi0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S976376AbdDXTLL (ORCPT ); Mon, 24 Apr 2017 15:11:11 -0400 MIME-Version: 1.0 From: =?UTF-8?Q?Lars_Erik_Storbuk=C3=A5s?= Date: Mon, 24 Apr 2017 21:11:10 +0200 Message-ID: Subject: Get amount of fast retransmissions from TCP info To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 500 Lines: 11 I'm trying to get amount of congestion events in TCP caused by DUPACK's (fast retransmissions), and can't seem to find any variable in the TCP info struct which hold that value. There are three variables in the TCP info struct that seem to hold similar congestion values: __u8 tcpi_retransmits;__u32 tcpi_retrans; __u32 tcpi_total_retrans; Does anyone have any pointers on how to find this value in the TCP code? Please CC me personally if answering this question. Any help is greatly appreciated.