tcpdump mailing list archives
Re: adding new devices to libpcap
From: Michael Richardson <mcr () sandelman ottawa on ca>
Date: Mon, 13 Jan 2003 13:55:32 -0800
-----BEGIN PGP SIGNED MESSAGE-----
"Sean" == Sean Irvine <sairvin () xtra co nz> writes:
Sean> We have pieces of hardware capable of monitoring various
Sean> kinds of network links. This hardware is not configured
Sean> as a network device (i.e. it is not ifconfig friendly),
Sean> but we do have Linux drivers to talk to the hardware.
I do not think that you need to be ifconfig'ed to talk to the packet
capture mechanisms on Linux. Just go read netif_rx() and netif_receive_skb()
in net/core/dev.c. So long as you can call with an skb, you are probably set.
I'm not sure exactly what it means to be ifconfig-unfriendly - but as long
as you can pretend to be a network device in some fashion, and produce SKB's,
I think you should use the stock interfaces.
] ON HUMILITY: to err is human. To moo, bovine. | firewalls [
] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[
] mcr () sandelman ottawa on ca http://www.sandelman.ottawa.on.ca/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Finger me for keys
iQCVAwUBPiM10oqHRg3pndX9AQHGVQP+Ivf/ZCCFIhHW686vl2zwbxOT9BC8KEV8
/Yg0BYmkx3qZ5ug1K/woWGJ+RUmY+A3yNMJ3Np+jhEP1MPASKeg2KqFVi+74SLAP
yjCsFcfjHTD/5lJfiUsWIOyXdEwiDZEl5uOBuw7wGzm2AEZz6A+hoRG2kIpU6yBv
Ghzmkzmb/3o=
=+lw+
-----END PGP SIGNATURE-----
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe
Current thread:
- adding new devices to libpcap Sean Irvine (Jan 13)
- Re: adding new devices to libpcap Guy Harris (Jan 13)
- Re: adding new devices to libpcap Guy Harris (Jan 13)
- Re: adding new devices to libpcap Michael Richardson (Jan 13)
- Re: adding new devices to libpcap Guy Harris (Jan 13)
- Re: adding new devices to libpcap Stephen Donnelly (Jan 13)
- Re: adding new devices to libpcap Guy Harris (Jan 13)
