Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 549942
Collapse All | Expand All

(-)a/configure.ac (+1 lines)
Lines 156-161 AC_HEADER_STDC Link Here
156
AC_CHECK_HEADERS( \
156
AC_CHECK_HEADERS( \
157
	getopt.h \
157
	getopt.h \
158
	ifaddrs.h \
158
	ifaddrs.h \
159
	linux/if_arp.h \
159
	machine/limits.h \
160
	machine/limits.h \
160
	machine/param.h \
161
	machine/param.h \
161
	net/if_arp.h \
162
	net/if_arp.h \
(-)a/device-linux.c (+8 lines)
Lines 79-88 int update_device_info(int sock, struct Interface *iface) Link Here
79
		iface->sllao.if_maxmtu = -1;
79
		iface->sllao.if_maxmtu = -1;
80
		break;
80
		break;
81
#endif				/* ARPHDR_ARCNET */
81
#endif				/* ARPHDR_ARCNET */
82
#ifdef ARPHRD_IEEE802154
82
	case ARPHRD_IEEE802154:
83
	case ARPHRD_IEEE802154:
83
		iface->sllao.if_hwaddr_len = 64;
84
		iface->sllao.if_hwaddr_len = 64;
84
		iface->sllao.if_prefix_len = 64;
85
		iface->sllao.if_prefix_len = 64;
85
		break;
86
		break;
87
#endif
86
	default:
88
	default:
87
		iface->sllao.if_hwaddr_len = -1;
89
		iface->sllao.if_hwaddr_len = -1;
88
		iface->sllao.if_prefix_len = -1;
90
		iface->sllao.if_prefix_len = -1;
Lines 371-379 static char const *hwstr(unsigned short sa_family) Link Here
371
	case ARPHRD_IEEE802154:
373
	case ARPHRD_IEEE802154:
372
		rc = "ARPHRD_IEEE802154";
374
		rc = "ARPHRD_IEEE802154";
373
		break;
375
		break;
376
#if ARPHRD_IEEE802154_MONITOR
377
	case ARPHRD_IEEE802154_MONITOR:
378
		rc = "ARPHRD_IEEE802154_MONITOR";
379
		break;
380
#elif ARPHRD_IEEE802154_PHY
374
	case ARPHRD_IEEE802154_PHY:
381
	case ARPHRD_IEEE802154_PHY:
375
		rc = "ARPHRD_IEEE802154_PHY";
382
		rc = "ARPHRD_IEEE802154_PHY";
376
		break;
383
		break;
384
#endif
377
	case ARPHRD_VOID:
385
	case ARPHRD_VOID:
378
		rc = "ARPHRD_VOID";
386
		rc = "ARPHRD_VOID";
379
		break;
387
		break;
(-)a/includes.h (-1 / +6 lines)
Lines 81-89 Link Here
81
#ifdef HAVE_NET_IF_DL_H
81
#ifdef HAVE_NET_IF_DL_H
82
#include <net/if_dl.h>
82
#include <net/if_dl.h>
83
#endif
83
#endif
84
84
#ifdef HAVE_NET_IF_TYPES_H
85
#ifdef HAVE_NET_IF_TYPES_H
85
#include <net/if_types.h>
86
#include <net/if_types.h>
86
#endif
87
#endif
88
87
#if defined(HAVE_NET_IF_ARP_H) && !defined(ARPHRD_ETHER)
89
#if defined(HAVE_NET_IF_ARP_H) && !defined(ARPHRD_ETHER)
88
#include <net/if_arp.h>
90
#include <net/if_arp.h>
89
#endif				/* defined(HAVE_NET_IF_ARP_H) && !defined(ARPHRD_ETHER) */
91
#endif				/* defined(HAVE_NET_IF_ARP_H) && !defined(ARPHRD_ETHER) */
Lines 100-102 Link Here
100
#include <ifaddrs.h>
102
#include <ifaddrs.h>
101
#endif
103
#endif
102
104
103
- 
105
#ifdef HAVE_LINUX_IF_ARP_H
106
#include <linux/if_arp.h>
107
#endif
108

Return to bug 549942