| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | netlink sockets and rtm_newlink messages |
| From: | "Patrick R. McManus" <mcmanus@xxxxxxxxxxxx> |
| Date: | Thu, 26 Sep 2002 18:38:53 -0400 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.4i |
hello - I've got a little userspace app that listens to a netlink socket and filters for messages of type RTM_NEWLINK to check for interfaces going up or down (checking ifi_flags to make that determination).. the only stumbling point is that I each time I do something like "ifconfig eth4 down" my app reads 2 identical RTM_NEWLINK messages instead of one (same behavior on up case too.) any thoughts on why? I didn't really know how to interpret sockaddr nl.nl_groups.. 1 seems to give me the same duplicates as ~0.. 0 gives me nothing. -Pat |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] IPv6: Don't Process ND Messages with Invalid Options, David S. Miller |
|---|---|
| Next by Date: | Re: [PATCH] Networking: send-to-self [link to non-broken patch this, kuznet |
| Previous by Thread: | [no subject], mdews |
| Next by Thread: | Re: netlink sockets and rtm_newlink messages, Patrick R. McManus |
| Indexes: | [Date] [Thread] [Top] [All Lists] |