Home | Trees | Indices | Help |
---|
|
object --+ | bpf_program
bpf_program object is a wrapper for the type `struct bpf_program_t' used in PCAP library. Its methods are all PCAP library functions with prototype `type pcap_func(struct bpf_program_t *,...)'. Method names are functions names without `pcap_' prefix.
Note: bpf_program object cannot be created directly. The only way to create such object is to use the `compile()' method of a pcap object instance.
|
|||
a new object with type S, a subtype of T |
|
||
boolean |
|
||
Inherited from |
|
|||
Inherited from |
|
|
offline_filter() check whether a filter matches a packet. It is a wrapper for pcap_offline_filter() Packet Capture library routine. Argument `h' must be a Python dictionary which is a wrapper for `struct pcap_pkthdr' defined in PCAP library. See `loop()' documentation for a description of this dictionary. Argument `pkt' is a (raw) string.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Mon Oct 22 15:53:08 2012 | http://epydoc.sourceforge.net |