Do CompileBPFAsmFromxxx methods compile BPF assembler to BPF instructions or CPU ones?
A. These methods compile the BPF assembler program in BPF instructions set. The program that is created at that can be compiled in the CPU instructions set at the level of PSSDK library driver, if either HNAdapter.UseFastUserFilter property is set to TRUE, or after HNUserFilter.CompileToFastBPF method call if the filter is used at the application level.
Related Questions
- What will be sent to the library driver as a filter: BPF instructions or the CPU instructions set, if CompileToFastBPF method is called first and then HNAdapter.UserFilter property value is set?
- How were instructions given to CPU of computer before invention of disc operating system was invented?
- Do CompileBPFAsmFromxxx methods compile BPF assembler to BPF instructions or CPU ones?