2 * netlink/netlink-compat.h Netlink Compatability
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation version 2.1
9 * Copyright (c) 2003-2006 Thomas Graf <tgraf@suug.ch>
12 #ifndef NETLINK_COMPAT_H_
13 #define NETLINK_COMPAT_H_
15 #if !defined _LINUX_SOCKET_H && !defined _BITS_SOCKADDR_H
16 typedef unsigned short sa_family_t
;
20 /** Maximum length of a interface name */
24 /* patch 2.4.x if_arp */
25 #ifndef ARPHRD_INFINIBAND
26 #define ARPHRD_INFINIBAND 32
29 /* patch 2.4.x eth header file */
31 #define ETH_P_MPLS_UC 0x8847
35 #define ETH_P_MPLS_MC 0x8848
39 #define ETH_P_EDP2 0x88A2
43 #define ETH_P_HDLC 0x0019
This page took 0.051743 seconds and 5 git commands to generate.