blob: bda6d55a3a3b94680064b7bf68923860ef72d9cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/*
* Copyright (c) 2009 Nicira Networks.
* Distributed under the terms of the GNU GPL version 2.
*
* Significant portions of this file may be copied from parts of the Linux
* kernel, by Linus Torvalds and others.
*/
#ifndef ACTIONS_H
#define ACTIONS_H 1
#include <linux/gfp.h>
struct datapath;
struct sk_buff;
struct odp_flow_key;
union odp_action;
struct sk_buff *make_writable(struct sk_buff *, gfp_t gfp);
int dp_xmit_skb(struct sk_buff *);
int execute_actions(struct datapath *dp, struct sk_buff *skb,
struct odp_flow_key *key,
const union odp_action *, int n_actions,
gfp_t gfp);
#endif /* actions.h */
|