]> git.proxmox.com Git - mirror_ovs.git/blame - datapath/linux-2.6/compat-2.6/include/net/route.h
ovsdb: Synchronize comments and code in ovsdb_file_commit().
[mirror_ovs.git] / datapath / linux-2.6 / compat-2.6 / include / net / route.h
CommitLineData
db12f2fc
JG
1#ifndef __NET_ROUTE_WRAPPER_H
2#define __NET_ROUTE_WRAPPER_H 1
3
4#include_next <net/route.h>
5
6#include <linux/version.h>
7#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25)
8
9#define ip_route_output_key(net, rp, flp) \
10 ip_route_output_key((rp), (flp))
11
12#endif /* linux kernel < 2.6.25 */
13
48cad9dc
JG
14#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)
15static inline int ip4_dst_hoplimit(const struct dst_entry *dst)
16{
17 return dst_metric(dst, RTAX_HOPLIMIT);
18}
19#endif
20
db12f2fc 21#endif