net: filter: make BPF conversion more readable
authorAlexei Starovoitov <ast@plumgrid.com>
Thu, 8 May 2014 21:10:51 +0000 (14:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 May 2014 04:23:55 +0000 (00:23 -0400)
commit9739eef13c926645fbf88bcb77e66442fa75d688
treed6934c95e5eae0027f755caf5ea7c1ab2aede94e
parent05ab2dae650e09add1c5295392b5516704c03a4b
net: filter: make BPF conversion more readable

Introduce BPF helper macros to define instructions
(similar to old BPF_STMT/BPF_JUMP macros)

Use them while converting classic BPF to internal
and in BPF testsuite later.

Signed-off-by: Alexei Starovoitov <ast@plumgrid.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/filter.h
net/core/filter.c