DateTime (for SCTP)

Dependent function: None.

The following DateTime structure configures timestamps that indicate when statistics counters for SCTP were initialized to zero:

typedef struct _DateTime           /* date and time */
{
   U8 month;       /* month */
   U8 day;         /* day */
   U8 year;        /* year - since 1900 (eg. 2000 = 100) */
   U8 hour;        /* hour - 24 hour clock */
   U8 min;         /* minute */
   U8 sec;         /* second */
   U8 tenths;      /* tenths of second */
   U8 fill;
} DateTime;

The DateTime structure is a substructure to the SCTPGenSts, SCTPSctSapSts, and SCTPTSapSts structures. It contains the following fields:

Field

Type

Description

month

U8

Month.

day

U8

Day.

year

U8

(Current year) - 1900.

hour

U8

Hour in UTC time (24 hour clock).

min

U8

Minutes.

sec

U8

Seconds.

tenths

U8

Tenths of seconds.

fill

U8

Not used.