net: filter: rename 'struct sock_filter_int' into 'struct bpf_insn'
eBPF is used by socket filtering, seccomp and soon by tracing and exposed to userspace, therefore 'sock_filter_int' name is not accurate. Rename it to 'bpf_insn' Signed-off-by: Alexei Starovoitov <ast@plumgrid.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
dd66d38655
commit
2695fb552c
6 changed files with 39 additions and 39 deletions
|
@ -214,7 +214,7 @@ struct jit_context {
|
|||
static int do_jit(struct sk_filter *bpf_prog, int *addrs, u8 *image,
|
||||
int oldproglen, struct jit_context *ctx)
|
||||
{
|
||||
struct sock_filter_int *insn = bpf_prog->insnsi;
|
||||
struct bpf_insn *insn = bpf_prog->insnsi;
|
||||
int insn_cnt = bpf_prog->len;
|
||||
u8 temp[64];
|
||||
int i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue