12 #define Mbit (Kbit*Kbit)
14 #define SEC_TO_USEC 1000000LL
15 #define MSEC_TO_USEC 1000LL
16 #define USEC_TO_NSEC 1000LL
26 /* unsigned int tos; */
27 struct timespec send_timestamp;
28 /* struct timespec sendback_timestamp; */
29 /* unsigned long int seqn; */
35 char nonsense[BUFFSIZE];
39 extern const int prio_to_ac[8];
40 extern const unsigned int ac_to_tos[4];
41 extern const char *ac_to_text[4];
43 void block_signals(void);
44 void set_rt_prio(int priority);
45 char *bandwidth_to_text(char *buf, unsigned bandwidth_bps);
46 char *usec_to_text(char *buf, unsigned usec);