2015-12-04 14:47:52 +00:00
|
|
|
/**
|
2016-09-11 20:20:15 +00:00
|
|
|
* Author......: See docs/credits.txt
|
2015-12-04 14:47:52 +00:00
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
2016-09-06 16:44:05 +00:00
|
|
|
#ifndef _RP_KERNEL_ON_CPU_H
|
|
|
|
#define _RP_KERNEL_ON_CPU_H
|
2015-12-04 14:47:52 +00:00
|
|
|
|
|
|
|
#define swap_workaround(n) __builtin_bswap32(n)
|
|
|
|
|
2016-01-15 16:16:43 +00:00
|
|
|
u32 apply_rule (const u32 name, const u32 p0, const u32 p1, u32 buf0[4], u32 buf1[4], const u32 in_len);
|
|
|
|
u32 apply_rules (u32 *cmds, u32 buf0[4], u32 buf1[4], const u32 len);
|
2016-09-06 16:44:05 +00:00
|
|
|
|
|
|
|
#endif // _RP_KERNEL_ON_CPU_H
|