Module: Pcap

Defined in:
lib/pcaplet.rb,
lib/pcap_misc.rb,
ext/Pcap.c

Defined Under Namespace

Classes: Capture, Dumper, Filter, ICMPPacket, IPAddress, IPPacket, Packet, PcapError, Pcaplet, TCPPacket, TruncatedPacket, UDPPacket

Constant Summary

IpPacket =

Backword compatibility

IPPacket
IpAddress =
IPAddress
TcpPacket =
TCPPacket
UdpPacket =
UDPPacket
DLT_NULL =
INT2NUM(DLT_NULL)
DLT_EN10MB =
INT2NUM(DLT_EN10MB)
DLT_EN3MB =
INT2NUM(DLT_EN3MB)
DLT_AX25 =
INT2NUM(DLT_AX25)
DLT_PRONET =
INT2NUM(DLT_PRONET)
DLT_CHAOS =
INT2NUM(DLT_CHAOS)
DLT_IEEE802 =
INT2NUM(DLT_IEEE802)
DLT_ARCNET =
INT2NUM(DLT_ARCNET)
DLT_SLIP =
INT2NUM(DLT_SLIP)
DLT_PPP =
INT2NUM(DLT_PPP)
DLT_FDDI =
INT2NUM(DLT_FDDI)
DLT_ATM_RFC1483 =
INT2NUM(DLT_ATM_RFC1483)
DLT_RAW =
INT2NUM(DLT_RAW)
DLT_SLIP_BSDOS =
INT2NUM(DLT_SLIP_BSDOS)
DLT_PPP_BSDOS =
INT2NUM(DLT_PPP_BSDOS)
Stat =
cPcapStat

Class Method Summary (collapse)

Class Method Details

+ (Object) convert=



113
114
115
# File 'ext/Pcap.c', line 113

static VALUE
pcap_s_convert_set(self, val)
VALUE self;

+ (Boolean) convert?



106
107
108
# File 'ext/Pcap.c', line 106

static VALUE
pcap_s_convert(self)
VALUE self;

+ (Object) findalldevs



65
66
67
# File 'ext/Pcap.c', line 65

static VALUE
pcap_s_findalldevs(self)
VALUE self;

+ (Object) lookupdev



52
53
54
# File 'ext/Pcap.c', line 52

static VALUE
pcap_s_lookupdev(self)
VALUE self;

+ (Object) lookupnet



88
89
90
# File 'ext/Pcap.c', line 88

static VALUE
pcap_s_lookupnet(self, dev)
VALUE self;