2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-13 14:07:02 +00:00

datapath: Rename linux-2.6 and compat-2.6 directories.

The linux-2.6 and compat-2.6 directories apply equally to the upcoming
Linux 3.0 release, so this drops the 2.6 suffix and updates Makefiles.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
Jesse Gross
2011-06-23 17:10:00 -07:00
parent 8c7ea6a0c0
commit 22bcc0e70b
73 changed files with 88 additions and 87 deletions

View File

@@ -0,0 +1,21 @@
#ifndef __NET_ROUTE_WRAPPER_H
#define __NET_ROUTE_WRAPPER_H 1
#include_next <net/route.h>
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
#define ip_route_output_key(net, rp, flp) \
ip_route_output_key((rp), (flp))
#endif /* linux kernel < 2.6.25 */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
static inline int ip4_dst_hoplimit(const struct dst_entry *dst)
{
return dst_metric(dst, RTAX_HOPLIMIT);
}
#endif
#endif