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

eCLAT support for sharing a map among two HIKe programs #48

Open
hike-eclat opened this issue May 5, 2022 · 1 comment
Open

eCLAT support for sharing a map among two HIKe programs #48

hike-eclat opened this issue May 5, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@hike-eclat
Copy link
Collaborator

No description provided.

@hike-eclat
Copy link
Collaborator Author

hike-eclat commented May 5, 2022

#from programs.mynet import hike_drop, hike_pass, monitor, show_pkt_info
from programs.hike_default import hike_drop, hike_pass, monitor
from programs.info import show_pkt_info
from loaders.hike_default import ip6_simple_classifier

IPOTESI A : il nome della mappa nei due programmi e' lo stesso
hike_pass.pin(map_name, hike_drop)

IPOTESI B : il programma che usa una mappa puo' usare un nome diverso
hike_pass.pin(my_map, map_name, hike_drop)


# send all IPv6 packets to our chain
ip6_simple_classifier[ipv6_simple_classifier_map] = { (0): (basic_example) }
ip6_simple_classifier.attach('DEVNAME', 'xdp')

def basic_example():
    return 0

@hike-eclat hike-eclat added this to the 1.2 short milestone May 9, 2022
@StefanoSalsano StefanoSalsano added the enhancement New feature or request label May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants