diff options
Diffstat (limited to 'net/batman-adv/send.h')
-rw-r--r-- | net/batman-adv/send.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/net/batman-adv/send.h b/net/batman-adv/send.h index c4cefa8e4f85..7b2ff19c05e7 100644 --- a/net/batman-adv/send.h +++ b/net/batman-adv/send.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2007-2010 B.A.T.M.A.N. contributors: | 2 | * Copyright (C) 2007-2011 B.A.T.M.A.N. contributors: |
3 | * | 3 | * |
4 | * Marek Lindner, Simon Wunderlich | 4 | * Marek Lindner, Simon Wunderlich |
5 | * | 5 | * |
@@ -22,20 +22,18 @@ | |||
22 | #ifndef _NET_BATMAN_ADV_SEND_H_ | 22 | #ifndef _NET_BATMAN_ADV_SEND_H_ |
23 | #define _NET_BATMAN_ADV_SEND_H_ | 23 | #define _NET_BATMAN_ADV_SEND_H_ |
24 | 24 | ||
25 | #include "types.h" | ||
26 | |||
27 | int send_skb_packet(struct sk_buff *skb, | 25 | int send_skb_packet(struct sk_buff *skb, |
28 | struct batman_if *batman_if, | 26 | struct hard_iface *hard_iface, |
29 | uint8_t *dst_addr); | 27 | uint8_t *dst_addr); |
30 | void schedule_own_packet(struct batman_if *batman_if); | 28 | void schedule_own_packet(struct hard_iface *hard_iface); |
31 | void schedule_forward_packet(struct orig_node *orig_node, | 29 | void schedule_forward_packet(struct orig_node *orig_node, |
32 | struct ethhdr *ethhdr, | 30 | struct ethhdr *ethhdr, |
33 | struct batman_packet *batman_packet, | 31 | struct batman_packet *batman_packet, |
34 | uint8_t directlink, int hna_buff_len, | 32 | uint8_t directlink, int hna_buff_len, |
35 | struct batman_if *if_outgoing); | 33 | struct hard_iface *if_outgoing); |
36 | int add_bcast_packet_to_list(struct bat_priv *bat_priv, struct sk_buff *skb); | 34 | int add_bcast_packet_to_list(struct bat_priv *bat_priv, struct sk_buff *skb); |
37 | void send_outstanding_bat_packet(struct work_struct *work); | 35 | void send_outstanding_bat_packet(struct work_struct *work); |
38 | void purge_outstanding_packets(struct bat_priv *bat_priv, | 36 | void purge_outstanding_packets(struct bat_priv *bat_priv, |
39 | struct batman_if *batman_if); | 37 | struct hard_iface *hard_iface); |
40 | 38 | ||
41 | #endif /* _NET_BATMAN_ADV_SEND_H_ */ | 39 | #endif /* _NET_BATMAN_ADV_SEND_H_ */ |