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

[API break] neighbour_table: Reorganize the code base #67

Merged
merged 1 commit into from
Dec 1, 2023

Commits on Dec 1, 2023

  1. [API break] neighbour_table: Reorganize the code base

     * This patch is first preparation on stable release 1.0 for submodule
       neighbour_table. The detailed checklist for developer is stated in
       README.md file.
     * Stored constants into where it been used. Will remove `constants.rs`
       once all components finished.
     * Replace `pub use self::*` to explicit expose.
     * Renamed `neighbour_table::Nla` to `NeighbourTableAttribute` and all its entry
       changed to detailed data structure instead of `Vec<u8>`
     * Unit test case included. There is no `ip` command for
       `neighbour_table`. Hence this patch introduce example
       `dump_neighbour_tables.rs`, and use it to generate netlink query to
       kernel. The integers are verified by `sysctl -a|grep neigh`.
    
    Signed-off-by: Gris Ge <[email protected]>
    cathay4t committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    bbd915c View commit details
    Browse the repository at this point in the history