Class: Pcap::Filter
- Inherits:
-
Object
- Object
- Pcap::Filter
- Defined in:
- ext/pcap/Pcap.c
Class Method Summary collapse
-
.compile ⇒ Object
This cause memory leak because filter->program hold some memory.
-
.new ⇒ Object
This cause memory leak because filter->program hold some memory.
Instance Method Summary collapse
Class Method Details
.compile ⇒ Object
This cause memory leak because filter->program hold some memory. We overlook it because libpcap does not implement pcap_freecode().
820 821 822 |
# File 'ext/pcap/Pcap.c', line 820
static VALUE
filter_new(argc, argv, class)
int argc;
|
.new ⇒ Object
This cause memory leak because filter->program hold some memory. We overlook it because libpcap does not implement pcap_freecode().
820 821 822 |
# File 'ext/pcap/Pcap.c', line 820
static VALUE
filter_new(argc, argv, class)
int argc;
|
Instance Method Details
#& ⇒ Object
952 953 954 |
# File 'ext/pcap/Pcap.c', line 952 static VALUE filter_and(self, other) VALUE self, other; |
#=== ⇒ Object
892 893 894 |
# File 'ext/pcap/Pcap.c', line 892 VALUE filter_match(self, v_pkt) VALUE self, v_pkt; |
#=~ ⇒ Object
892 893 894 |
# File 'ext/pcap/Pcap.c', line 892 VALUE filter_match(self, v_pkt) VALUE self, v_pkt; |
#source ⇒ Object
916 917 918 |
# File 'ext/pcap/Pcap.c', line 916 static VALUE filter_source(self) VALUE self; |
#| ⇒ Object
936 937 938 |
# File 'ext/pcap/Pcap.c', line 936 static VALUE filter_or(self, other) VALUE self, other; |
#~@ ⇒ Object
968 969 970 |
# File 'ext/pcap/Pcap.c', line 968 static VALUE filter_not(self) VALUE self; |