Attach BPF program to socket in BCC Python


Ferenc Fejes
 

Hi!

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.

Thanks,
Ferenc

 

Join iovisor-dev@lists.iovisor.org to automatically receive all group messages.