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

ouput the dropped packets. #8

Open
iamxg opened this issue Apr 26, 2018 · 2 comments
Open

ouput the dropped packets. #8

iamxg opened this issue Apr 26, 2018 · 2 comments

Comments

@iamxg
Copy link

iamxg commented Apr 26, 2018

Dear bob copeland,
I am learning to use wmediumd. I hope that I can add codes in the following codes and output the detail information of the dropped packets in log file. But I don't know how to modified codes in program wmediumd.c . Can you tell me how to implement it. Thanks a lot!
if (drand48() <= error_prob) {
w_logf(ctx, LOG_INFO, "Dropped mcast from "
MAC_FMT " to " MAC_FMT " at receiver\n",
MAC_ARGS(src), MAC_ARGS(station->addr));
continue;
}
Best Regards,
Xian Guo

@bcopeland
Copy link

bcopeland commented Apr 27, 2018 via email

@iamxg
Copy link
Author

iamxg commented Apr 27, 2018

Dear bob copeland,
Thanks for your replying. I will try it according to your suggestion.
Happy weekend!
Xian Guo.

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

No branches or pull requests

2 participants