[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMvS6vbeo5tBADNmLvkXUuSSHmxVpt3UW+jZtxY2Le9nXRbNDw@mail.gmail.com>
Date: Fri, 6 Sep 2019 10:38:46 +0530
From: dhan lin <dhan.lin1989@...il.com>
To: netdev@...r.kernel.org
Subject: Need more information on "ifi_change" in "struct ifinfomsg"
Hi All,
There is a field called ifi_change in "struct ifinfomsg". man page for
rtnetlink says its for future use and should be always set to
0xFFFFFFFF.
But ive run some sample tests, to confirm the value is not as per man
pages explanation.
Its 0 most of the times and non-zero sometimes.
I've the following question,
Is ifi_change set only when there is a state change in interface values?
>>My application is not interested in processing the netlink messages without any state changes.
>>Can i add a BPF socket filter to drop all Netlink messages with ifi_change=0?
with regards,
dhanlin
Powered by blists - more mailing lists