diff options
author | Bernie Innocenti <codewiz@google.com> | 2018-03-30 08:29:11 +0000 |
---|---|---|
committer | Bernie Innocenti <codewiz@google.com> | 2018-03-30 08:29:11 +0000 |
commit | dee75a7f2e6f3e687055df1abc509287a2694e48 (patch) | |
tree | c02a065d615b3a5d716339357f9dc622b71fdd87 /apf_interpreter.h | |
parent | 6921f7406faceee05fe74bfd90b972c05017e850 (diff) | |
download | apf-dee75a7f2e6f3e687055df1abc509287a2694e48.tar.gz |
Revert "Add APF opcodes to read and write data memory."
This reverts commit 6921f7406faceee05fe74bfd90b972c05017e850.
Reason for revert: broke JNI bindings used by framework tests
Change-Id: Ibbd38276da1cbabdd2229d93a1b212072cdc3cb9
Diffstat (limited to 'apf_interpreter.h')
-rw-r--r-- | apf_interpreter.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apf_interpreter.h b/apf_interpreter.h index 78a0dd3..2012c28 100644 --- a/apf_interpreter.h +++ b/apf_interpreter.h @@ -27,7 +27,7 @@ extern "C" { * Version of APF instruction set processed by accept_packet(). * Should be returned by wifi_get_packet_filter_info. */ -#define APF_VERSION 3 +#define APF_VERSION 2 /** * Runs a packet filtering program over a packet. @@ -37,8 +37,6 @@ extern "C" { * @param packet the packet bytes, starting from the 802.3 header and not * including any CRC bytes at the end. * @param packet_len the length of {@code packet} in bytes. - * @param data writable data memory region (preserved between packets). - * @param data_len the length of {@code data} in bytes. * @param filter_age the number of seconds since the filter was programmed. * * @return non-zero if packet should be passed to AP, zero if @@ -46,7 +44,6 @@ extern "C" { */ int accept_packet(const uint8_t* program, uint32_t program_len, const uint8_t* packet, uint32_t packet_len, - uint8_t* data, uint32_t data_len, uint32_t filter_age); #ifdef __cplusplus |