Skip to main content

Module raw_ip

Module raw_ip 

Source
Expand description

Optional generic raw-IP transmit support.

Enable this module with the raw-ip Cargo feature when a caller already owns a complete IP datagram, such as an ICMP Packet Too Big control packet. This API is intentionally separate from crate::raw: it accepts unicast and multicast destinations and does not apply multicast forwarding policy.

Structs§

RawIpCapabilities
Raw-IP transmit support exposed by the current platform.
RawIpContext
Owns ready-to-send generic raw-IP publications.
RawIpPublication
One ready-to-send generic raw-IP socket configuration.
RawIpPublicationId
Stable identifier for one generic raw-IP publication.
RawIpSendReport
Result of one generic raw-IP send call.
RawIpSocketConfig
Configuration for one generic raw-IP transmit socket.

Enums§

RawIpCapability
Raw-IP support level for one address family on the current platform.

Functions§

raw_ip_capabilities
Returns the raw-IP capabilities compiled for the current platform.

Type Aliases§

RawIpPublicationConfig
Compatibility name for callers that use the publication terminology.