SolarCapture C Bindings User Guide  SF-115721-CD
Draft 2A
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
sc_snap Node Reference

Node that limits the length of a packet buffer.

Detailed Description

Node that limits the length of a packet buffer. Packets forwarded by this node are modified as follows: If the length of the payload area exceeds the snap length, then it is reduced to the snap length. The frame_len field is not modified.

Arguments

Argument Optional? Default Type Description
snap No SC_PARAM_INT Maximum payload length.