~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to net/batman-adv/send.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
4
 * Marek Lindner, Simon Wunderlich
5
5
 *
22
22
#ifndef _NET_BATMAN_ADV_SEND_H_
23
23
#define _NET_BATMAN_ADV_SEND_H_
24
24
 
25
 
#include "types.h"
26
 
 
27
25
int send_skb_packet(struct sk_buff *skb,
28
 
                                struct batman_if *batman_if,
 
26
                                struct hard_iface *hard_iface,
29
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
29
void schedule_forward_packet(struct orig_node *orig_node,
32
30
                             struct ethhdr *ethhdr,
33
31
                             struct batman_packet *batman_packet,
34
 
                             uint8_t directlink, int hna_buff_len,
35
 
                             struct batman_if *if_outgoing);
 
32
                             uint8_t directlink, int tt_buff_len,
 
33
                             struct hard_iface *if_outgoing);
36
34
int add_bcast_packet_to_list(struct bat_priv *bat_priv, struct sk_buff *skb);
37
35
void send_outstanding_bat_packet(struct work_struct *work);
38
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
39
#endif /* _NET_BATMAN_ADV_SEND_H_ */