/*
 * 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


#include <linux/timer.h>
#include <linux/spinlock.h>
#include <uapi/linux/if_eql.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 /* _LINUX_EQL_H */
itch'/></form></td></tr>
<tr><td class='sub'>Wiki for www.freedesktop.org</td><td class='sub right'>ikiwiki</td></tr></table>
<table class='tabs'><tr><td>
<a href='/wiki/www/'>summary</a><a href='/wiki/www/refs/?id=baa209b6b6287d5a2ffa53e4b0d0966f206f1dbc'>refs</a><a class='active' href='/wiki/www/log/AccountRequests.mdwn'>log</a><a href='/wiki/www/tree/AccountRequests.mdwn?id=baa209b6b6287d5a2ffa53e4b0d0966f206f1dbc'>tree</a><a href='/wiki/www/commit/AccountRequests.mdwn?id=baa209b6b6287d5a2ffa53e4b0d0966f206f1dbc'>commit</a><a href='/wiki/www/diff/AccountRequests.mdwn?id=baa209b6b6287d5a2ffa53e4b0d0966f206f1dbc'>diff</a></td><td class='form'><form class='right' method='get' action='/wiki/www/log/AccountRequests.mdwn'>
<input type='hidden' name='id' value='baa209b6b6287d5a2ffa53e4b0d0966f206f1dbc'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/wiki/www/log/?id=baa209b6b6287d5a2ffa53e4b0d0966f206f1dbc'>root</a>/<a href='/wiki/www/log/AccountRequests.mdwn?id=baa209b6b6287d5a2ffa53e4b0d0966f206f1dbc'>AccountRequests.mdwn</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/wiki/www/log/AccountRequests.mdwn?id=baa209b6b6287d5a2ffa53e4b0d0966f206f1dbc&amp;showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>
<tr><td><span title='2019-04-24 11:37:21 +0200'>2019-04-24</span></td><td><a href='/wiki/www/commit/AccountRequests.mdwn?id=a8678e77428b487b384e4b72b1fa6d8c23b3e448'>(no commit message)</a></td><td>DanielVetter</td><td>1</td><td><span class='deletions'>-0</span>/<span class='insertions'>+2</span></td></tr>
<tr><td><span title='2019-02-18 19:35:52 +0000'>2019-02-18</span></td><td><a href='/wiki/www/commit/AccountRequests.mdwn?id=ff5c2a0f479921c28ab40e2e6ef162e3a78929ef'>Substantially rewrite a lot of pages</a></td><td>Daniel Stone</td><td>1</td><td><span class='deletions'>-53</span>/<span class='insertions'>+6</span></td></tr>