次の方法で共有


TUNNEL_TYPE (Compact 2013)

3/26/2014

This enumeration type defines the encapsulation method that is used by a tunnel, as described by the Internet Assigned Names Authority (IANA).

Syntax

typedef enum {
  TUNNEL_TYPE_NONE = 0,
  TUNNEL_TYPE_OTHER,
  TUNNEL_TYPE_DIRECT,
  TUNNEL_TYPE_6TO4,
  TUNNEL_TYPE_ISATAP,
  TUNNEL_TYPE_TEREDO
} TUNNEL_TYPE, *PTUNNEL_TYPE;

Values

  • TUNNEL_TYPE_NONE
    Indicates that a tunnel is not specified.
  • TUNNEL_TYPE_OTHER
    Indicates that none of the following tunnel types is specified.
  • TUNNEL_TYPE_DIRECT
    Specifies that a packet is encapsulated directly in a typical IP header, without a intermediate header, and the packet is sent unicast to the remote tunnel endpoint.
  • TUNNEL_TYPE_6TO4
    Specifies that an IPv6 packet is encapsulated directly in an IPv4 header, without a intermediate header, and the packet is sent unicast to the destination determined by the 6to4 protocol.
  • TUNNEL_TYPE_ISATAP
    Specifies that an IPv6 packet is encapsulated directly in an IPv4 header, without an intermediate header, and the packet is sent unicast to the destination determined by the ISATAP protocol.

Requirements

Header

ifdef.h

See Also

Reference

NDIS Network Interface Enumerations