Ipv4Header

Ipv4Header
Ipv4Header
JSON Example
{
    "src_ip": "string",
    "flags": 0,
    "dst_ip": "string",
    "src_subnet_prefix_len": 0,
    "ttl": 0,
    "protocol": 0
}
string As ip As ip
src_ip
Optional

The source ip address.

integer As int64 As int64
flags
Optional

IP flags

string As ip As ip
dst_ip
Optional

The destination ip address.

integer As int64 As int64
src_subnet_prefix_len
Optional

This is used together with src_ip to calculate dst_ip for broadcast when dst_ip is not given; not used in all other cases.

integer As int64 As int64
ttl
Optional

Time to live (ttl)

integer As int64 As int64
protocol
Optional

IP protocol - defaults to ICMP