For SNAT, don't store the pre-fragment L2 header before actions are applied.
[sliver-openvswitch.git] / datapath / dp_act.h
1 #ifndef DP_ACT_H
2 #define DP_ACT_H 1
3
4 #include "datapath.h"
5
6 #define ACT_VALIDATION_OK ((uint16_t)-1)
7
8 uint16_t validate_actions(struct datapath *, const struct sw_flow_key *,
9                 const struct ofp_action_header *, size_t);
10 void execute_actions(struct datapath *, struct sk_buff *,
11                 struct sw_flow_key *, const struct ofp_action_header *, 
12                 size_t action_len, int ignore_no_fwd);
13 int make_writable(struct sk_buff **pskb);
14
15 #endif /* dp_act.h */