Lines Matching refs:timestamp_remote
949 struct logtime timestamp_remote; in parsemsg_rfc5424() local
989 memset(×tamp_remote, 0, sizeof(timestamp_remote)); in parsemsg_rfc5424()
990 PARSE_NUMBER(timestamp_remote.tm.tm_year, 4, 0, 9999); in parsemsg_rfc5424()
991 timestamp_remote.tm.tm_year -= 1900; in parsemsg_rfc5424()
993 PARSE_NUMBER(timestamp_remote.tm.tm_mon, 2, 1, 12); in parsemsg_rfc5424()
994 --timestamp_remote.tm.tm_mon; in parsemsg_rfc5424()
996 PARSE_NUMBER(timestamp_remote.tm.tm_mday, 2, 1, 31); in parsemsg_rfc5424()
998 PARSE_NUMBER(timestamp_remote.tm.tm_hour, 2, 0, 23); in parsemsg_rfc5424()
1000 PARSE_NUMBER(timestamp_remote.tm.tm_min, 2, 0, 59); in parsemsg_rfc5424()
1002 PARSE_NUMBER(timestamp_remote.tm.tm_sec, 2, 0, 59); in parsemsg_rfc5424()
1004 timegm(×tamp_remote.tm); in parsemsg_rfc5424()
1013 timestamp_remote.usec += (*msg++ - '0') * i; in parsemsg_rfc5424()
1029 timestamp_remote.tm.tm_gmtoff = in parsemsg_rfc5424()
1034 timestamp = RemoteAddDate ? NULL : ×tamp_remote; in parsemsg_rfc5424()
1170 struct logtime timestamp_remote; in parsemsg_rfc3164() local
1205 timestamp_remote.tm = tm_parsed; in parsemsg_rfc3164()
1206 timestamp_remote.tm.tm_year = year; in parsemsg_rfc3164()
1207 timestamp_remote.tm.tm_isdst = -1; in parsemsg_rfc3164()
1208 timestamp_remote.usec = 0; in parsemsg_rfc3164()
1209 if (mktime(×tamp_remote.tm) < in parsemsg_rfc3164()
1213 timestamp = ×tamp_remote; in parsemsg_rfc3164()