summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/send.h
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2011-06-25 19:09:12 +0200
committerMarek Lindner <lindner_marek@yahoo.de>2011-07-05 14:28:54 +0200
commit8698529d209c43f6434592caf38733b84ccab5f3 (patch)
tree1ae000c69db75b4b1ce89d71c1b3c93121faab92 /net/batman-adv/send.h
parent5fbc1598c28555d2aa44bff0ac56ec3739401aff (diff)
downloadop-kernel-dev-8698529d209c43f6434592caf38733b84ccab5f3.zip
op-kernel-dev-8698529d209c43f6434592caf38733b84ccab5f3.tar.gz
batman-adv: add_bcast_packet_to_list() takes the sending delay as parameter
In order to make possible to use the broadcast list for delayed sendings the "delay" parameter is now provided instead of using 1 as hardcoded value. Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Diffstat (limited to 'net/batman-adv/send.h')
-rw-r--r--net/batman-adv/send.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/send.h b/net/batman-adv/send.h
index 633224a..1f2d1e8 100644
--- a/net/batman-adv/send.h
+++ b/net/batman-adv/send.h
@@ -31,7 +31,7 @@ void schedule_forward_packet(struct orig_node *orig_node,
int directlink,
struct hard_iface *if_outgoing);
int add_bcast_packet_to_list(struct bat_priv *bat_priv,
- const struct sk_buff *skb);
+ const struct sk_buff *skb, unsigned long delay);
void send_outstanding_bat_packet(struct work_struct *work);
void purge_outstanding_packets(struct bat_priv *bat_priv,
const struct hard_iface *hard_iface);
OpenPOWER on IntegriCloud