2 * Equalizer Load-balancer for serial network interfaces.
4 * (c) Copyright 1995 Simon "Guru Aleph-Null" Janes
5 * NCM: Network and Communications Management, Inc.
8 * This software may be used and distributed according to the terms
9 * of the GNU General Public License, incorporated herein by reference.
11 * The author may be reached as simon@ncm.com, or C/O
16 * Phone: 1-703-847-0040 ext 103
19 #ifndef _LINUX_IF_EQL_H
20 #define _LINUX_IF_EQL_H
22 #include <linux/timer.h>
24 #define EQL_DEFAULT_SLAVE_PRIORITY 28800
25 #define EQL_DEFAULT_MAX_SLAVES 4
26 #define EQL_DEFAULT_MTU 576
27 #define EQL_DEFAULT_RESCHED_IVAL 100
29 #define EQL_ENSLAVE (SIOCDEVPRIVATE)
30 #define EQL_EMANCIPATE (SIOCDEVPRIVATE + 1)
32 #define EQL_GETSLAVECFG (SIOCDEVPRIVATE + 2)
33 #define EQL_SETSLAVECFG (SIOCDEVPRIVATE + 3)
35 #define EQL_GETMASTRCFG (SIOCDEVPRIVATE + 4)
36 #define EQL_SETMASTRCFG (SIOCDEVPRIVATE + 5)
38 typedef struct slave {
39 struct net_device *dev;
47 typedef struct slave_queue {
51 struct net_device *master_dev;
55 typedef struct equalizer {
59 struct net_device_stats *stats;
60 struct timer_list timer;
64 typedef struct master_config {
70 typedef struct slave_config {
75 typedef struct slaving_request {
81 #endif /* _LINUX_EQL_H */