00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef NETLINK_COMPAT_H_
00013 #define NETLINK_COMPAT_H_
00014
00015 #if !defined _LINUX_SOCKET_H && !defined _BITS_SOCKADDR_H
00016 typedef unsigned short sa_family_t;
00017 #endif
00018
00019 #ifndef IFNAMSIZ
00020
00021 #define IFNAMSIZ 16
00022 #endif
00023
00024
00025 #ifndef ARPHRD_INFINIBAND
00026 #define ARPHRD_INFINIBAND 32
00027 #endif
00028
00029
00030 #ifndef ETH_P_MPLS_UC
00031 #define ETH_P_MPLS_UC 0x8847
00032 #endif
00033
00034 #ifndef ETH_P_MPLS_MC
00035 #define ETH_P_MPLS_MC 0x8848
00036 #endif
00037
00038 #ifndef ETH_P_EDP2
00039 #define ETH_P_EDP2 0x88A2
00040 #endif
00041
00042 #ifndef ETH_P_HDLC
00043 #define ETH_P_HDLC 0x0019
00044 #endif
00045
00046 #ifndef AF_LLC
00047 #define AF_LLC 26
00048 #endif
00049
00050 #endif