Home
last modified time | relevance | path

Searched refs:BpfProgram (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DBerkeleyPacketFilter.c201 struct bpf_program BpfProgram; in EmuSnpStart() local
316 BpfProgram.bf_len = sizeof (mFilterInstructionTemplate) / sizeof (struct bpf_insn); in EmuSnpStart()
317 BpfProgram.bf_insns = FilterProgram; in EmuSnpStart()
319 if (ioctl (Private->BpfFd, BIOCSETF, &BpfProgram) < 0) { in EmuSnpStart()