/* Copyright (C) 2007-2014 B.A.T.M.A.N. contributors: * * Marek Lindner * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */#ifndef _NET_BATMAN_ADV_SOFT_INTERFACE_H_#define _NET_BATMAN_ADV_SOFT_INTERFACE_H_intbatadv_skb_head_push(structsk_buff*skb,unsignedintlen);voidbatadv_interface_rx(structnet_device*soft_iface,structsk_buff*skb,structbatadv_hard_iface*recv_if,inthdr_size,structbatadv_orig_node*orig_node);structnet_device*batadv_softif_create(constchar*name);voidbatadv_softif_destroy_sysfs(structnet_device*soft_iface);intbatadv_softif_is_valid(conststructnet_device*net_dev);externstructrtnl_link_opsbatadv_link_ops;intbatadv_softif_create_vlan(structbatadv_priv*bat_priv,unsignedshortvid);voidbatadv_softif_vlan_free_ref(structbatadv_softif_vlan*softif_vlan);structbatadv_softif_vlan*batadv_softif_vlan_get(structbatadv_priv*bat_priv,unsignedshortvid);#endif /* _NET_BATMAN_ADV_SOFT_INTERFACE_H_ */