iPXE
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
Data Structure Index
+
Data Fields
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
b
d
i
p
s
t
u
v
x
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Enumerations
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
include
ipxe
syslog.h
Go to the documentation of this file.
1
#ifndef _IPXE_SYSLOG_H
2
#define _IPXE_SYSLOG_H
3
4
/** @file
5
*
6
* Syslog protocol
7
*
8
*/
9
10
FILE_LICENCE
( GPL2_OR_LATER_OR_UBDL );
11
12
#include <
syslog.h
>
13
14
/** Syslog server port */
15
#define SYSLOG_PORT 514
16
17
/** Syslog line buffer size
18
*
19
* This is a policy decision
20
*/
21
#define SYSLOG_BUFSIZE 128
22
23
/** Syslog default facility
24
*
25
* This is a policy decision
26
*/
27
#define SYSLOG_DEFAULT_FACILITY 0
/* kernel */
28
29
/** Syslog default severity
30
*
31
* This is a policy decision
32
*/
33
#define SYSLOG_DEFAULT_SEVERITY LOG_INFO
34
35
/** Syslog priority */
36
#define SYSLOG_PRIORITY( facility, severity ) ( 8 * (facility) + (severity) )
37
38
extern
int
syslog_send
(
struct
interface
*xfer,
unsigned
int
severity,
39
const
char
*
message
,
const
char
*
terminator
);
40
41
#endif
/* _IPXE_SYSLOG_H */
FILE_LICENCE
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
interface
An object interface.
Definition:
interface.h:124
syslog.h
Syslog protocol.
syslog_send
int syslog_send(struct interface *xfer, unsigned int severity, const char *message, const char *terminator)
Transmit formatted syslog message.
Definition:
syslog.c:97
message
char message[VMCONSOLE_BUFSIZE]
Definition:
vmconsole.c:54
terminator
struct eth_slow_terminator_tlv terminator
Terminator.
Definition:
eth_slow.h:20
Generated by
1.8.15