Lines Matching refs:timestamp_remote
951 struct logtime timestamp_remote; in parsemsg_rfc5424() local
991 memset(×tamp_remote, 0, sizeof(timestamp_remote)); in parsemsg_rfc5424()
992 PARSE_NUMBER(timestamp_remote.tm.tm_year, 4, 0, 9999); in parsemsg_rfc5424()
993 timestamp_remote.tm.tm_year -= 1900; in parsemsg_rfc5424()
995 PARSE_NUMBER(timestamp_remote.tm.tm_mon, 2, 1, 12); in parsemsg_rfc5424()
996 --timestamp_remote.tm.tm_mon; in parsemsg_rfc5424()
998 PARSE_NUMBER(timestamp_remote.tm.tm_mday, 2, 1, 31); in parsemsg_rfc5424()
1000 PARSE_NUMBER(timestamp_remote.tm.tm_hour, 2, 0, 23); in parsemsg_rfc5424()
1002 PARSE_NUMBER(timestamp_remote.tm.tm_min, 2, 0, 59); in parsemsg_rfc5424()
1004 PARSE_NUMBER(timestamp_remote.tm.tm_sec, 2, 0, 59); in parsemsg_rfc5424()
1006 timegm(×tamp_remote.tm); in parsemsg_rfc5424()
1015 timestamp_remote.usec += (*msg++ - '0') * i; in parsemsg_rfc5424()
1031 timestamp_remote.tm.tm_gmtoff = in parsemsg_rfc5424()
1036 timestamp = RemoteAddDate ? NULL : ×tamp_remote; in parsemsg_rfc5424()
1213 struct logtime timestamp_remote; in parsemsg_rfc3164() local
1248 timestamp_remote.tm = tm_parsed; in parsemsg_rfc3164()
1249 timestamp_remote.tm.tm_year = year; in parsemsg_rfc3164()
1250 timestamp_remote.tm.tm_isdst = -1; in parsemsg_rfc3164()
1251 timestamp_remote.usec = 0; in parsemsg_rfc3164()
1252 if (mktime(×tamp_remote.tm) < in parsemsg_rfc3164()
1256 timestamp = ×tamp_remote; in parsemsg_rfc3164()