netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* serial port-to-netdevice tap
@ 2004-06-15 15:50 Eble, Dan
  2004-06-16 11:55 ` Krzysztof Halasa
  0 siblings, 1 reply; 2+ messages in thread
From: Eble, Dan @ 2004-06-15 15:50 UTC (permalink / raw)
  To: 'netdev@oss.sgi.com'

A coworker of mine wants an easy way to monitor data transfer and control
line changes on an serial port.  His first impulse was to create a /proc
file, but I suggested a netlink socket, or even a raw net device so that he
can take advantage of libpcap for some pretty powerful filtering.  Does
anything like this exist already?

-- 
Dan Eble <dane@aiinet.com>  _____  .
Software Engineer          |  _  |/|
Applied Innovation Inc.    | |_| | |
http://www.aiinet.com/     |__/|_|_|

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: serial port-to-netdevice tap
  2004-06-15 15:50 serial port-to-netdevice tap Eble, Dan
@ 2004-06-16 11:55 ` Krzysztof Halasa
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Halasa @ 2004-06-16 11:55 UTC (permalink / raw)
  To: Eble, Dan; +Cc: 'netdev@oss.sgi.com'

"Eble, Dan" <DanE@aiinet.com> writes:

> A coworker of mine wants an easy way to monitor data transfer and control
> line changes on an serial port.  His first impulse was to create a /proc
> file, but I suggested a netlink socket, or even a raw net device so that he
> can take advantage of libpcap for some pretty powerful filtering.  Does
> anything like this exist already?

With character device? I don't think so. One could use a pseudo
terminal combo, though. Another option is to use two additional ports
with their RX lines connected to both TX and RX lines of the main
port. Depends on requirements.
I use a "data acquisition" card with all the async serial protocol
etc. analysis in (quite simple) software.
A "strace" (if you want to see what a process does) could be a help as
well.
-- 
Krzysztof Halasa, B*FH

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-16 11:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-15 15:50 serial port-to-netdevice tap Eble, Dan
2004-06-16 11:55 ` Krzysztof Halasa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).