Retrieves the Ipv4 options sent with each packet sent over this socket.
impl Socket {
fn ipv4_options(&self, buf: &'a mut [u8]) -> Result<&'a mut [u8], Errno>
}| Name | Description |
|---|---|
| buf | The buffer in which the options will be stored. |
Returns the initial part of the buffer that has been filled with the options.
The options will use at most 40 bytes.
ip(7) and IP_OPTIONS therein