Module ip

Source
Expand description

The Internet Protocol, versions 4 and 6.

Structs§

CommonAddressProperties
Address properties common to IPv4 and IPv6.
IidSecret
A secret for generating OpaqueIids.
IpDeviceConfiguration
Configurations common to all IP devices.
IpDeviceConfigurationAndFlags
The device configurations and flags.
IpDeviceConfigurationUpdate
An update to IP device configuration.
Ipv4AddrConfig
The configuration for an IPv4 address.
Ipv4DeviceConfiguration
Configuration common to all IPv4 devices.
Ipv4DeviceConfigurationUpdate
An update to IPv4 device configuration.
Ipv6AddrManualConfig
The configuration for a manually-assigned IPv6 address.
Ipv6DeviceConfiguration
Configuration common to all IPv6 devices.
Ipv6DeviceConfigurationUpdate
An update to IPv6 device configuration.
Mark
A mark attached to packets/sockets.
MulticastForwardingDisabledError
The API action can not be performed while multicast forwarding is disabled.
MulticastRoute
All attributes of a multicast route, excluding the MulticastRouteKey.
MulticastRouteKey
The attributes of a multicast route that uniquely identify it.
MulticastRouteStats
Statistics about a MulticastRoute.
MulticastRouteTarget
The target out of which to forward a multicast packet.
RawIpSocketIcmpFilter
An ICMP filter installed on a raw IP socket.
RawIpSocketId
Reference to the state of a live socket.
RouterAdvertisementEvent
An event signifying a router advertisement has been received.
SlaacConfiguration
The configuration for SLAAC.
SlaacConfigurationUpdate
An update structure for SlaacConfiguration.
SubnetMatcher
Matcher that matches IP addresses in a subnet.
WeakRawIpSocketId
A weak reference to a raw IP socket.
WrapBroadcastMarker
Wrapper struct to provide a convenient GenericOverIp impl for use with BroadcastIpExt::BroadcastMarker.

Enums§

AddIpAddrSubnetError
Errors that can be returned by the [DeviceIpApiAny::add_ip_addr_subnet] function.
AddrSubnetAndManualConfigEither
An AddrSubnet together with configuration specified for it when adding it to the stack.
AddressRemovedReason
The reason an address was removed.
ForwardMulticastRouteError
Errors returned by MulticastRoute::new_forward.
IgmpConfigMode
The IGMP mode controllable by the user.
IidGenerationConfiguration
The method to use for generating the Interface Identifier portion of stable SLAAC addresses.
IpAddressState
IP address assignment states.
IpDeviceEvent
Events emitted from IP devices.
IpLayerEvent
Events observed at the IP layer.
IpSockCreateAndSendError
An error in sending a packet on a temporary IP socket.
IpSockCreationError
An error encountered when creating an IP socket.
IpSockSendError
An error in sending a packet on an IP socket.
Lifetime
A lifetime that may be forever/infinite.
MarkDomain
Mark domains.
MldConfigMode
The MLD mode controllable by the user.
MulticastForwardingEvent
Events that may be published by the multicast forwarding engine.
PreferredLifetime
An address’ preferred lifetime information.
RawIpSocketIcmpFilterError
Errors that may occur getting/setting the ICMP filter for a raw IP socket.
RawIpSocketProtocol
The supported protocols of raw IP sockets.
RawIpSocketSendToError
Errors that may occur when calling RawIpSocketApi::send_to.
ResolveRouteError
An error occurred while resolving the route to a destination
SetIpAddressPropertiesError
Error type for setting properties on IP addresses.
StableSlaacAddressConfiguration
Configuration values for SLAAC stable addressing.
TemporarySlaacAddressConfiguration
Configuration values for SLAAC temporary addressing.
UpdateIpConfigurationError
Errors observed from updating a device’s IP configuration.

Traits§

RawIpSocketsBindingsContext
Functionality provided by bindings used in the raw IP socket implementation.
RawIpSocketsBindingsTypes
Types provided by bindings used in the raw IP socket implementation.