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

Re-arrange net_* files efficiently #38

Merged
merged 1 commit into from
Feb 16, 2024
Merged

Re-arrange net_* files efficiently #38

merged 1 commit into from
Feb 16, 2024

Commits on Feb 13, 2024

  1. Re-arrange net_* files efficiently

    Moved common functionality between net_*.c files into net.c.
    Moved the handle_*_resp() calls for route, arp & if into handle_net_resp()
    Added new tests/IF directory for interface statistics.
    Removed the path outside while loop as it will never be run.
    Added err1 and err2 paths for error handling in net.c
    Fixed issues in net_if.c - missing bzero for ifs, and writing the
    interface name when TESTING is not enabled.
    Also added some extra prints and a free in tests/IF/if_test.c
    
    Signed-off-by: Anjali Kulkarni <[email protected]>
    anjalidk committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    2125e83 View commit details
    Browse the repository at this point in the history