#include <in_pkt.h>
class TIpHeader |
Public Attributes | |
---|---|
union TIpHeader::@36 | @37 |
TInet6HeaderIP4 | ip4 |
TInet6HeaderIP | ip6 |
Public Member Functions | |
---|---|
TInt | MaxHeaderLength() |
TInt | MinHeaderLength() |
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.
Returns: Maximum IPv4 header length
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.
Returns: Minimum IPv4 header length