mirror of
https://github.com/openvswitch/ovs
synced 2025-10-07 13:40:45 +00:00
32 lines
680 B
C
32 lines
680 B
C
/*
|
|
* Copyright (c) 2010, 2011 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 ODP_COMPAT_H
|
|
#define ODP_COMPAT_H 1
|
|
|
|
/* 32-bit ioctl compatibility definitions for datapath protocol. */
|
|
|
|
#ifdef CONFIG_COMPAT
|
|
#include "openvswitch/datapath-protocol.h"
|
|
#include <linux/compat.h>
|
|
|
|
#define ODP_EXECUTE32 _IOR('O', 18, struct compat_odp_execute)
|
|
|
|
struct compat_odp_execute {
|
|
uint32_t dp_idx;
|
|
|
|
compat_uptr_t actions;
|
|
u32 actions_len;
|
|
|
|
compat_uptr_t data;
|
|
u32 length;
|
|
};
|
|
#endif /* CONFIG_COMPAT */
|
|
|
|
#endif /* odp-compat.h */
|