Expand description
IP protocol types.
Structs§
- Dscp
AndEcn  - Combines Differentiated Services Code Point (DSCP) and Explicit Congestion Notification (ECN) values into one. Internally the 2 fields are stored using the same layout as the Traffic Class field in IPv6 and the Type Of Service field in IPv4: 6 higher bits for DSCP and 2 lower bits for ECN.
 - Fragment
Offset  - An IP fragment offset.
 
Enums§
- IpProto
 - An IPv4 or IPv6 protocol number.
 - Ipv4
Proto  - An IPv4 protocol number.
 - Ipv6
ExtHdr Type  - An IPv6 extension header.
 - Ipv6
Proto  - An IPv6 protocol number.
 - Nat64
Error  - An error encountered during NAT64 translation.
 - Nat64
Translation Result  - The result of NAT64 translation.
 
Traits§
- IpExt
 - An extension trait to the 
Iptrait adding associated types relevant for packet parsing and serialization. - IpPacket
 - An IPv4 or IPv6 packet.
 - IpPacket
Builder  - A builder for IP packets.
 - IpPacket
Raw  - A raw IPv4 or IPv6 packet.
 - IpProto
Ext  - An 
Ipextension trait adding an associated type for the IP protocol number. - IpProtocol
 - An IPv4 or IPv6 protocol number.