TIpHeader Class Reference

class TIpHeader
A simple help class that uses a union to merge handling of either an IPv4 or an IPv6 header.
Since
v7.0
Public Member Functions
TInt MaxHeaderLength()
TInt MinHeaderLength()
Public Attributes
union TIpHeader::@36@37
TInet6HeaderIP4 ip4
TInet6HeaderIP ip6

Member Functions Documentation

MaxHeaderLength()

TInt MaxHeaderLength()[static, inline]

Gets the maximum header length.

IPv6 header always shorter than maximum IPv4 header, thus returned value is for IPv4. This function is only defined because "header mapping" classes are expected to have it.

MinHeaderLength()

TInt MinHeaderLength()[static, inline]

Gets the minimum header length.

IPv6 header is longer than minimum IPv4 header, thus returned value is for IPv4. This function only defined because it is required when this class is used as template parameter in TInet6Packet.

Member Data Documentation

union TIpHeader::@36 @37

union TIpHeader::@36@37

TInet6HeaderIP4 ip4

TInet6HeaderIP4 ip4

TInet6HeaderIP ip6

TInet6HeaderIP ip6