Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
This commit is contained in:
commit
f5c0c6f429
333 changed files with 4400 additions and 2798 deletions
|
|
@ -23,7 +23,6 @@
|
|||
#define _UAPI_LINUX_IF_ETHER_H
|
||||
|
||||
#include <linux/types.h>
|
||||
#include <linux/libc-compat.h>
|
||||
|
||||
/*
|
||||
* IEEE 802.3 Ethernet magic constants. The frame sizes omit the preamble
|
||||
|
|
@ -151,6 +150,11 @@
|
|||
* This is an Ethernet frame header.
|
||||
*/
|
||||
|
||||
/* allow libcs like musl to deactivate this, glibc does not implement this. */
|
||||
#ifndef __UAPI_DEF_ETHHDR
|
||||
#define __UAPI_DEF_ETHHDR 1
|
||||
#endif
|
||||
|
||||
#if __UAPI_DEF_ETHHDR
|
||||
struct ethhdr {
|
||||
unsigned char h_dest[ETH_ALEN]; /* destination eth addr */
|
||||
|
|
|
|||
|
|
@ -264,10 +264,4 @@
|
|||
|
||||
#endif /* __GLIBC__ */
|
||||
|
||||
/* Definitions for if_ether.h */
|
||||
/* allow libcs like musl to deactivate this, glibc does not implement this. */
|
||||
#ifndef __UAPI_DEF_ETHHDR
|
||||
#define __UAPI_DEF_ETHHDR 1
|
||||
#endif
|
||||
|
||||
#endif /* _UAPI_LIBC_COMPAT_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue