hush/networking/libiproute
Eric Andersen 0f08e53535 Patch from Lars Kellogg-Stedman:
I'm building BusyBox using a development kit for MontaVista Hardhat Linux
(PPC) -- which, at least in this instance, is based around kernel 2.2.14.
I've had to massage a few files in networking/libiproute/ to make it
compile.  Specifically:

  (1) Added a #include <sys/uio.h> for the iovec structure in
      libnetlink.c,

  (2) Put ifdefs in ll_types.c and ll_proto.c around various
      constants (ETH_P_xxx and ARPHRD_xxx) that weren't defined,

  (3) Make do_changename() in iplink.c require a kernel >=
      2.4.0 -- the ifr structure in my environment doesn't
      have the ifr_name attribute.  I've assumed this is
      a kernel dependency -- let me know if I ought to be
      checking something else.

      In the absence of the correct kernel, do_changename()
      always returns 0.

Attached is a patch against the current CVS that will make these changes.

-- Lars
2003-06-20 09:05:00 +00:00
..
linux
ip_common.h
ip_parse_common_args.c
ipaddress.c
iplink.c Patch from Lars Kellogg-Stedman: 2003-06-20 09:05:00 +00:00
iproute.c iPatch from waldi, fixes usage of ip route flush (from)? (match|exact) 2003-04-26 02:22:19 +00:00
iptunnel.c
libnetlink.c Patch from Lars Kellogg-Stedman: 2003-06-20 09:05:00 +00:00
libnetlink.h
ll_addr.c
ll_map.c
ll_map.h
ll_proto.c Patch from Lars Kellogg-Stedman: 2003-06-20 09:05:00 +00:00
ll_types.c Patch from Lars Kellogg-Stedman: 2003-06-20 09:05:00 +00:00
Makefile
Makefile.in
rt_names.c
rt_names.h
rtm_map.c
rtm_map.h
utils.c
utils.h