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

lbmap: Correct issue that port info display error #13244

Merged
merged 2 commits into from
Oct 19, 2020

Commits on Oct 16, 2020

  1. lbmap: Fixed lb cmd byte order issue

    The port/RevNat info is stored in the bpf map in network byte order;
    When displaying the given lbmap content, the port needs to be
    converted to host byte order.
    
    Add ToHost() function for lbmap
    ToHost converts fields to host byte order.
    
    Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
    Jianlin-lv committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    5d47414 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2020

  1. lbmap: Optimize lbmap byte order related code

    Gets rid of ToNetwork() in DumpParser().
    
    Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
    Jianlin-lv committed Oct 19, 2020
    Configuration menu
    Copy the full SHA
    5229b31 View commit details
    Browse the repository at this point in the history