diff options
Diffstat (limited to 'net/batman-adv/soft-interface.h')
-rw-r--r-- | net/batman-adv/soft-interface.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/net/batman-adv/soft-interface.h b/net/batman-adv/soft-interface.h index 020300673884..2711ba5b1233 100644 --- a/net/batman-adv/soft-interface.h +++ b/net/batman-adv/soft-interface.h | |||
@@ -1,5 +1,4 @@ | |||
1 | /* | 1 | /* Copyright (C) 2007-2012 B.A.T.M.A.N. contributors: |
2 | * Copyright (C) 2007-2012 B.A.T.M.A.N. contributors: | ||
3 | * | 2 | * |
4 | * Marek Lindner | 3 | * Marek Lindner |
5 | * | 4 | * |
@@ -16,18 +15,16 @@ | |||
16 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, write to the Free Software |
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
18 | * 02110-1301, USA | 17 | * 02110-1301, USA |
19 | * | ||
20 | */ | 18 | */ |
21 | 19 | ||
22 | #ifndef _NET_BATMAN_ADV_SOFT_INTERFACE_H_ | 20 | #ifndef _NET_BATMAN_ADV_SOFT_INTERFACE_H_ |
23 | #define _NET_BATMAN_ADV_SOFT_INTERFACE_H_ | 21 | #define _NET_BATMAN_ADV_SOFT_INTERFACE_H_ |
24 | 22 | ||
25 | int my_skb_head_push(struct sk_buff *skb, unsigned int len); | 23 | int batadv_skb_head_push(struct sk_buff *skb, unsigned int len); |
26 | void interface_rx(struct net_device *soft_iface, | 24 | void batadv_interface_rx(struct net_device *soft_iface, struct sk_buff *skb, |
27 | struct sk_buff *skb, struct hard_iface *recv_if, | 25 | struct hard_iface *recv_if, int hdr_size); |
28 | int hdr_size); | 26 | struct net_device *batadv_softif_create(const char *name); |
29 | struct net_device *softif_create(const char *name); | 27 | void batadv_softif_destroy(struct net_device *soft_iface); |
30 | void softif_destroy(struct net_device *soft_iface); | 28 | int batadv_softif_is_valid(const struct net_device *net_dev); |
31 | int softif_is_valid(const struct net_device *net_dev); | ||
32 | 29 | ||
33 | #endif /* _NET_BATMAN_ADV_SOFT_INTERFACE_H_ */ | 30 | #endif /* _NET_BATMAN_ADV_SOFT_INTERFACE_H_ */ |