Structure that keeps a single BPF instuction; it is repeated 'ninsn' times according to the 'rpcap_filterbpf' header. More... #include <pcap-remote.h> Data Fields uint16code opcode of the instuction uint8jt relative offset to jump to in case of 'true' uint8jf relative offset to jum...
if(WARN_ON_ONCE(prog>(u8*)image_end-BPF_INSN_SAFETY)) return-EFAULT; return0; returnprog-(u8*)image; } staticintemit_cond_near_jump(u8**pprog,void*func,void*ip,u8jmp_cond) Expand Down 49 changes: 47 additions & 2 deletions49include/linux/bpf.h ...