1*5d8fd932SRandall Stewart #ifndef __tcp_accounting_h__ 2*5d8fd932SRandall Stewart #define __tcp_accounting_h__ 3*5d8fd932SRandall Stewart /* 4*5d8fd932SRandall Stewart * Return values from tcp_do_ack_accounting 5*5d8fd932SRandall Stewart * and indexs to the into the tcp_proc_time[] 6*5d8fd932SRandall Stewart * array. 7*5d8fd932SRandall Stewart */ 8*5d8fd932SRandall Stewart #define ACK_BEHIND 0 9*5d8fd932SRandall Stewart #define ACK_SACK 1 10*5d8fd932SRandall Stewart #define ACK_CUMACK 2 11*5d8fd932SRandall Stewart #define ACK_CUMACK_SACK 3 12*5d8fd932SRandall Stewart #define ACK_DUPACK 4 13*5d8fd932SRandall Stewart #define ACK_RWND 5 14*5d8fd932SRandall Stewart /* Added values for tracking output too */ 15*5d8fd932SRandall Stewart #define SND_BLOCKED 6 16*5d8fd932SRandall Stewart #define SND_LIMITED 7 17*5d8fd932SRandall Stewart #define SND_OUT_DATA 8 18*5d8fd932SRandall Stewart #define SND_OUT_ACK 9 19*5d8fd932SRandall Stewart #define SND_OUT_FAIL 10 20*5d8fd932SRandall Stewart /* We also count in the counts array two added (MSS sent and ACKS In) */ 21*5d8fd932SRandall Stewart #define CNT_OF_MSS_OUT 11 22*5d8fd932SRandall Stewart #define CNT_OF_ACKS_IN 12 23*5d8fd932SRandall Stewart 24*5d8fd932SRandall Stewart /* for the tcpcb we add two more cycle counters */ 25*5d8fd932SRandall Stewart #define CYC_HANDLE_MAP 11 26*5d8fd932SRandall Stewart #define CYC_HANDLE_ACK 12 27*5d8fd932SRandall Stewart 28*5d8fd932SRandall Stewart /* #define TCP_NUM_PROC_COUNTERS 11 defined in tcp_var.h */ 29*5d8fd932SRandall Stewart /* #define TCP_NUM_CNT_COUNTERS 13 defined in tcp_var.h */ 30*5d8fd932SRandall Stewart 31*5d8fd932SRandall Stewart #endif 32