Export (0) Print
Expand All

IP_OPTION_INFORMATION32 structure

The IP_OPTION_INFORMATION32 structure describes the options to be included in the header of an IP packet on a 64-bit platform.

Syntax


typedef struct _IP_OPTION_INFORMATION32 {
  UCHAR              Ttl;
  UCHAR              Tos;
  UCHAR              Flags;
  UCHAR              OptionsSize;
  UCHAR * POINTER_32 OptionsData;
} IP_OPTION_INFORMATION32, *PIP_OPTION_INFORMATION32;

Members

Ttl

Type: UCHAR

The Time to Live field in an IPv4 packet header. This is the Hop Limit field in an IPv6 header.

Tos

Type: UCHAR

The type of service field in an IPv4 header. This member is currently silently ignored.

Flags

Type: UCHAR

The Flags field. In IPv4, this is the Flags field in the IPv4 header. In IPv6, this field is represented by options headers.

For IPv4, the possible values for the Flags member are a combination of the following values defined in the Ipexport.h header file:

ValueMeaning
IP_FLAG_REVERSE
0x01

This value causes the IP packet to add in an IP routing header with the source. This value is only applicable on Windows Vista and later.

IP_FLAG_DF
0x02

This value indicates that the packet should not be fragmented.

 

OptionsSize

Type: UCHAR

The size, in bytes, of IP options data.

OptionsData

Type: UCHAR * POINTER_32

A pointer to options data.

Remarks

The IP_OPTION_INFORMATION32 structure is used to describe the options to be included in the header of an IP packet on a 64-bit platform. The IP_OPTION_INFORMATION32 structure is only defined if _WIN64 is defined.

The values in the TTL, TOS and Flags members are carried in specific fields in the IP header.

The bytes in the OptionsData member are carried in the options area that follows the standard IP header.

With the exception of source route options for IPv4, the options data must be in the format to be transmitted on the wire as specified in RFC 791. An IPv4 source route option should contain the full route, first hop through final destination, in the route data. The first hop is pulled out of the data and the option is reformatted accordingly. Otherwise, the route option should be formatted as specified in RFC 791.

For use with IPv6, the options data must be in the format to be transmitted on the wire as specified in RFC 2460.

The IP_OPTION_INFORMATION32 structure is a member of the ICMP_ECHO_REPLY32 structure used by the by the IcmpSendEcho, IcmpSendEcho2, and Icmp6SendEcho2 functions.

This structure is defined in the Ipexport.h header file which is automatically included in the Iphlpapi.h header file. The Ipexport.h header file should never be used directly.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Ipexport.h (include Iphlpapi.h)

See also

ICMP_ECHO_REPLY32
Icmp6SendEcho2
IcmpSendEcho
IcmpSendEcho2
IP_OPTION_INFORMATION

 

 

Community Additions

ADD
Show:
© 2015 Microsoft