次の方法で共有


RILNDISIPCONFIG (Windows Embedded CE 6.0)

1/6/2010

This structure is used by the RIL_NOTIFY_NDIS_IPCONFIG notification to notify the WWAN miniport of the IP address configuration information that is obtained from the network.

Syntax

typedef struct rilndisipconfig_tag {
  DWORD cbSize;
  DWORD dwContextId;
  DWORD dwProtocol;
  union
  {
    struct
      {
        DWORD dwFlags;
        DWORD inIPAddress;
        DWORD inPrimaryDNS;
        DWORD inSecondaryDNS;
        DWORD inDefaultGateway;
        DWORD inSubnetMask;
      } ipv4;
    struct
      {
        DWORD dwFlags;
        RILNDISIPV6ADDR inIPAddress;
        RILNDISIPV6ADDR inPrimaryDNS;
        RILNDISIPV6ADDR inSecondaryDNS;
        RILNDISIPV6ADDR inDefaultGateway;
        RILNDISIPV6ADDR inSubnetMask;
        DWORD dwFlowInfo;
        DWORD dwScopeId;
      } ipv6;
    };
} RILNDISIPCONFIG, *LPRILNDISIPCONFIG;

Members

  • cbSize
    Size of this RILNDISIPCONFIG structure.
  • dwContextId
    GPRS context ID that identifies the Access Point Name (APN) that is associated with this packet.
  • dwProtocol
    Discriminator for the union member. The possible values for this member are RIL_PARAM_NDISIPCONFIG_PROTOCOL_IPV4 or RIL_PARAM_NDISIPCONFIG_PROTOCOL_IPV6.
  • ipv4.dwFlags
    Represents the IP address configuration information. The following table shows the possible values for this flag.

    Value Description

    RIL_PARAM_NDISIPCFG_IPADDR

    IP Address of the device.

    RIL_PARAM_NDISIPCFG_PRIMARYDNS

    Primary DNS server address.

    RIL_PARAM_NDISIPCFG_SECONDARYDNS

    Secondary DNS server address.

    RIL_PARAM_NDISIPCFG_DEFAULTGATEWAY

    Default gateway address.

    RIL_PARAM_NDISIPCFG_SUBNETMASK

    Subnet mask.

  • ipv4.inIPAddress
    IP address for the device.
  • ipv4.inPrimaryDNS
    Primary DNS server address.
  • ipv4.inSecondaryDNS
    Secondary DNS server address.
  • ipv4.inDefaultGateway
    Default gateway address.
  • ipv4.inSubnetMask
    Subnet mask.
  • ipv6.dwFlags
    Represents the IP address configuration information. The following table shows the possible values for this flag.

    Value Description

    RIL_PARAM_NDISIPCONFIG_IPV6_IPADDR

    IP Address of the device.

    RIL_PARAM_NDISIPCONFIG_IPV6_PRIMARYDNS

    Primary DNS server address.

    RIL_PARAM_NDISIPCONFIG_IPV6_SECONDARYDNS

    Secondary DNS server address.

    RIL_PARAM_NDISIPCONFIG_IPV6_DEFAULTGATEWAY

    Default gateway address.

    RIL_PARAM_NDISIPCONFIG_IPV6_SUBNETMASK

    Subnet mask.

    RIL_PARAM_NDISIPCONFIG_IPV6_FLOWINFO

    Flow information.

    RIL_PARAM_NDISIPCONFIG_IPV6_SCOPEID

    Scope identifier.

  • ipv6.inIPAddress
    IP address for the device.
  • ipv6.inPrimaryDNS
    Primary DNS server address.
  • ipv6.inSecondaryDNS
    Secondary DNS server address.
  • ipv6.inDefaultGateway
    Default gateway address.
  • ipv6.inSubnetMask
    Subnet mask.
  • ipv6.dwFlowInfo
    Flow information.
  • ipv6.dwScopeId
    Scope identifier.

Requirements

Header ril.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

RIL Structures

Other Resources

CellCore