Method lrs::socket::Socket::ipv4_set_header_included

Sets whether packets sent over this socket already have a header included.

Syntax

impl Socket {
    fn ipv4_set_header_included(&self, val: bool) -> Result<(), Errno>
}

Arguments

NameDescription
val

Whether packets sent over this socket already have a header included.

Remarks

This option is only available for raw Ipv4 sockets.

See also