iproute2/lib
Lutz Jaenicke 257422f77f rtnl_wilddump_request: fix alignment issue for embedded platforms
Platforms have different alignment requirements which need to be
fulfilled by the compiler. If the structure elements are already
4 byte (NLMGS_ALIGNTO) aligned by the compiler adding an explicit
padding element (align_rta) is not allowed.
Use __attribute__ ((aligned (NLMSG_ALIGNTO))) in order to achieve
the required alignment.
Experienced on ARM (xscale) with symptom
  netlink: 12 bytes leftover after parsing attributes

Tested on:
  ARM      (32bit Big Endian)
  PowerPC  (32bit Big Endian)
  x86_64   (64bit Little Endian)
Each with different aligment requirments.

Signed-off-by: Lutz Jaenicke <ljaenicke@innominate.com>
2013-02-19 07:45:59 -08:00
..
Makefile lib: include the Config file too 2012-12-17 09:13:46 -08:00
dnet_ntop.c dnet: fix strict aliasing warnings 2010-07-23 12:30:48 -07:00
dnet_pton.c dnet: fix strict aliasing warnings 2010-07-23 12:30:48 -07:00
inet_proto.c lib: make string arguments const 2013-02-12 11:39:07 -08:00
ipx_ntop.c include needed files 2012-12-23 11:49:06 -08:00
ipx_pton.c include needed files 2012-12-23 11:49:06 -08:00
libgenl.c iproute2: GENL: merge GENL_REQUEST and GENL_INITIALIZER 2012-09-17 15:46:45 -07:00
libnetlink.c rtnl_wilddump_request: fix alignment issue for embedded platforms 2013-02-19 07:45:59 -08:00
ll_addr.c lib: make string arguments const 2013-02-12 11:39:07 -08:00
ll_map.c libnetlink: remove unused junk callback 2011-12-28 10:37:12 -08:00
ll_proto.c lib: make string arguments const 2013-02-12 11:39:07 -08:00
ll_types.c Update ARP header type table 2010-07-23 13:12:12 -07:00
rt_names.c lib: make string arguments const 2013-02-12 11:39:07 -08:00
utils.c include needed files 2012-12-23 11:49:06 -08:00