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

Add ability to export maps, enables cross-program sharing #309

Merged
merged 2 commits into from
Jan 8, 2016
Merged

Commits on Jan 8, 2016

  1. Add ability to export maps, enables cross-program sharing

    Allow a program to export a map for other programs to use. This enables
    cross-program map sharing.
    
    parent program syntax:
    BPF_TABLE("array", int, int, shared, 10);
    BPF_TABLE_EXPORT(shared);
    
    child program syntax:
    BPF_TABLE("extern", int, int, shared, 10);
    
    Signed-off-by: Brenden Blanco <[email protected]>
    Brenden Blanco committed Jan 8, 2016
    Configuration menu
    Copy the full SHA
    89978ba View commit details
    Browse the repository at this point in the history
  2. Rename BPF_EXPORT to BPF_TABLE_PUBLIC

    Signed-off-by: Brenden Blanco <[email protected]>
    Brenden Blanco committed Jan 8, 2016
    Configuration menu
    Copy the full SHA
    ab81ef2 View commit details
    Browse the repository at this point in the history