94f287969d
To enable SNAT, run configure with the "--enable-snat" flag. This has only been tested with the 2.6.23 kernel...more diverse testing will follow. Documentation and a cleaner build setup will also be in a future check-in.
16 lines
443 B
C
16 lines
443 B
C
#ifndef DP_ACT_H
|
|
#define DP_ACT_H 1
|
|
|
|
#include "datapath.h"
|
|
|
|
#define ACT_VALIDATION_OK ((uint16_t)-1)
|
|
|
|
uint16_t validate_actions(struct datapath *, const struct sw_flow_key *,
|
|
const struct ofp_action_header *, size_t);
|
|
void execute_actions(struct datapath *, struct sk_buff *,
|
|
struct sw_flow_key *, const struct ofp_action_header *,
|
|
size_t action_len, int ignore_no_fwd);
|
|
int make_writable(struct sk_buff **pskb);
|
|
|
|
#endif /* dp_act.h */
|