Home
last modified time | relevance | path

Searched refs:timestamp_remote (Results 1 – 1 of 1) sorted by relevance

/freebsd/usr.sbin/syslogd/
H A Dsyslogd.c942 struct logtime timestamp_remote; in parsemsg_rfc5424() local
982 memset(&timestamp_remote, 0, sizeof(timestamp_remote)); in parsemsg_rfc5424()
983 PARSE_NUMBER(timestamp_remote.tm.tm_year, 4, 0, 9999); in parsemsg_rfc5424()
984 timestamp_remote.tm.tm_year -= 1900; in parsemsg_rfc5424()
986 PARSE_NUMBER(timestamp_remote.tm.tm_mon, 2, 1, 12); in parsemsg_rfc5424()
987 --timestamp_remote.tm.tm_mon; in parsemsg_rfc5424()
989 PARSE_NUMBER(timestamp_remote.tm.tm_mday, 2, 1, 31); in parsemsg_rfc5424()
991 PARSE_NUMBER(timestamp_remote.tm.tm_hour, 2, 0, 23); in parsemsg_rfc5424()
993 PARSE_NUMBER(timestamp_remote.tm.tm_min, 2, 0, 59); in parsemsg_rfc5424()
995 PARSE_NUMBER(timestamp_remote.tm.tm_sec, 2, 0, 59); in parsemsg_rfc5424()
[all …]