Ruby/Pcap to get at MAC Address

I’m familiar with the Ruby/Pcap extension library but it seems to only
support getting at the IP/TCP/UDP header information of the packet.

How do I get the MAC Address? Am I missing something?

Library is here:
http://www.goto.info.waseda.ac.jp/~fukusima/ruby/pcap-e.html

On 23.01.2008, at 22:24, Jack Foster wrote:

I’m familiar with the Ruby/Pcap extension library but it seems to only
support getting at the IP/TCP/UDP header information of the packet.

How do I get the MAC Address? Am I missing something?

Library is here:
http://www.goto.info.waseda.ac.jp/~fukusima/ruby/pcap-e.html

have a look at scruby.

hth., Sandor
Szücs