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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions artifacts/openapi.html

Large diffs are not rendered by default.

37 changes: 37 additions & 0 deletions artifacts/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions artifacts/otg.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions flow/packet-headers/ethernet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,37 @@ components:
default: 0
features: [count, metric_tags]
x-field-uid: 4
fcs :
$ref: '#/components/schemas/Flow.Ethernet.FCS'
x-field-uid: 5
Flow.Ethernet.FCS:
description: >-
The Frame Check Sequence (FCS) is a checksum computed by a Cyclic Redundancy Check (CRC) based upon
Ethernet Source , Destination and Ethertype fields as well as the data to detect errors in transmission
and added as a 4 byte field at the end of the frame.
type: object
properties:
choice:
type: string
default: generated
x-enum:
generated:
x-field-uid: 1
x-field-uid: 1
generated:
$ref: '#/components/schemas/Flow.Ethernet.Generated'
x-field-uid: 2
Flow.Ethernet.Generated:
description: >-
A system generated checksum value.
type: object
properties:
choice:
type: string
default: good
x-field-uid: 1
x-enum:
good:
x-field-uid: 1
bad:
x-field-uid: 2