Attach BPF program to socket in BCC Python

Ferenc Fejes


There is multiple options to attach a BPF program (BPF.attach_kprobe(), BPF.attach_uprobe(), etc) but currently possible to attach BPF program to socket with the BCC python frontend? 
In C its easy with setsockopt SO_ATTACH_BPF but I'm not sure if its supported in BCC python.



Join to automatically receive all group messages.