Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/
DBerkeleyPacketFilter.c202 struct bpf_insn *FilterProgram; in EmuSnpStart() local
301 FilterProgram = malloc (sizeof (mFilterInstructionTemplate)) ; in EmuSnpStart()
302 if ( FilterProgram == NULL ) { in EmuSnpStart()
306 CopyMem (FilterProgram, &mFilterInstructionTemplate, sizeof (mFilterInstructionTemplate)); in EmuSnpStart()
312 FilterProgram[1].k = NTOHL (Temp32); in EmuSnpStart()
314 FilterProgram[3].k = NTOHS (Temp16); in EmuSnpStart()
317 BpfProgram.bf_insns = FilterProgram; in EmuSnpStart()
323 free (FilterProgram); in EmuSnpStart()