OSDN Git Service

Fix our *ether* headers mess.
authorElliott Hughes <enh@google.com>
Thu, 12 May 2016 20:11:28 +0000 (13:11 -0700)
committerElliott Hughes <enh@google.com>
Fri, 13 May 2016 18:00:22 +0000 (11:00 -0700)
commitf6324d540a54aac8b757fea4d925bc6537d6790c
tree37b39d8a9b5e025c8a81c814bbeb2edcedb61b88
parent56469e8de225bdd16e6f0fa887ce65294bfb9ed1
Fix our *ether* headers mess.

Move everything to where it should be.

Along the way, we lose <net/ethertypes.h>. glibc only has a handful of these
types, and they're all in <net/ethernet.h>, not <net/ethertypes.h>. I've taken
the liberty of not including the AppleTalk ones, since it is 2016.

Also, <net/if_ether.h> should be <netinet/if_ether.h> (though with different
contents).

Bug: http://b/28519060
Change-Id: Ia41c3fc136fd3e6b008c8d08018e0629134ea6fc
libc/bionic/ether_aton.c
libc/bionic/ether_ntoa.c
libc/include/net/ethernet.h
libc/include/net/ethertypes.h [deleted file]
libc/include/net/if_ether.h [deleted file]
libc/include/netinet/ether.h
libc/include/netinet/if_ether.h