mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
If we need to copy an sk_buff in order to make it writable, allow the minimum headroom to be specified. This ensures that if we need to add additional data, such as a VLAN tag, we will not have to make a second copy. Solves bug #2197 in certain situations.
26 lines
577 B
C
26 lines
577 B
C
/*
|
|
* 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 */
|