Get the IP address of an interface with a given name

2007-11-20 Thread Giacomo
? Thanks a lot Giacomo -- actual implementation: --- /* returns in *addr the internet address having the name ifname */ int get_ifaddr_by_name(const char *ifname, __u32 * addr) { struct net_device *pnet_device; struct in_device *pin_device; struct in_ifaddr* inet_ifaddr

Get the IP address of an interface with a given name

2007-11-19 Thread Giacomo
pnet_device = next_net_device(pnet_device); #endif } read_unlock_bh(&dev_base_lock); return -1; /* address not found! */ } -- Giacomo S. http://www.giacomos.it - - - - - - - - - - - - - - - - - - - - - - IPFIREwall (http://www.giacomos.it/ipfire) viene presentato all

Re: [BUG] New Kernel Bugs

2007-11-13 Thread Giacomo A. Catenazzi
Mark Lord wrote: Ingo Molnar wrote: .. This is all QA-101 that _cannot be argued against on a rational basis_, it's just that these sorts of things have been largely ignored for years, in favor of the all-too-easy "open source means many eyeballs and that is our QA" answer, which is a _good_ a

Re: last git: BUG: unable to handle kernel paging request at virtual address 92184900

2007-10-29 Thread Giacomo Catenazzi
Andrew Morton wrote: > On Tue, 23 Oct 2007 21:04:20 +0200 Giacomo Catenazzi <[EMAIL PROTECTED]> > wrote: > >> Oct 23 20:20:05 catee kernel: BUG: unable to handle kernel paging request at >> virtual address 92184900 > > Is this still happening in the latest Li

Re: bonding: cannot remove certain named devices

2006-08-16 Thread Giacomo A. Catenazzi
Bill Nottingham wrote: Giacomo A. Catenazzi ([EMAIL PROTECTED]) said: Are you willing to work to add the special case code necessary to handle whitespace characters in the device name over all of the kernel code and also all of the userland tools too? But if you don't handle spac

Re: bonding: cannot remove certain named devices

2006-08-15 Thread Giacomo A. Catenazzi
David Miller wrote: > From: Bodo Eggert <[EMAIL PROTECTED]> > Date: Wed, 16 Aug 2006 02:02:03 +0200 > >> Stephen Hemminger <[EMAIL PROTECTED]> wrote: >> >>> IMHO idiots who put space's in filenames should be ignored. As long as the >>> bonding code doesn't throw a fatal error, it has every right t

Presentation && question^^.

2006-01-31 Thread Giacomo Succi
ng the file? With an user space application? Thanks a lot in advance :)! Best regards. See ya^^! - - - -- Giacomo Succi - - - -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Contacts: eMail: [EMAIL PROTECTED]; AIM: Anandir82 Y!: anandir82; ICQ: 135781176 J: [EMAIL PROTECTED]; MS

Presentation && question^^.

2006-01-31 Thread Giacomo Succi
... That's true or not? And if that's true, how can I use them practically for saving the file? With an user space application? Thanks a lot in advance :)! Best regards. See ya^^! - - - -- Giacomo Succi - - - -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Contacts: eMail: [EMAIL PRO