iplink: support add/delete
Denys Vlasenko
vda.linux at googlemail.com
Sat Aug 28 21:31:36 UTC 2010
On Friday 27 August 2010 11:12, Oliver Metz wrote:
> > -----Original Message-----
> > From: Denys Vlasenko [mailto:vda.linux at googlemail.com]
> > Sent: Sunday, August 22, 2010 10:04 AM
> > To: busybox at busybox.net
> > Subject: Re: iplink: support add/delete
> > ...
> > I'd rather simply do
> >
> > #ifndef IFLA_LINKINFO
> > # define IFLA_LINKINFO 18
> > #endif
> >
> > at the top of that file.
> >
> > I committed this change to git:
> >
> > http://git.busybox.net/busybox/commit/?id=b276e418351612341e31da6385edb
> > c3c91d2f6e8
> >
> > Please let me know whether current git works for you.
> > --
> > vda
> Hi Denys,
> thanks for looking into it.
>
> But if you read again my first post on this topic you will see
> some more undefined identifiers.
Then you need to let me know what needs to be added here:
#ifndef IFLA_LINKINFO
# define IFLA_LINKINFO 18
# define FOO 123 <================
#endif
> Sorry that I didn't understand
> your post about this defines.
> I don't have any clue where this magic numer "18" comes from?
I looked at the relevant most recent Linux header:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=include/linux/if_link.h
--
vda
More information about the busybox
mailing list