Lines Matching refs:timestamp_remote
1009 struct logtime timestamp_remote; in parsemsg_rfc5424() local
1049 memset(×tamp_remote, 0, sizeof(timestamp_remote)); in parsemsg_rfc5424()
1050 PARSE_NUMBER(timestamp_remote.tm.tm_year, 4, 0, 9999); in parsemsg_rfc5424()
1051 timestamp_remote.tm.tm_year -= 1900; in parsemsg_rfc5424()
1053 PARSE_NUMBER(timestamp_remote.tm.tm_mon, 2, 1, 12); in parsemsg_rfc5424()
1054 --timestamp_remote.tm.tm_mon; in parsemsg_rfc5424()
1056 PARSE_NUMBER(timestamp_remote.tm.tm_mday, 2, 1, 31); in parsemsg_rfc5424()
1058 PARSE_NUMBER(timestamp_remote.tm.tm_hour, 2, 0, 23); in parsemsg_rfc5424()
1060 PARSE_NUMBER(timestamp_remote.tm.tm_min, 2, 0, 59); in parsemsg_rfc5424()
1062 PARSE_NUMBER(timestamp_remote.tm.tm_sec, 2, 0, 59); in parsemsg_rfc5424()
1064 timegm(×tamp_remote.tm); in parsemsg_rfc5424()
1073 timestamp_remote.usec += (*msg++ - '0') * i; in parsemsg_rfc5424()
1089 timestamp_remote.tm.tm_gmtoff = in parsemsg_rfc5424()
1094 timestamp = RemoteAddDate ? NULL : ×tamp_remote; in parsemsg_rfc5424()
1270 struct logtime timestamp_remote; in parsemsg_rfc3164() local
1305 timestamp_remote.tm = tm_parsed; in parsemsg_rfc3164()
1306 timestamp_remote.tm.tm_year = year; in parsemsg_rfc3164()
1307 timestamp_remote.tm.tm_isdst = -1; in parsemsg_rfc3164()
1308 timestamp_remote.usec = 0; in parsemsg_rfc3164()
1309 if (mktime(×tamp_remote.tm) < in parsemsg_rfc3164()
1313 timestamp = ×tamp_remote; in parsemsg_rfc3164()