aboutsummaryrefslogtreecommitdiff
path: root/datapath/actions.h
blob: 065c0e40e7e0d0c7bcddf40151975130b3006975 (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
/*
 * 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;

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 */