aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/ll_proto.c
AgeCommit message (Collapse)Author
2003-07-14On second thought, this is a better way to fix thingsEric Andersen
2003-07-14Don't use Linux kernel headersEric Andersen
-Erik
2003-06-20Patch from Lars Kellogg-Stedman:Eric Andersen
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
2002-12-16Only included headers that are used.Glenn L McGrath
2002-11-10IP applet by Bastian Blank <waldi@debian.org>Glenn L McGrath