-
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 #12142
base: master
Are you sure you want to change the base?
output: Add linktype name #12142
Conversation
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
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #12142 +/- ##
==========================================
+ Coverage 49.77% 49.81% +0.04%
==========================================
Files 909 911 +2
Lines 257884 257936 +52
==========================================
+ Hits 128367 128497 +130
+ Misses 129517 129439 -78
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Information: QA ran without warnings. Pipeline 23493 |
This looks ok to me, but you are aware that a DLT_RAW created on openBSD and read elsewhere will not show as DLT_RAW, right ? |
Correct. |
Continuation of #11994
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