Go to the source code of this file.
Classes | |
| struct | ping_payload_t |
Defines | |
| #define | PING_STR "dtnping!" |
| #define | TIMEVAL_DIFF_MSEC(t1, t2) |
| #define | DTNTIME_OFFSET 946684800 |
| #define | DTNTIMEVAL_DIFF_MSEC(t1, t2) ((unsigned long int)(((t1).secs + DTNTIME_OFFSET - (t2).tv_sec))) |
| #define DTNTIMEVAL_DIFF_MSEC | ( | t1, | |||
| t2 | ) | ((unsigned long int)(((t1).secs + DTNTIME_OFFSET - (t2).tv_sec))) |
| #define TIMEVAL_DIFF_MSEC | ( | t1, | |||
| t2 | ) |
((unsigned long int)(((t1).tv_sec - (t2).tv_sec) * 1000) + \ (((t1).tv_usec - (t2).tv_usec) / 1000))
Definition at line 29 of file dtnping.h.
Referenced by dtn::StreamConvergenceLayer::Connection::check_keepalive(), dtn::StreamConvergenceLayer::Connection::handle_poll_timeout(), dtn::SerialConvergenceLayer::Connection::handle_poll_timeout(), dtn::Registration::init_expiration_timer(), dtn::Announce::interval_remaining(), main(), and dtn::ProphetTimer::time_remaining().
1.6.3