[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: iplink: support add/delete
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2010-08-28 21:31:36
Message-ID: 201008282331.36020.vda.linux () googlemail ! com
[Download RAW message or body]

On Friday 27 August 2010 11:12, Oliver Metz wrote:
> > -----Original Message-----
> > From: Denys Vlasenko [mailto:vda.linux@googlemail.com]
> > Sent: Sunday, August 22, 2010 10:04 AM
> > To: busybox@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
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic