netgroup / eclat-daemon

eCLAT (eBPF Chains Language And Toolset) daemon.
2 stars 0 forks source link

chain in chain support #33

Open hike-eclat opened 2 years ago

hike-eclat commented 2 years ago

1) i've tried to put two chains in the same file they can be compiled if they are not calling each other if one chain calls the other one ERROR: Exception calling application: function subchain has not been imported

2) I've put two chains in two separate files I've compiled/loaded the called one OK when I compile/load the calling one

if I put from chains.test import subchain ERROR: Bad import statement: from {programs|loaders}.package import name

if I do not put anything ERROR: Exception calling application: function subchain has not been imported

hike-eclat commented 2 years ago

see eclat-daemon/test/eclat_scripts/chain_in_chain.eclat eclat-daemon/test/eclat_scripts/subchain.eclat