sch_teql.c (a402eae64d0ad12b1c4a411f250d6c161e67f623) sch_teql.c (bc1f44709cf27fb2a5766cadafe7e2ad5e9cb221)
1/* net/sched/sch_teql.c "True" (or "trivial") link equalizer.
2 *
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU General Public License
5 * as published by the Free Software Foundation; either version
6 * 2 of the License, or (at your option) any later version.
7 *
8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>

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

396}
397
398static int teql_master_close(struct net_device *dev)
399{
400 netif_stop_queue(dev);
401 return 0;
402}
403
1/* net/sched/sch_teql.c "True" (or "trivial") link equalizer.
2 *
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU General Public License
5 * as published by the Free Software Foundation; either version
6 * 2 of the License, or (at your option) any later version.
7 *
8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>

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

396}
397
398static int teql_master_close(struct net_device *dev)
399{
400 netif_stop_queue(dev);
401 return 0;
402}
403
404static struct rtnl_link_stats64 *teql_master_stats64(struct net_device *dev,
405 struct rtnl_link_stats64 *stats)
404static void teql_master_stats64(struct net_device *dev,
405 struct rtnl_link_stats64 *stats)
406{
407 struct teql_master *m = netdev_priv(dev);
408
409 stats->tx_packets = m->tx_packets;
410 stats->tx_bytes = m->tx_bytes;
411 stats->tx_errors = m->tx_errors;
412 stats->tx_dropped = m->tx_dropped;
406{
407 struct teql_master *m = netdev_priv(dev);
408
409 stats->tx_packets = m->tx_packets;
410 stats->tx_bytes = m->tx_bytes;
411 stats->tx_errors = m->tx_errors;
412 stats->tx_dropped = m->tx_dropped;
413 return stats;
414}
415
416static int teql_master_mtu(struct net_device *dev, int new_mtu)
417{
418 struct teql_master *m = netdev_priv(dev);
419 struct Qdisc *q;
420
421 q = m->slaves;

--- 106 unchanged lines hidden ---
413}
414
415static int teql_master_mtu(struct net_device *dev, int new_mtu)
416{
417 struct teql_master *m = netdev_priv(dev);
418 struct Qdisc *q;
419
420 q = m->slaves;

--- 106 unchanged lines hidden ---