DLPI MDI (Data Link Provider Interface) test
auto_dlpmdi [ scenario_name | all ]
Test suite name:
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.
Varies according to features tested.
master and slave
About 20 minutes for the entire test suite.
Number of test cases:
Number of invokable scenarios:
Set to master for the machine
where the driver being tested is installed
and slave for the other machine.
Set to /dev/net0
on both the master and slave machines.
Select any of the features listed below
or specify all to run all tests.
Default is all.
The following features are provided:
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.
Same as frametest except that multicast addresses are used.
Same as frametest except that broadcast addresses are used.
Same as frametest except that multicast broadcast addresses are used.
Send packets to self.
They should go out on the wire and be looped back;
a network monitor is needed to verify.
Send packets to a multicast address
to which the driver is listening;
test loopback to multicast addresses.
Test loopback to broadcast addesses.
All packet sizes are checked.
Test loopback when sent to
the token-ring multicast-broadcast address.
Attempt to send > max_pdu packet
Send and receive frames
from SAPs at ends of valid sap ranges .
Test that exactly N opens and binds are supported.
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).
Test send before bind (should fail) and bind twice to the same sap.
Test the various combinations of bind and unbind
and verify that unbind correctly deallocates saps.
MAC address test.
Test DL_SET_PHYS_ADDR_REQ primitives.
Test DL_ENABALLMULTI_REQ primitive.
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005