Class: Pcap::Filter
- Inherits:
-
Object
- Object
- Pcap::Filter
- Defined in:
- ext/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().
694 695 696 |
# File 'ext/Pcap.c', line 694
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().
694 695 696 |
# File 'ext/Pcap.c', line 694
static VALUE
filter_new(argc, argv, class)
int argc;
|
Instance Method Details
#& ⇒ Object
826 827 828 |
# File 'ext/Pcap.c', line 826 static VALUE filter_and(self, other) VALUE self, other; |
#=== ⇒ Object
766 767 768 |
# File 'ext/Pcap.c', line 766 VALUE filter_match(self, v_pkt) VALUE self, v_pkt; |
#=~ ⇒ Object
766 767 768 |
# File 'ext/Pcap.c', line 766 VALUE filter_match(self, v_pkt) VALUE self, v_pkt; |
#source ⇒ Object
790 791 792 |
# File 'ext/Pcap.c', line 790 static VALUE filter_source(self) VALUE self; |
#| ⇒ Object
810 811 812 |
# File 'ext/Pcap.c', line 810 static VALUE filter_or(self, other) VALUE self, other; |
#~@ ⇒ Object
842 843 844 |
# File 'ext/Pcap.c', line 842 static VALUE filter_not(self) VALUE self; |