diff options
author | Antonio Quartulli <ordex@autistici.org> | 2011-06-25 13:09:12 -0400 |
---|---|---|
committer | Marek Lindner <lindner_marek@yahoo.de> | 2011-07-05 08:28:54 -0400 |
commit | 8698529d209c43f6434592caf38733b84ccab5f3 (patch) | |
tree | 1ae000c69db75b4b1ce89d71c1b3c93121faab92 /net/batman-adv/send.h | |
parent | 5fbc1598c28555d2aa44bff0ac56ec3739401aff (diff) |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/send.h b/net/batman-adv/send.h index 633224ab028a..1f2d1e877663 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, | |||
31 | int directlink, | 31 | int directlink, |
32 | struct hard_iface *if_outgoing); | 32 | struct hard_iface *if_outgoing); |
33 | int add_bcast_packet_to_list(struct bat_priv *bat_priv, | 33 | int add_bcast_packet_to_list(struct bat_priv *bat_priv, |
34 | const struct sk_buff *skb); | 34 | const struct sk_buff *skb, unsigned long delay); |
35 | void send_outstanding_bat_packet(struct work_struct *work); | 35 | void send_outstanding_bat_packet(struct work_struct *work); |
36 | void purge_outstanding_packets(struct bat_priv *bat_priv, | 36 | void purge_outstanding_packets(struct bat_priv *bat_priv, |
37 | const struct hard_iface *hard_iface); | 37 | const struct hard_iface *hard_iface); |