#include <stdio.h>#include <stdlib.h>#include <string.h>#include <getopt.h>#include "../include/ebtables_u.h"#include <linux/netfilter_bridge/ebt_log.h>
Data Structures | |
| struct | _code |
Macros | |
| #define | LOG_EMERG 0 /* system is unusable */ |
| #define | LOG_ALERT 1 /* action must be taken immediately */ |
| #define | LOG_CRIT 2 /* critical conditions */ |
| #define | LOG_ERR 3 /* error conditions */ |
| #define | LOG_WARNING 4 /* warning conditions */ |
| #define | LOG_NOTICE 5 /* normal but significant condition */ |
| #define | LOG_INFO 6 /* informational */ |
| #define | LOG_DEBUG 7 /* debug-level messages */ |
| #define | LOG_DEFAULT_LEVEL LOG_INFO |
| #define | LOG_PREFIX '1' |
| #define | LOG_LEVEL '2' |
| #define | LOG_ARP '3' |
| #define | LOG_IP '4' |
| #define | LOG_LOG '5' |
| #define | LOG_IP6 '6' |
| #define | OPT_PREFIX 0x01 |
| #define | OPT_LEVEL 0x02 |
| #define | OPT_ARP 0x04 |
| #define | OPT_IP 0x08 |
| #define | OPT_LOG 0x10 |
| #define | OPT_IP6 0x20 |
Typedefs | |
| typedef struct _code | CODE |
Functions | |
| void | _init (void) |
| #define LOG_ALERT 1 /* action must be taken immediately */ |
| #define LOG_ARP '3' |
| #define LOG_CRIT 2 /* critical conditions */ |
| #define LOG_DEBUG 7 /* debug-level messages */ |
Referenced by rtnl_handler_register(), and rtnl_handler_unregister().
| #define LOG_DEFAULT_LEVEL LOG_INFO |
| #define LOG_EMERG 0 /* system is unusable */ |
| #define LOG_ERR 3 /* error conditions */ |
Referenced by cthelper_init(), ctnl_init(), dlog(), dlog_ct(), dlog_exp(), init(), nl_flush_conntrack_table_selective(), and nl_init_event_handler().
| #define LOG_INFO 6 /* informational */ |
Referenced by dlog(), dlog_ct(), and dlog_exp().
| #define LOG_IP '4' |
| #define LOG_IP6 '6' |
| #define LOG_LEVEL '2' |
| #define LOG_LOG '5' |
| #define LOG_NOTICE 5 /* normal but significant condition */ |
Referenced by ctnl_init(), dlog(), init(), killer(), main(), nl_init_event_handler(), nl_resize_socket_buffer(), and rtnl_receive().
| #define LOG_PREFIX '1' |
| #define LOG_WARNING 4 /* warning conditions */ |
Referenced by dlog(), and nl_resize_socket_buffer().
| #define OPT_ARP 0x04 |
| #define OPT_IP 0x08 |
| #define OPT_IP6 0x20 |
| #define OPT_LEVEL 0x02 |
| #define OPT_LOG 0x10 |
| #define OPT_PREFIX 0x01 |
| void _init | ( | void | ) |