write
Syntax
Description
write(
writes protocol packet data to a PCAPNG file specified in the PCAPNG file writer object,
pcapngObj
,packet
,timestamp
,interfaceID
)pcapngObj
. Input packet
,
timestamp
, and interfaceID
specifies the protocol
packet, packet arrival time, and interface identifier, respectively.
write(___,
specifies options
using one or more name-value pair arguments in addition to the input argument combinations from
any of the previous syntaxes. For example, Name,Value
)'PacketFormat','bits'
sets the
format of the protocol packets to bits.
Examples
Input Arguments
References
[1] Tuexen, M. “PCAP Next Generation (Pcapng) Capture File Format.” 2020. https://www.ietf.org/.
[2] “Radiotap - Introduction.” Accessed May 20, 2020. https://www.radiotap.org/.
[3] Group, The Tcpdump. “Tcpdump/Libpcap Public Repository.” Accessed May 20, 2020. https://www.tcpdump.org.
[4] “Development/LibpcapFileFormat - The Wireshark Wiki.” Accessed May 20, 2020. https://www.wireshark.org.
Extended Capabilities
Version History
Introduced in R2020b