1 /******************************************************************************
9 Description: LTP Header information
11 ******************************************************************************/
17 /* structure to hold all the data from an LTP header.
18 * Note that this isn't the RAW header like in IP,TCP;
19 * it is a structure to hold all the information. The
20 * RAW header is mostly SDNV values
23 u_char vers_ctl; /* Version and Control Field*/
24 int sender_id; /* Session sender id*/
25 int session_num; /* session number */
26 u_char extensions; /* number of extensions field (split header/trailer)*/
27 int cls_id; /* Data segment Client Service ID */
28 int offset; /* Data segment data offset*/
29 int length; /* Data segment data length*/
30 int checkpoint; /* Checkpoint number */
31 int report; /* Report Number */
32 int ubound; /* Report Upper Bound*/
33 int lbound; /* Report Lower Bound*/
34 int rclaims; /* Number of Reception Claims for Report */
35 int reason; /* Cancellation Reason code */
38 /* SDNV manipulation functions*/
39 int evaluate_sdnv(const u_char* loc, int *bytecount);
40 long long evaluate_sdnv_64(const u_char* loc, int *bytecount);