-
Notifications
You must be signed in to change notification settings - Fork 117
/
Copy pathnetstats_wrong.h
58 lines (53 loc) · 1.43 KB
/
netstats_wrong.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
struct tcp_stats_without_InCsumErrors {
count_t RtoAlgorithm;
count_t RtoMin;
count_t RtoMax;
count_t MaxConn;
count_t ActiveOpens;
count_t PassiveOpens;
count_t AttemptFails;
count_t EstabResets;
count_t CurrEstab;
count_t InSegs;
count_t OutSegs;
count_t RetransSegs;
count_t InErrs;
count_t OutRsts;
};
struct icmpv4_stats_without_InCsumErrors {
count_t InMsgs;
count_t InErrors;
count_t InDestUnreachs;
count_t InTimeExcds;
count_t InParmProbs;
count_t InSrcQuenchs;
count_t InRedirects;
count_t InEchos;
count_t InEchoReps;
count_t InTimestamps;
count_t InTimestampReps;
count_t InAddrMasks;
count_t InAddrMaskReps;
count_t OutMsgs;
count_t OutErrors;
count_t OutDestUnreachs;
count_t OutTimeExcds;
count_t OutParmProbs;
count_t OutSrcQuenchs;
count_t OutRedirects;
count_t OutEchos;
count_t OutEchoReps;
count_t OutTimestamps;
count_t OutTimestampReps;
count_t OutAddrMasks;
count_t OutAddrMaskReps;
};
struct netstat_wrong {
struct ipv4_stats ipv4;
struct icmpv4_stats_without_InCsumErrors icmpv4;
struct udpv4_stats udpv4;
struct ipv6_stats ipv6;
struct icmpv6_stats icmpv6;
struct udpv6_stats udpv6;
struct tcp_stats_without_InCsumErrors tcp;
};