|
@@ -15,26 +15,50 @@
|
|
|
* along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
|
*/
|
|
|
|
|
|
-#include "main.h"
|
|
|
#include "soft-interface.h"
|
|
|
-#include "hard-interface.h"
|
|
|
-#include "distributed-arp-table.h"
|
|
|
-#include "routing.h"
|
|
|
-#include "send.h"
|
|
|
-#include "debugfs.h"
|
|
|
-#include "translation-table.h"
|
|
|
-#include "hash.h"
|
|
|
-#include "gateway_common.h"
|
|
|
-#include "gateway_client.h"
|
|
|
-#include "sysfs.h"
|
|
|
-#include "originator.h"
|
|
|
-#include <linux/slab.h>
|
|
|
-#include <linux/ethtool.h>
|
|
|
+#include "main.h"
|
|
|
+
|
|
|
+#include <linux/atomic.h>
|
|
|
+#include <linux/byteorder/generic.h>
|
|
|
+#include <linux/cache.h>
|
|
|
+#include <linux/compiler.h>
|
|
|
+#include <linux/errno.h>
|
|
|
#include <linux/etherdevice.h>
|
|
|
+#include <linux/ethtool.h>
|
|
|
+#include <linux/fs.h>
|
|
|
+#include <linux/if_ether.h>
|
|
|
#include <linux/if_vlan.h>
|
|
|
-#include "multicast.h"
|
|
|
+#include <linux/jiffies.h>
|
|
|
+#include <linux/kernel.h>
|
|
|
+#include <linux/list.h>
|
|
|
+#include <linux/lockdep.h>
|
|
|
+#include <linux/netdevice.h>
|
|
|
+#include <linux/percpu.h>
|
|
|
+#include <linux/printk.h>
|
|
|
+#include <linux/random.h>
|
|
|
+#include <linux/rculist.h>
|
|
|
+#include <linux/rcupdate.h>
|
|
|
+#include <linux/skbuff.h>
|
|
|
+#include <linux/slab.h>
|
|
|
+#include <linux/socket.h>
|
|
|
+#include <linux/spinlock.h>
|
|
|
+#include <linux/stddef.h>
|
|
|
+#include <linux/string.h>
|
|
|
+#include <linux/types.h>
|
|
|
+#include <linux/workqueue.h>
|
|
|
+
|
|
|
#include "bridge_loop_avoidance.h"
|
|
|
+#include "debugfs.h"
|
|
|
+#include "distributed-arp-table.h"
|
|
|
+#include "gateway_client.h"
|
|
|
+#include "gateway_common.h"
|
|
|
+#include "hard-interface.h"
|
|
|
+#include "multicast.h"
|
|
|
#include "network-coding.h"
|
|
|
+#include "packet.h"
|
|
|
+#include "send.h"
|
|
|
+#include "sysfs.h"
|
|
|
+#include "translation-table.h"
|
|
|
|
|
|
static int batadv_get_settings(struct net_device *dev, struct ethtool_cmd *cmd);
|
|
|
static void batadv_get_drvinfo(struct net_device *dev,
|