summaryrefslogtreecommitdiffstats
path: root/include/ebtables_u.h
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-09-23 10:09:51 -0700
committerSteve Kondik <steve@cyngn.com>2016-09-25 22:13:54 -0700
commit8b1e493df0ebad8ba6015a2bdae794fe04ffa982 (patch)
tree767a23e9d608ffc4df2b761540fafc8ea54a2cc7 /include/ebtables_u.h
parentd675c8a0972c9541c62c92cbfea24eabd75d1ff2 (diff)
downloadandroid_external_ebtables-cm-14.1.tar.gz
android_external_ebtables-cm-14.1.tar.bz2
android_external_ebtables-cm-14.1.zip
ebtables: Convert to standalone buildcm-14.1cm-14.0
* There is no need to create 20 shared libraries on an Android build. Convert to a standalone build to eliminate this noise. * Additionally, the scriptage in the Android makefile causes Ninja to regenerate it's configuration for every build. Fix it. * These files can be generated by the standard makefile as part of the "static" target. Change-Id: I1de9f93caf563c10f49c72a884b4c96aaf5335e0
Diffstat (limited to 'include/ebtables_u.h')
-rw-r--r--include/ebtables_u.h26
1 files changed, 22 insertions, 4 deletions
diff --git a/include/ebtables_u.h b/include/ebtables_u.h
index 07dae8e..63ce231 100644
--- a/include/ebtables_u.h
+++ b/include/ebtables_u.h
@@ -26,12 +26,9 @@
#include <netinet/in.h>
#ifdef __ANDROID_API__
-#pragma message "Found __ANDRIOD_API__, #undef __unused"
#undef __unused
-#include <ebtables.h>
-#else
-#include <linux/netfilter_bridge/ebtables.h>
#endif
+#include <linux/netfilter_bridge/ebtables.h>
#include <linux/netfilter/x_tables.h>
#ifndef IPPROTO_SCTP
@@ -390,3 +387,24 @@ extern int ebt_printstyle_mac;
# define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
#endif
#endif /* EBTABLES_U_H */
+extern void _802_3_init();
+extern void _nat_init();
+extern void _arp_init();
+extern void _arpreply_init();
+extern void _ip_init();
+extern void _ip6_init();
+extern void _standard_init();
+extern void _log_init();
+extern void _redirect_init();
+extern void _vlan_init();
+extern void _mark_m_init();
+extern void _mark_init();
+extern void _pkttype_init();
+extern void _stp_init();
+extern void _among_init();
+extern void _limit_init();
+extern void _ulog_init();
+extern void _nflog_init();
+extern void _t_filter_init();
+extern void _t_nat_init();
+extern void _t_broute_init();