Index: libdnet-stripped/include/dnet/arp.h =================================================================== --- libdnet-stripped/include/dnet/arp.h (revision 29679) +++ libdnet-stripped/include/dnet/arp.h (working copy) @@ -39,6 +39,7 @@ #define ARP_HRD_ETH 0x0001 /* ethernet hardware */ #define ARP_HRD_IEEE802 0x0006 /* IEEE 802 hardware */ +#define ARP_HRD_INFINIBAND 0x0020 /* InfiniBand */ #define ARP_HRD_IEEE80211_RADIOTAP 0x0323 /* IEEE 802.11 + radiotap header */ #define ARP_HRD_VOID 0xFFFF /* Void type, nothing is known */ Index: libdnet-stripped/src/addr.c =================================================================== --- libdnet-stripped/src/addr.c (revision 29679) +++ libdnet-stripped/src/addr.c (working copy) @@ -319,6 +319,7 @@ case AF_UNSPEC: case ARP_HRD_ETH: /* XXX- Linux arp(7) */ case ARP_HRD_IEEE80211_RADIOTAP: /* IEEE 802.11 + radiotap header */ + case ARP_HRD_INFINIBAND: /* InfiniBand */ a->addr_type = ADDR_TYPE_ETH; a->addr_bits = ETH_ADDR_BITS; memcpy(&a->addr_eth, sa->sa_data, ETH_ADDR_LEN);