STREAMS INET Driver
Description: OpenSS7 Product Status Operating Systems.
Note that it is now possible to select from most of these categories off of the
"Related" sidebar menu.
|
Overview:- |
The STREAMS INET components are a set of Internet Protocol (IP) drivers that provide various
forms of STREAMS access to TCP, UDP and IP protocols. The principal component of STREAMS INET
is the
inet(4)
driver, which is a STREAMS driver interfacing the
Transport Provider Interface (TPI)
to the internal Linux Kernel socket layer using an XTI over Sockets approach. See the
STREAMS vs. Sockets Performance Comparison for UDP
paper for a comparison of the available approaches.
The component also include some direct driver implementations for UDP and IP.
|
|
History:- |
Work on the STREAMS INET components for TCP, UDP and IP transport began in January 2001. The
original strinet sub-package was included in several releases of LiS and was subsequently
incorporated in the Linux Fast-STREAMS releases. Components from
this former sub-package are now included in the full OpenSS7
(openss7) Release package.
|
|
Status:- |
The STREAMS INET components have been in maintenance since about 2003. They are very
mature. There is considerable dependency between the
inet(4)
driver and the Linux kernel; however, this dependency is far less brittle than the
ldl(4)
driver, and has only needed to be modified at major kernel networking release junctures.
The driver in this group are always updated to support the currently supported Linux kernel.
|
|
Dependencies:- |
The STREAMS INET components currently depend upon Linux Fast-STREAMS
and the specific Linux Kernel for which it was compiled. All dependencies are properly included
in the current OpenSS7 (openss7) Release package.
|
|
Design:- |
For current design documentation, see
STREAMS INET Driver Design
and the
STREAMS vs. Sockets Performance Comparison for UDP
paper for design considerations.
|
|
Documentation:- |
The major STREAMS INET driver components are as follows:
|
|
Test Results:- |
Performance test results and comparisons to Linux native sockets performance can be found here:
There are a number of regression, verification and validation test suites that may be run on the
drivers in the this set, totalling several thousand individual test cases. The programs test
conformance of the drivers to the appropriate interface specifications and are as follows:
Test Programs
Program |
File |
GitHub |
test-inet_raw |
src/tests/test-inet_raw.c |
code |
test-inet_sctp |
src/tests/test-inet_sctp.c |
code |
test-inet_tcp |
src/tests/test-inet_tcp.c |
code |
test-inet_udp |
src/tests/test-inet_udp.c |
code |
test-ip |
src/tests/test-ip.c |
code |
test-np_ip |
src/tests/test-np_ip.c |
code |
The following autotest test suites are available that use the programs listed above:
Test Suites
Test Suite |
Test Cases |
File |
GitHub |
testsuite-inet_raw |
629 |
tests/testsuite-inet_raw.at |
code |
testsuite-inet_raw2 |
629 |
tests/testsuite-inet_raw2.at |
code |
testsuite-inet_udp |
629 |
tests/testsuite-inet_udp.at |
code |
testsuite-inet_udp2 |
629 |
tests/testsuite-inet_udp2.at |
code |
testsuite-inet_tcp |
629 |
tests/testsuite-inet_tcp.at |
code |
testsuite-inet_sctp |
629 |
tests/testsuite-inet_sctp.at |
code |
testsuite-ip |
2 |
tests/testsuite-ip.at |
code |
testsuite-np_ip |
98 |
tests/testsuite-np_ip.at |
code |
Total |
3874 |
|
|
All 3874 test cases run clean for all supported architectures and current distributions before release.
|
|
References:- |
The major standard STREAMS INET driver interfaces are as follows:
|
|
Code:- |
The current code from the OpenSS7 (openss7) Release package is as
follows:
|
|
Release Package:- |
For current openss7 package releases of the components formerly contained in the
strinet sub-package, see:
For historical releases of the strinet sub-package, see:
Please see the OpenSS7 (openss7) Package pages or the Downloads page for more information.
|
|