Creates a file to write packets. Dumper:new_for_current() will probably be a better choice.
- filename
-
The name of the capture file to be created
- filetype (optional)
-
The type of the file to be created
- encap (optional)
-
The encapsulation to be used in the file to be created
Dumps an arbitrary packet. Note: Dumper:dump_current() will fit best in most cases.
Creates a capture file using the same encapsulation as the one of the cuurrent packet
A pseudoheader to be used to save captured frames.
Creates an ethernet pseudoheader
Creates an ATM pseudoheader
- aal (optional)
-
AAL number
- vpi (optional)
-
VPI
- vci (optional)
-
VCI
- channel (optional)
-
Channel
- cells (optional)
-
Number of cells in the PDU
- aal5u2u (optional)
-
AAL5 User to User indicator
- aal5len (optional)
-
AAL5 Len