File: usr-spec.txt

package info (click to toggle)
netexpect 0.22-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,672 kB
  • ctags: 3,840
  • sloc: ansic: 19,903; sh: 14,032; xml: 3,280; yacc: 1,179; lex: 469; makefile: 185
file content (24 lines) | stat: -rw-r--r-- 979 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Userspace Routing
=================

Userspace Routing (USR) allows Network Expect to make routing decisions
in userspace, without relying on the operating system's kernel. The
advantage of this is that it allows to maintain a separate routing table
and gives great portability across the different platforms where Network
Expect runs.

Requirements:

- Needs to be modular so different address families (IPv4, IPv6, NetIO,
etc.) can be supported, or that the same address family is supported
by different modules. The module to be used is selected through the -o
switch of commands that send PDUs. Module are initialized at speaker
creation time. In other words, a USR module is associated with a
speaker.

- There needs to be support for different routing tables. Speakers that
use USR for routing decisions need to store a pointer to the specific
routing table they are using.

- Need to provide support for querying the routing table in a very
simple and very efficient way.