| To: | Andi Kleen <ak@xxxxxxx> |
|---|---|
| Subject: | Re: how to report network device errors to userspace? |
| From: | James Morris <jmorris@xxxxxxxxxxxxxxxx> |
| Date: | Thu, 20 Jun 2002 12:44:49 +1000 (EST) |
| Cc: | Chris Friesen <cfriesen@xxxxxxxxxxxxxxxxxx>, Donald Becker <becker@xxxxxxxxx>, <netdev@xxxxxxxxxxx> |
| In-reply-to: | <20020619235406.A11706@wotan.suse.de> |
| Sender: | owner-netdev@xxxxxxxxxxx |
On Wed, 19 Jun 2002, Andi Kleen wrote: > On Wed, Jun 19, 2002 at 05:44:05PM -0400, Chris Friesen wrote: > > Andi Kleen wrote: > > > > > I would suggest sending a netlink message from the driver. That's really > > > what netlink was designed for. > > > > Can you point me to a driver that's done this cleanly as an example to > > follow? > > Not exactly a driver, but you can e.g. look at the ip_queue netfilter > module. > It's not a very clean example at this stage, unfortunately, as it contains some fairly ugly logic for maintaining unicast sessions. If you don't specifically need unicast Netlink (which I don't think you do), try also looking at the tcpdiag & ctnetlink code. - James -- James Morris <jmorris@xxxxxxxxxxxxxxxx> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: how to report network device errors to userspace?, Andi Kleen |
|---|---|
| Next by Date: | Re: how to report network device errors to userspace?, jamal |
| Previous by Thread: | Re: how to report network device errors to userspace?, Andi Kleen |
| Next by Thread: | Re: how to report network device errors to userspace?, jamal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |