File: ip_mp_alg.h

package info (click to toggle)
linux-2.6 2.6.18.dfsg.1-26etch2
  • links: PTS
  • area: main
  • in suites: etch
  • size: 289,112 kB
  • ctags: 831,064
  • sloc: ansic: 4,700,345; asm: 205,595; makefile: 13,019; perl: 3,208; python: 2,735; yacc: 2,632; sh: 2,313; cpp: 2,107; lex: 1,510; lisp: 218; awk: 99; pascal: 41
file content (22 lines) | stat: -rw-r--r-- 457 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ip_mp_alg.h: IPV4 multipath algorithm support, user-visible values.
 *
 * Copyright (C) 2004, 2005 Einar Lueck <elueck@de.ibm.com>
 * Copyright (C) 2005 David S. Miller <davem@davemloft.net>
 */

#ifndef _LINUX_IP_MP_ALG_H
#define _LINUX_IP_MP_ALG_H

enum ip_mp_alg {
	IP_MP_ALG_NONE,
	IP_MP_ALG_RR,
	IP_MP_ALG_DRR,
	IP_MP_ALG_RANDOM,
	IP_MP_ALG_WRANDOM,
	__IP_MP_ALG_MAX
};

#define IP_MP_ALG_MAX (__IP_MP_ALG_MAX - 1)

#endif /* _LINUX_IP_MP_ALG_H */