Lines Matching refs:timestamp_remote
1007 struct logtime timestamp_remote; in parsemsg_rfc5424() local
1047 memset(×tamp_remote, 0, sizeof(timestamp_remote)); in parsemsg_rfc5424()
1048 PARSE_NUMBER(timestamp_remote.tm.tm_year, 4, 0, 9999); in parsemsg_rfc5424()
1049 timestamp_remote.tm.tm_year -= 1900; in parsemsg_rfc5424()
1051 PARSE_NUMBER(timestamp_remote.tm.tm_mon, 2, 1, 12); in parsemsg_rfc5424()
1052 --timestamp_remote.tm.tm_mon; in parsemsg_rfc5424()
1054 PARSE_NUMBER(timestamp_remote.tm.tm_mday, 2, 1, 31); in parsemsg_rfc5424()
1056 PARSE_NUMBER(timestamp_remote.tm.tm_hour, 2, 0, 23); in parsemsg_rfc5424()
1058 PARSE_NUMBER(timestamp_remote.tm.tm_min, 2, 0, 59); in parsemsg_rfc5424()
1060 PARSE_NUMBER(timestamp_remote.tm.tm_sec, 2, 0, 59); in parsemsg_rfc5424()
1062 timegm(×tamp_remote.tm); in parsemsg_rfc5424()
1071 timestamp_remote.usec += (*msg++ - '0') * i; in parsemsg_rfc5424()
1087 timestamp_remote.tm.tm_gmtoff = in parsemsg_rfc5424()
1092 timestamp = RemoteAddDate ? NULL : ×tamp_remote; in parsemsg_rfc5424()
1269 struct logtime timestamp_remote; in parsemsg_rfc3164() local
1304 timestamp_remote.tm = tm_parsed; in parsemsg_rfc3164()
1305 timestamp_remote.tm.tm_year = year; in parsemsg_rfc3164()
1306 timestamp_remote.tm.tm_isdst = -1; in parsemsg_rfc3164()
1307 timestamp_remote.usec = 0; in parsemsg_rfc3164()
1308 if (mktime(×tamp_remote.tm) < in parsemsg_rfc3164()
1312 timestamp = ×tamp_remote; in parsemsg_rfc3164()