4 * Definitions for the CHU line discipline v2.0
8 * The CHU time code consists of 10 BCD digits and is repeated
9 * twice for a total of 10 characters. A time is taken after
10 * the arrival of each character. The following structure is
11 * used to return this stuff.
13 #define NCHUCHARS (10)
16 u_char codechars
[NCHUCHARS
]; /* code characters */
17 u_char ncodechars
; /* number of code characters */
18 u_char chutype
; /* packet type */
19 struct timeval codetimes
[NCHUCHARS
]; /* arrival times */
22 #define CHU_TIME 0 /* second half is equal to first half */
23 #define CHU_YEAR 1 /* second half is one's complement */