2 * netsniff-ng - the packet sniffing beast
3 * By Daniel Borkmann <daniel@netsniff-ng.org>
4 * Copyright 2009, 2010 Daniel Borkmann.
5 * Subject to the GPL, version 2.
21 static inline void panic(const char *format
, ...) __check_format_printf(1, 2);
22 static inline void syslog_panic(const char *format
,
23 ...) __check_format_printf(1, 2);
24 static inline void syslog_maybe(int may
, int priority
,
25 const char *format
, ...) __check_format_printf(3, 4);
27 static inline void die(void)
32 static inline void _die(void)
37 static inline void panic(const char *format
, ...)
42 vfprintf(stderr
, format
, vl
);
48 static inline void syslog_panic(const char *format
, ...)
53 vsyslog(LOG_ERR
, format
, vl
);
59 static inline void syslog_maybe(int maybe
, int priority
, const char *format
, ...)
65 vsyslog(priority
, format
, vl
);