Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FCS-part of Ethernet header #376

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

FCS-part of Ethernet header #376

wants to merge 7 commits into from

Conversation

indraniBh
Copy link
Contributor

@indraniBh indraniBh commented May 22, 2024

Fixes #379

Redocly View
ReDoc Interactive Demo (redocly.github.io)

New Inclusions:
flows/packet/ethernet/fcs

Objective:
Support FCS in ethernet header to generate good as well as bad packet using raw traffic.

Code Snippet:

cfg := gosnappi.NewConfig()

// skipping other config snippets

flow := cfg.Flows().Add()
flow.SetName("f1").TxRx().Port().SetTxName("p1").SetRxName("p2")
pkt:= flow.Packet()
// setting valid fcs, by default fcs is set good. 
pkt.Add().Ethernet().Fcs().Generated().Good()
// setting invalid fcs
pkt.Add().Ethernet().Fcs().Generated().Bad()

Feature Support Info:

ixia-hw ixia-c UHD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Support for setting invalid FCS on packets
4 participants