mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Update.
1999-04-14 Scott Bambrough <scottb@netwinder.org> * sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr and struct ether_header must be packed on the ARM. The default alignment constraints add padding to the end of the structures. 1999-04-14 Scott Bambrough <scottb@netwinder.org> * inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The default alignment constraints add padding to the end of the structure and between members.
This commit is contained in:
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
|||||||
|
1999-04-14 Scott Bambrough <scottb@netwinder.org>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/arm/net/ethernet.h: struct ether_addr
|
||||||
|
and struct ether_header must be packed on the ARM. The default
|
||||||
|
alignment constraints add padding to the end of the structures.
|
||||||
|
|
||||||
|
1999-04-14 Scott Bambrough <scottb@netwinder.org>
|
||||||
|
|
||||||
|
* inet/arpa/tftp.h: struct tftphdr must be packed on the ARM. The
|
||||||
|
default alignment constraints add padding to the end of the
|
||||||
|
structure and between members.
|
||||||
|
|
||||||
1999-05-02 Ulrich Drepper <drepper@cygnus.com>
|
1999-05-02 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
|
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Use
|
||||||
|
@ -58,7 +58,7 @@ struct tftphdr {
|
|||||||
char tu_stuff[1]; /* request packet stuff */
|
char tu_stuff[1]; /* request packet stuff */
|
||||||
} th_u;
|
} th_u;
|
||||||
char th_data[1]; /* data or error string */
|
char th_data[1]; /* data or error string */
|
||||||
};
|
} __attribute__ ((__packed__));
|
||||||
|
|
||||||
#define th_block th_u.tu_block
|
#define th_block th_u.tu_block
|
||||||
#define th_code th_u.tu_code
|
#define th_code th_u.tu_code
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1997 Free Software Foundation, Inc.
|
/* Copyright (C) 1997, 1999 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -33,7 +33,7 @@ __BEGIN_DECLS
|
|||||||
struct ether_addr
|
struct ether_addr
|
||||||
{
|
{
|
||||||
u_int8_t ether_addr_octet[ETH_ALEN];
|
u_int8_t ether_addr_octet[ETH_ALEN];
|
||||||
};
|
} __attribute__ ((__packed__));
|
||||||
|
|
||||||
/* 10Mb/s ethernet header */
|
/* 10Mb/s ethernet header */
|
||||||
struct ether_header
|
struct ether_header
|
||||||
@ -41,7 +41,7 @@ struct ether_header
|
|||||||
u_int8_t ether_dhost[ETH_ALEN]; /* destination eth addr */
|
u_int8_t ether_dhost[ETH_ALEN]; /* destination eth addr */
|
||||||
u_int8_t ether_shost[ETH_ALEN]; /* source ether addr */
|
u_int8_t ether_shost[ETH_ALEN]; /* source ether addr */
|
||||||
u_int16_t ether_type; /* packet type ID field */
|
u_int16_t ether_type; /* packet type ID field */
|
||||||
};
|
} __attribute__ ((__packed__));
|
||||||
|
|
||||||
/* Ethernet protocol ID's */
|
/* Ethernet protocol ID's */
|
||||||
#define ETHERTYPE_PUP 0x0200 /* Xerox PUP */
|
#define ETHERTYPE_PUP 0x0200 /* Xerox PUP */
|
||||||
|
Reference in New Issue
Block a user