generate e2e artefacts for cilium function extraction
sdsen opened this issue · 3 comments
Is your feature request related to a problem? Please describe.
Create folders with extracted cilium function which load on an interface. for each folder generate separate makefiles etc. as well.
put folders in op
dir.
Describe the solution you'd like
target functions:
- handle_ipv6
- tail_handle_ipv6
- handle_ipv4
- tail_handle_ipv4
- bpf_redir_proxy
- bpf_sock_ops_ipv4
- bpf_sock_ops_ipv6
- bpf_sockmap
- sock4_connect
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Following ops are required
-
Comment __non_bpf_context defn
#ifndef __non_bpf_context//OPENED define __non_bpf_context BEG
//#define __non_bpf_context 1
#endif //OPENED define __non_bpf_context END -
Comment KERNEL_HZ
#ifndef KERNEL_HZ//OPENED define KERNEL_HZ BEG
//printf("#define KERNEL_HZ %lu\t/* warp: %lu jiffies */\n", fixed->jiffies[0], warp);
#endif //OPENED define KERNEL_HZ END
- Header file ordering. Ensure ctx/skb.h comes before ep_config.h
#include <bpf/ctx/skb.h>
//OPENED: included from: /home/palani/github/opened_extraction/examples/cilium/bpf_lxc.c
Yes..