diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-05-19 11:40:24 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-06-04 21:06:09 (GMT) |
commit | 1dbe738e1e45d97c5829569e3eedcd1c2a42f781 (patch) | |
tree | 4334b19d14624524e8813210d23e66eae5af9077 /include | |
parent | 75dcd01756716ba68f4733fc1cab3bf3a91f3b49 (diff) | |
download | libnl-1dbe738e1e45d97c5829569e3eedcd1c2a42f781.zip libnl-1dbe738e1e45d97c5829569e3eedcd1c2a42f781.tar.gz libnl-1dbe738e1e45d97c5829569e3eedcd1c2a42f781.tar.bz2 |
utils: update link layer protocol translations
Update the private copy of linux/if_arp.h and hook up the not yet
defined ARPHRD_* types in the llprotos translation table. Reorder the
entries such that they correspond to the order they're defined in
linux/if_arp.h. Also remove the #ifdef guards since these are
unnecessary given that the private copy of the kernel header is used.
http://lists.infradead.org/pipermail/libnl/2015-May/001883.html
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux-private/linux/if_arp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux-private/linux/if_arp.h b/include/linux-private/linux/if_arp.h index e04cd2c..9a38ea4 100644 --- a/include/linux-private/linux/if_arp.h +++ b/include/linux-private/linux/if_arp.h @@ -87,10 +87,14 @@ #define ARPHRD_IEEE80211_PRISM 802 /* IEEE 802.11 + Prism2 header */ #define ARPHRD_IEEE80211_RADIOTAP 803 /* IEEE 802.11 + radiotap header */ #define ARPHRD_IEEE802154 804 +#define ARPHRD_IEEE802154_MONITOR 805 /* IEEE 802.15.4 network monitor */ #define ARPHRD_PHONET 820 /* PhoNet media type */ #define ARPHRD_PHONET_PIPE 821 /* PhoNet pipe header */ #define ARPHRD_CAIF 822 /* CAIF media type */ +#define ARPHRD_IP6GRE 823 /* GRE over IPv6 */ +#define ARPHRD_NETLINK 824 /* Netlink header */ +#define ARPHRD_6LOWPAN 825 /* IPv6 over LoWPAN */ #define ARPHRD_VOID 0xFFFF /* Void type, nothing is known */ #define ARPHRD_NONE 0xFFFE /* zero header length */ |