FCS forwardingΒΆ

Check that FCS forwarding can be enabled or disabled.

  1. Enable or disable rx-fcs feature on the IUT interface according to rx_fcs.

  2. If small_frame is TRUE, disable TCP timestamps option on Tester so that packets will be as small as possible.

  3. Establish connection between a pair of sockets of type sock_type on IUT and Tester.

  4. Create a CSAP on IUT to capture incoming packets.

  5. Create a CSAP on Tester to capture outgoing packets.

  6. Send some data from Tester to IUT.

  7. 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:

  • SOCK_STREAM

  • SOCK_DGRAM

rx_fcs

If TRUE, rx-fcs feature is enabled, else - disabled

small_frame

If TRUE, send so small Ethernet frame that padding will be inserted in it.