|
PcapPlusPlus
Next
|
#include <IPv4Layer.h>
Static Public Member Functions | |
| static std::vector< FieldDescriptor > | all () |
Static Public Member Functions inherited from pcpp::Layer::SerializedFields | |
| static std::vector< FieldDescriptor > | all () |
Static Public Attributes | |
| static const FieldDescriptor | SrcIp |
| Source IP address, as a string. | |
| static const FieldDescriptor | DstIp |
| Destination IP address, as a string. | |
| static const FieldDescriptor | IpId |
| IP identification field, in host byte order. | |
| static const FieldDescriptor | IpProtocol |
| Next layer's protocol (e.g. 6 for TCP, 17 for UDP) | |
| static const FieldDescriptor | TotalLength |
| Total length, in host byte order. | |
| static const FieldDescriptor | IsFragment |
| Whether this packet is a fragment. | |
| static const FieldDescriptor | FragmentOffset |
| Fragment offset, in 8-byte units. | |
| static const FieldDescriptor | Options |
| Array of header options; elements described by Option. | |
| static const FieldDescriptor | Option |
| One option's type name (e.g. "NOP"); an Options element, not included in all() | |
Static Public Attributes inherited from pcpp::Layer::SerializedFields | |
| static const FieldDescriptor | ProtocolName |
| Field descriptor for the layer protocol name. | |
| static const FieldDescriptor | ProtocolId |
| Field descriptor for the layer protocol ID. | |
| static const FieldDescriptor | Length |
| Field descriptor for the layer length. | |
| static constexpr uint16_t | MaxID = 1 |
| Maximum field ID used by the layer. | |
Fields written by IPv4Layer's serializeLayer(), in addition to Layer::SerializedFields.
|
inlinestatic |