diff options
author | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-01-11 12:28:04 +0530 |
commit | 871480933a1c28f8a9fed4c4d34d06c439a7a422 (patch) | |
tree | 8718f573808810c2a1e8cb8fb6ac469093ca2784 /ANDROID_3.4.5/include/linux/if_eql.h | |
parent | 9d40ac5867b9aefe0722bc1f110b965ff294d30d (diff) | |
download | FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.gz FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.tar.bz2 FOSSEE-netbook-kernel-source-871480933a1c28f8a9fed4c4d34d06c439a7a422.zip |
Moved, renamed, and deleted files
The original directory structure was scattered and unorganized.
Changes are basically to make it look like kernel structure.
Diffstat (limited to 'ANDROID_3.4.5/include/linux/if_eql.h')
-rw-r--r-- | ANDROID_3.4.5/include/linux/if_eql.h | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/ANDROID_3.4.5/include/linux/if_eql.h b/ANDROID_3.4.5/include/linux/if_eql.h deleted file mode 100644 index 18a5d02a..00000000 --- a/ANDROID_3.4.5/include/linux/if_eql.h +++ /dev/null @@ -1,83 +0,0 @@ -/* - * Equalizer Load-balancer for serial network interfaces. - * - * (c) Copyright 1995 Simon "Guru Aleph-Null" Janes - * NCM: Network and Communications Management, Inc. - * - * - * This software may be used and distributed according to the terms - * of the GNU General Public License, incorporated herein by reference. - * - * The author may be reached as simon@ncm.com, or C/O - * NCM - * Attn: Simon Janes - * 6803 Whittier Ave - * McLean VA 22101 - * Phone: 1-703-847-0040 ext 103 - */ - -#ifndef _LINUX_IF_EQL_H -#define _LINUX_IF_EQL_H - -#define EQL_DEFAULT_SLAVE_PRIORITY 28800 -#define EQL_DEFAULT_MAX_SLAVES 4 -#define EQL_DEFAULT_MTU 576 -#define EQL_DEFAULT_RESCHED_IVAL HZ - -#define EQL_ENSLAVE (SIOCDEVPRIVATE) -#define EQL_EMANCIPATE (SIOCDEVPRIVATE + 1) - -#define EQL_GETSLAVECFG (SIOCDEVPRIVATE + 2) -#define EQL_SETSLAVECFG (SIOCDEVPRIVATE + 3) - -#define EQL_GETMASTRCFG (SIOCDEVPRIVATE + 4) -#define EQL_SETMASTRCFG (SIOCDEVPRIVATE + 5) - -#ifdef __KERNEL__ - -#include <linux/timer.h> -#include <linux/spinlock.h> - -typedef struct slave { - struct list_head list; - struct net_device *dev; - long priority; - long priority_bps; - long priority_Bps; - long bytes_queued; -} slave_t; - -typedef struct slave_queue { - spinlock_t lock; - struct list_head all_slaves; - int num_slaves; - struct net_device *master_dev; -} slave_queue_t; - -typedef struct equalizer { - slave_queue_t queue; - int min_slaves; - int max_slaves; - struct timer_list timer; -} equalizer_t; - -#endif /* __KERNEL__ */ - -typedef struct master_config { - char master_name[16]; - int max_slaves; - int min_slaves; -} master_config_t; - -typedef struct slave_config { - char slave_name[16]; - long priority; -} slave_config_t; - -typedef struct slaving_request { - char slave_name[16]; - long priority; -} slaving_request_t; - - -#endif /* _LINUX_EQL_H */ |