routing.c (a943e8bc058977663ba1e42389d4f5643cf2ae9e) routing.c (fec149f5d3234c037ec761d1db4cc8c0550e9964)
1// SPDX-License-Identifier: GPL-2.0
2/* Copyright (C) 2007-2017 B.A.T.M.A.N. contributors:
3 *
4 * Marek Lindner, Simon Wunderlich
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU General Public
8 * License as published by the Free Software Foundation.

--- 20 unchanged lines hidden (view full) ---

29#include <linux/kref.h>
30#include <linux/netdevice.h>
31#include <linux/printk.h>
32#include <linux/rculist.h>
33#include <linux/rcupdate.h>
34#include <linux/skbuff.h>
35#include <linux/spinlock.h>
36#include <linux/stddef.h>
1// SPDX-License-Identifier: GPL-2.0
2/* Copyright (C) 2007-2017 B.A.T.M.A.N. contributors:
3 *
4 * Marek Lindner, Simon Wunderlich
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU General Public
8 * License as published by the Free Software Foundation.

--- 20 unchanged lines hidden (view full) ---

29#include <linux/kref.h>
30#include <linux/netdevice.h>
31#include <linux/printk.h>
32#include <linux/rculist.h>
33#include <linux/rcupdate.h>
34#include <linux/skbuff.h>
35#include <linux/spinlock.h>
36#include <linux/stddef.h>
37#include <uapi/linux/batadv_packet.h>
37
38#include "bitarray.h"
39#include "bridge_loop_avoidance.h"
40#include "distributed-arp-table.h"
41#include "fragmentation.h"
42#include "hard-interface.h"
43#include "icmp_socket.h"
44#include "log.h"
45#include "network-coding.h"
46#include "originator.h"
38
39#include "bitarray.h"
40#include "bridge_loop_avoidance.h"
41#include "distributed-arp-table.h"
42#include "fragmentation.h"
43#include "hard-interface.h"
44#include "icmp_socket.h"
45#include "log.h"
46#include "network-coding.h"
47#include "originator.h"
47#include "packet.h"
48#include "send.h"
49#include "soft-interface.h"
50#include "tp_meter.h"
51#include "translation-table.h"
52#include "tvlv.h"
53
54static int batadv_route_unicast_packet(struct sk_buff *skb,
55 struct batadv_hard_iface *recv_if);

--- 1236 unchanged lines hidden ---
48#include "send.h"
49#include "soft-interface.h"
50#include "tp_meter.h"
51#include "translation-table.h"
52#include "tvlv.h"
53
54static int batadv_route_unicast_packet(struct sk_buff *skb,
55 struct batadv_hard_iface *recv_if);

--- 1236 unchanged lines hidden ---