[][src]Module pcap_parser::data

Helper functions to access block contents (depending in linktype)

Structs

NflogHdr
NflogPacket
NflogTlv

Enums

NfAttrType
PacketData

Contents of a pcap/pcap-ng block. This can be network data, USB, etc.

Constants

ETHERTYPE_IPV4
ETHERTYPE_IPV6

Functions

get_packetdata

Get packet data, depending on linktype.

get_packetdata_ethernet

Get packet data for LINKTYPE_ETHERNET (1)

get_packetdata_ipv4

Get packet data for LINKTYPE_IPV4 (228)

get_packetdata_ipv6

Get packet data for LINKTYPE_IPV6 (229)

get_packetdata_linux_sll

Get packet data for LINKTYPE_LINUX_SLL (113)

get_packetdata_nflog

Get packet data for LINKTYPE_NFLOG (239)

get_packetdata_null

Get packet data for LINKTYPE_NULL (0)

get_packetdata_raw

Get packet data for LINKTYPE_RAW (101)

parse_nflog
parse_nflog_header
parse_nflog_tlv