10 FILE_LICENCE ( GPL2_OR_LATER );
14 /** Syslog server port */
15 #define SYSLOG_PORT 514
17 /** Syslog line buffer size
19 * This is a policy decision
21 #define SYSLOG_BUFSIZE 128
23 /** Syslog default facility
25 * This is a policy decision
27 #define SYSLOG_DEFAULT_FACILITY 0 /* kernel */
29 /** Syslog default severity
31 * This is a policy decision
33 #define SYSLOG_DEFAULT_SEVERITY LOG_INFO
35 /** Syslog priority */
36 #define SYSLOG_PRIORITY( facility, severity ) ( 8 * (facility) + (severity) )
38 extern int syslog_send ( struct interface *xfer, unsigned int severity,
39 const char *message, const char *terminator );
41 #endif /* _IPXE_SYSLOG_H */