Skip to content

ouput the dropped packets. #8

@iamxg

Description

@iamxg

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions