path: root/include
diff options
authorBart De Schuymer <>2002-08-11 16:15:55 +0000
committerBart De Schuymer <>2002-08-11 16:15:55 +0000
commitd4586483ef96120064d4612b8c9c0846bc5d7679 (patch)
treeb5004d0b3f624b5e74742ff29f0db0656ed50242 /include
parent923a57375e6ab67e198f7036fc637d980b3fe764 (diff)
*** empty log message ***
Diffstat (limited to 'include')
1 files changed, 2 insertions, 7 deletions
diff --git a/include/ebtables_u.h b/include/ebtables_u.h
index fa34e18..3fe6668 100644
--- a/include/ebtables_u.h
+++ b/include/ebtables_u.h
@@ -24,7 +24,6 @@
#ifndef EBTABLES_U_H
#define EBTABLES_U_H
#include <linux/netfilter_bridge/ebtables.h>
-#include <linux/br_db.h>
struct ebt_u_entries
@@ -198,21 +197,17 @@ struct ebt_u_watcher *find_watcher(const char *name);
struct ebt_u_table *find_table(char *name);
void deliver_counters(struct ebt_u_replace *repl);
void deliver_table(struct ebt_u_replace *repl);
-void get_dbinfo(struct brdb_dbinfo *nr);
-void get_db(int len, struct brdb_dbentry *db);
-void deliver_allowdb(__u16 *decision);
int name_to_number(char *name, __u16 *proto);
int number_to_name(unsigned short proto, char *name);
void check_option(unsigned int *flags, unsigned int mask);
int check_inverse(const char option[]);
+void __print_bug(char *file, int line, char *format, ...);
#define print_bug(format, args...) \
- {printf("BUG: "format".\n", ##args); exit(-1);}
+ __print_bug(__FILE__, __LINE__, format, ##args)
#define print_error(format, args...) {printf(format".\n", ##args); exit(-1);}
#define print_memory() {printf("Ebtables: " __FILE__ " " __FUNCTION__ \
" %d :Out of memory.\n", __LINE__); exit(-1);}
// used for keeping the rule counters right during rule adds or deletes
#define CNT_NORM 0
#define CNT_DEL 1