soft-interface.c (39901e716275da4e831b40f9e45a1b61d6a776dc) soft-interface.c (e6c10f433af9c98994c94a10ae862c152fcfb2a9)
1/*
2 * Copyright (C) 2007-2011 B.A.T.M.A.N. contributors:
3 *
4 * Marek Lindner, Simon Wunderlich
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU General Public
8 * License as published by the Free Software Foundation.

--- 400 unchanged lines hidden (view full) ---

409 kfree_skb(skb);
410dropped_freed:
411 bat_priv->stats.tx_dropped++;
412end:
413 return NETDEV_TX_OK;
414}
415
416void interface_rx(struct net_device *soft_iface,
1/*
2 * Copyright (C) 2007-2011 B.A.T.M.A.N. contributors:
3 *
4 * Marek Lindner, Simon Wunderlich
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of version 2 of the GNU General Public
8 * License as published by the Free Software Foundation.

--- 400 unchanged lines hidden (view full) ---

409 kfree_skb(skb);
410dropped_freed:
411 bat_priv->stats.tx_dropped++;
412end:
413 return NETDEV_TX_OK;
414}
415
416void interface_rx(struct net_device *soft_iface,
417 struct sk_buff *skb, struct batman_if *recv_if,
417 struct sk_buff *skb, struct hard_iface *recv_if,
418 int hdr_size)
419{
420 struct bat_priv *bat_priv = netdev_priv(soft_iface);
421 struct unicast_packet *unicast_packet;
422 struct ethhdr *ethhdr;
423 struct vlan_ethhdr *vhdr;
424 short vid = -1;
425 int ret;

--- 248 unchanged lines hidden ---
418 int hdr_size)
419{
420 struct bat_priv *bat_priv = netdev_priv(soft_iface);
421 struct unicast_packet *unicast_packet;
422 struct ethhdr *ethhdr;
423 struct vlan_ethhdr *vhdr;
424 short vid = -1;
425 int ret;

--- 248 unchanged lines hidden ---