[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100302153651.GC4014@hack>
Date: Tue, 2 Mar 2010 23:42:56 +0800
From: Américo Wang <xiyou.wangcong@...il.com>
To: Oleg Kutkov <elenbert@...il.com>
Cc: Américo Wang <xiyou.wangcong@...il.com>,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: Notifier chains bug ?
On Tue, Mar 02, 2010 at 07:50:01AM +0200, Oleg Kutkov wrote:
>2010/3/2 Américo Wang <xiyou.wangcong@...il.com>:
>> On Tue, Mar 2, 2010 at 8:08 AM, Oleg Kutkov <elenbert@...il.com> wrote:
>>> Hello.
>>> I try to used notifier chains for monitoring network devices events.
>>> All works perfectly when just i'm connecting/disconnecting network cable or
>>> up/down interface via ifconfig.
>>> But when i try to change interface address - nothing happens. Notifier is
>>> don't send any events :(
>>
>> I think you mean IP address? No, NETDEV_CHANGEADDR is for hardware
>> address, not for IP address.
>>
>> If you were changing mac address, you will receive NETDEV_CHANGEADDR.
>>
>
>Thank for quick answer.
>Yes, i mean IP address. And what about NETDEV_CHANGE ?
It is for rtnetlink state transition.
>Is there possible for monitoring IP address/netmask changing ?
>
AFAIK, no.
Cc'ing netdev experts...
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists