-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
output: Add linktype name #11994
output: Add linktype name #11994
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #11994 +/- ##
==========================================
+ Coverage 82.75% 83.23% +0.48%
==========================================
Files 910 912 +2
Lines 249016 258234 +9218
==========================================
+ Hits 206069 214945 +8876
- Misses 42947 43289 +342
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Issue: 6954 Add Rust based logic that maintains a hash map of link type values and their associated output names.
Use the hasmap to gather linktype display names. Issue: 6954
Issue: 6954 This commit adds the linktype name to the output stream. The name is determined from the pcap utility function pcap_datalink_val_to_name
Information: QA ran without warnings. Pipeline 23138 |
Information: QA ran without warnings. Pipeline 23139 |
Passed my QA. Ran this PR with SV PR OISF/suricata-verify#2023. Local pipeline 5099, run 613. |
This looks ok to me, but you are aware that a DLT_RAW created on openBSD and read elsewhere will not show as such, right ? |
Continued in #12142 |
Continuation of #11670
Issue: 6954
This commit adds the linktype name to the output stream. The name is determined from a Rust linktype-to-name function.
Link to ticket: https://redmine.openinfosecfoundation.org/issues/6954
Describe changes:
Updates:
Provide values to any of the below to override the defaults.
SV_BRANCH=OISF/suricata-verify#2023