send.h (a943e8bc058977663ba1e42389d4f5643cf2ae9e) send.h (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.

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

19#ifndef _NET_BATMAN_ADV_SEND_H_
20#define _NET_BATMAN_ADV_SEND_H_
21
22#include "main.h"
23
24#include <linux/compiler.h>
25#include <linux/spinlock.h>
26#include <linux/types.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.

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

19#ifndef _NET_BATMAN_ADV_SEND_H_
20#define _NET_BATMAN_ADV_SEND_H_
21
22#include "main.h"
23
24#include <linux/compiler.h>
25#include <linux/spinlock.h>
26#include <linux/types.h>
27#include <uapi/linux/batadv_packet.h>
27
28
28#include "packet.h"
29
30struct sk_buff;
31
32void batadv_forw_packet_free(struct batadv_forw_packet *forw_packet,
33 bool dropped);
34struct batadv_forw_packet *
35batadv_forw_packet_alloc(struct batadv_hard_iface *if_incoming,
36 struct batadv_hard_iface *if_outgoing,
37 atomic_t *queue_left,

--- 89 unchanged lines hidden ---
29struct sk_buff;
30
31void batadv_forw_packet_free(struct batadv_forw_packet *forw_packet,
32 bool dropped);
33struct batadv_forw_packet *
34batadv_forw_packet_alloc(struct batadv_hard_iface *if_incoming,
35 struct batadv_hard_iface *if_outgoing,
36 atomic_t *queue_left,

--- 89 unchanged lines hidden ---