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; |