Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jan 28, 2022

No description provided.

@ghost ghost requested a review from weyrick January 28, 2022 17:47
Copy link
Contributor

@weyrick weyrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also:

  • README
  • docker/* changes
  • GitHub CI changes

}

if (sample.ifCounters.ifDirection == DIRECTION::IN) {
++_counters.total_in;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i believe we'd need to not just ++ but += the amount of packets that the sample saw - it's almost definitely not just one?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ifDirection is a enum

@@ -0,0 +1,3 @@
# Sflow Stream Input

This directory contains a sflow/example stream input tap, suitable only for testing.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This directory contains the sflow input tap

@ghost ghost merged commit 9382a59 into develop Jan 31, 2022
@ghost ghost deleted the feature/sflow-input-module branch January 31, 2022 16:13
@ghost ghost linked an issue Jan 31, 2022 that may be closed by this pull request
This pull request was closed.
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.

sFlow input module

1 participant