ethernetgmii: update for Linux with MMU
[ana-net.git] / src / xt_engine.h
blob6ada51070e8caa71e138dc3af88132c02b8e0731
1 /*
2 * Lightweight Autonomic Network Architecture
4 * Copyright 2011 Daniel Borkmann <dborkma@tik.ee.ethz.ch>,
5 * Swiss federal institute of technology (ETH Zurich)
6 * Subject to the GPL.
7 */
9 #ifndef XT_ENGINE_H
10 #define XT_ENGINE_H
12 #include <linux/skbuff.h>
13 #include "xt_fblock.h"
15 #define PPE_SUCCESS 0
16 #define PPE_DROPPED 1
17 #define PPE_HALT PPE_DROPPED
18 #define PPE_ERROR 2
20 extern int process_packet(struct sk_buff *skb, enum path_type dir);
21 extern void engine_backlog_tail(struct sk_buff *skb, enum path_type dir);
23 extern int init_engine(void);
24 extern void cleanup_engine(void);
26 #endif /* XT_ENGINE_H */