FCS forwarding
Check that FCS forwarding can be enabled or disabled.
Enable or disable rx-fcs feature on the IUT interface according to rx_fcs.
If small_frame is
TRUE
, disable TCP timestamps option on Tester so that packets will be as small as possible.Establish connection between a pair of sockets of type sock_type on IUT and Tester.
Create a CSAP on IUT to capture incoming packets.
Create a CSAP on Tester to capture outgoing packets.
Send some data from Tester to IUT.
Obtain and process packets captured by CSAPs on IUT and Tester.
For packets captured by both CSAPs, check that every packet captured on IUT has four extra bytes in payload containing correct FCS if and only if rx_fcs is
TRUE
.
Dmitry Izbitsky Dmitry.Izbitsky@oktetlabs.ru
Parameters:
env |
Testing environment: |
sock_type |
Socket type:
|
rx_fcs |
If |
small_frame |
If |