Re: UDP/IP via Ethernet in real time (config-preempt patch)

From: Neil Horman
Date: Wed Jul 18 2007 - 11:07:17 EST


On Wed, Jul 18, 2007 at 04:26:00PM +0200, M. Koehrer wrote:
> Hi,
>
> I had a short look at the netconsole.txt and the correspondent code.
> It seems to be based on netpoll. This looks quite interesting for my needs.
> However, it seems to be only accessible from kernel space and not
> from user space.
> I want to run a real time application in user space and do the UDP accesses
> from there.
> Is this somehow possible with the netpoll code? I did not see a callable interface
> from user space side.
>
>
Raw or Packet sockets then (AF_RAW / AF_PACKET)?

Neil

> Thanks for any feedback on this topic.
>
> Regards
>
> Mathias
> > I would dump the idea of using UDP and inject raw ethernet frames onto
> > the LAN segment. You can do this by bypassing almost all of the
> > net-stack I'm sure of it. I think the netconsole kernel code does
> > it...
> >
> > Documentation/networking/netconsole.txt
> >
>
>
> --
> Mathias Koehrer
> mathias_koehrer@xxxxxxxx
>
>
> Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
> ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
> und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
> nur 39,85 ? inkl. DSL- und ISDN-Grundgebühr!
> http://www.arcor.de/rd/emf-dsl-2
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html

--
/***************************************************
*Neil Horman
*Software Engineer
*Red Hat, Inc.
*nhorman@xxxxxxxxxxxxx
*gpg keyid: 1024D / 0x92A74FA1
*http://pgp.mit.edu
***************************************************/
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html