Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


if_eql.h
01: /*
02:  * Equalizer Load-balancer for serial network interfaces.
03:  *
04:  * (c) Copyright 1995 Simon "Guru Aleph-Null" Janes
05:  * NCM: Network and Communications Management, Inc.
06:  *
07:  *
08:  *      This software may be used and distributed according to the terms
09:  *      of the GNU General Public License, incorporated herein by reference.
10:  * 
11:  * The author may be reached as simon@ncm.com, or C/O
12:  *    NCM
13:  *    Attn: Simon Janes
14:  *    6803 Whittier Ave
15:  *    McLean VA 22101
16:  *    Phone: 1-703-847-0040 ext 103
17:  */
18: 
19: #ifndef _LINUX_IF_EQL_H
20: #define _LINUX_IF_EQL_H
21: 
22: #define EQL_DEFAULT_SLAVE_PRIORITY 28800
23: #define EQL_DEFAULT_MAX_SLAVES     4
24: #define EQL_DEFAULT_MTU            576
25: #define EQL_DEFAULT_RESCHED_IVAL   100
26: 
27: #define EQL_ENSLAVE     (SIOCDEVPRIVATE)
28: #define EQL_EMANCIPATE  (SIOCDEVPRIVATE + 1)
29: 
30: #define EQL_GETSLAVECFG (SIOCDEVPRIVATE + 2)
31: #define EQL_SETSLAVECFG (SIOCDEVPRIVATE + 3)
32: 
33: #define EQL_GETMASTRCFG (SIOCDEVPRIVATE + 4)
34: #define EQL_SETMASTRCFG (SIOCDEVPRIVATE + 5)
35: 
36: 
37: typedef struct master_config {
38:         char    master_name[16];
39:         int     max_slaves;
40:         int     min_slaves;
41: } master_config_t;
42: 
43: typedef struct slave_config {
44:         char    slave_name[16];
45:         long    priority;
46: } slave_config_t;
47: 
48: typedef struct slaving_request {
49:         char    slave_name[16];
50:         long    priority;
51: } slaving_request_t;
52: 
53: 
54: #endif /* _LINUX_EQL_H */
55: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/