mirror of
https://github.com/xcat2/xNBA.git
synced 2026-03-25 15:53:29 +00:00
Originally-implemented-by: Anselm Martin Hoffmeister <anselm@hoffmeister.be> Signed-off-by: Michael Brown <mcb30@ipxe.org>
37 lines
592 B
C
37 lines
592 B
C
#ifndef _IPXE_SYSLOG_H
|
|
#define _IPXE_SYSLOG_H
|
|
|
|
/** @file
|
|
*
|
|
* Syslog protocol
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER );
|
|
|
|
/** Syslog server port */
|
|
#define SYSLOG_PORT 514
|
|
|
|
/** Syslog line buffer size
|
|
*
|
|
* This is a policy decision
|
|
*/
|
|
#define SYSLOG_BUFSIZE 128
|
|
|
|
/** Syslog facility
|
|
*
|
|
* This is a policy decision
|
|
*/
|
|
#define SYSLOG_FACILITY 0 /* kernel */
|
|
|
|
/** Syslog severity
|
|
*
|
|
* This is a policy decision
|
|
*/
|
|
#define SYSLOG_SEVERITY 6 /* informational */
|
|
|
|
/** Syslog priority */
|
|
#define SYSLOG_PRIORITY( facility, severity ) ( 8 * (facility) + (severity) )
|
|
|
|
#endif /* _IPXE_SYSLOG_H */
|