]>
Commit | Line | Data |
---|---|---|
b24880fe | 1 | /* |
bbc27441 | 2 | * Copyright (C) 1996-2014 The Squid Software Foundation and contributors |
b24880fe | 3 | * |
bbc27441 AJ |
4 | * Squid software is distributed under GPLv2+ license and includes |
5 | * contributions from numerous individuals and organizations. | |
6 | * Please see the COPYING and CONTRIBUTORS files for details. | |
b24880fe | 7 | */ |
bbc27441 | 8 | |
b24880fe | 9 | #ifndef SQUID_PINGDATA_H |
10 | #define SQUID_PINGDATA_H | |
11 | ||
12 | class ping_data | |
13 | { | |
14 | ||
15 | public: | |
16 | ping_data(); | |
17 | ||
18 | struct timeval start; | |
19 | ||
20 | struct timeval stop; | |
21 | int n_sent; | |
22 | int n_recv; | |
23 | int n_replies_expected; | |
24 | int timeout; /* msec */ | |
25 | int timedout; | |
26 | int w_rtt; | |
27 | int p_rtt; | |
28 | }; | |
29 | ||
30 | #endif /* SQUID_PINGDATA_H */ |