#include "stdarg.h"
#include "ntddk.h"
#include "ntiologc.h"
#include "ndis.h"
#include "packet.h"
#include "win_bpf.h"
Go to the source code of this file.
Functions | |
void | emit_lenght (binary_stream *stream, ULONG value, UINT len) |
void | emit_code (binary_stream *stream, ULONG value, UINT len) |
BPF_filter_function | BPFtoX86 (struct bpf_insn *prog, UINT nins, INT *mem) |
Translates a set of BPF instructions in a set of x86 ones. | |
JIT_BPF_Filter * | BPF_jitter (struct bpf_insn *fp, INT nins) |
BPF jitter, builds an x86 function from a BPF program. | |
void | BPF_Destroy_JIT_Filter (JIT_BPF_Filter *Filter) |
Deletes a filtering function that was previously created by BPF_jitter(). | |
Variables | |
emit_func | emitm |
|
Definition at line 55 of file jitter.c. References binary_stream::cur_ip, and binary_stream::ibuf. Referenced by BPFtoX86(). |
|
Definition at line 46 of file jitter.c. References binary_stream::bpf_pc, binary_stream::cur_ip, and binary_stream::refs. Referenced by BPFtoX86(). |
|
Definition at line 41 of file jitter.c. Referenced by BPFtoX86(). |
documentation. Copyright (c) 2002-2003 Politecnico di Torino. All rights reserved.