mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 08:45:23 +00:00
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>
13 lines
373 B
C
13 lines
373 B
C
#ifndef __NET_PROTOCOL_WRAPPER_H
|
|
#define __NET_PROTOCOL_WRAPPER_H 1
|
|
|
|
#include_next <net/protocol.h>
|
|
|
|
#include <linux/version.h>
|
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)
|
|
#define inet_add_protocol(prot, num) inet_add_protocol((struct net_protocol *)(prot), num)
|
|
#define inet_del_protocol(prot, num) inet_del_protocol((struct net_protocol *)(prot), num)
|
|
#endif
|
|
|
|
#endif
|