DLPI MDI (Data Link Provider Interface) test
Synopsis:-
auto_dlpmdi [ scenario_name | all ]
Configuration file:-
nd-dlpmdi.cfg
Test suite name:-
nd-dlpmdi
Summary:-
Verifies the interface to the DLPI module.
Doubles as an integration test for MDI drivers,
because MDI drivers interface to the DLPI module
during normal operation.
This test is also useful for drivers written
to use only the DLPI primitives
to provide support for media types
that are not supported by MDI.
Media types:-
Varies according to features tested.
Init state:-
1
Executing machine(s)-
master and slave
Execution time:-
About 20 minutes for the entire test suite.
Number of test cases:-
17
Number of invokable scenarios:-
17
Configuration variables:-
MASTERSLAVE-
Set to master for the machine
where the driver being tested is installed
and slave for the other machine.
DEVICE-
Set to /dev/net0
on both the master and slave machines.
TEST_SCENARIO-
Select any of the features listed below
or specify all to run all tests.
Default is all.
The following features are provided:
frametest-
Send and receive all packet sizes one at a time.
Padding and every byte within each packet
is verified to see that it did not change.
Addressing is point-to-point.
framemcst-
Same as frametest except that multicast addresses are used.
framebst-
Same as frametest except that broadcast addresses are used.
framembcst-
Same as frametest except that multicast broadcast addresses are used.
loopback-
Send packets to self.
They should go out on the wire and be looped back;
a network monitor is needed to verify.
loopmcst-
Send packets to a multicast address
to which the driver is listening;
test loopback to multicast addresses.
loopbcst-
Test loopback to broadcast addesses.
All packet sizes are checked.
loopmbcst-
Test loopback when sent to
the token-ring multicast-broadcast address.
Token-Ring only.
largepkt-
Attempt to send > max_pdu packet
saptest-
Send and receive frames
from SAPs at ends of valid sap ranges .
bindmax-
Test that exactly N opens and binds are supported.
bindbad-
Test the endpoints of SAP ranges +/- 1
to verify the ranges are checked correctly.
Dirty testing of various binds that should fail;
bind before dlpi module linked.
Try bad saps (bind to these SAPs fail).
bind-
Test send before bind (should fail) and bind twice to the same sap.
unbind-
Test the various combinations of bind and unbind
and verify that unbind correctly deallocates saps.
macaddrtest-
Test
MACIOC_SETADDR,
MACIOC_SETALLMCA,
and
MACIOC_DELALLMCA.
multicast-
MAC address test.
Test DL_SET_PHYS_ADDR_REQ primitives.
allmulticast-
Test DL_ENABALLMULTI_REQ primitive.
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005