RILNDISIPCONFIG (Compact 2013)
3/26/2014
This structure is used by the RIL_NOTIFY_NDIS_IPCONFIG notification to notify the Wireless Wide Area Network (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
The size of this RILNDISIPCONFIG structure.
- dwContextId
The General Packet Radio Service (GPRS) context ID that identifies the Access Point Name (APN) associated with this packet.
- dwProtocol
The discriminator for the union member. The possible values for this member are RIL_PARAM_NDISIPCONFIG_PROTOCOL_IPV4 and RIL_PARAM_NDISIPCONFIG_PROTOCOL_IPV6.
ipv4.dwFlags
Specifies valid values for the ipv4 structure members. Must be one of the following RILNDISIPCONFIG Parameter Constants.- RIL_PARAM_NDISIPCONFIG_IPADDR
- RIL_PARAM_NDISIPCONFIG_PRIMARYDNS
- RIL_PARAM_NDISIPCONFIG_SECONDARYDNS
- RIL_PARAM_NDISIPCONFIG_DEFAULTGATEWAY
- RIL_PARAM_NDISIPCONFIG_SUBNETMASK
- ipv4.inIPAddress
The IP address for the device.
- ipv4.inPrimaryDNS
The Primary DNS server address.
- ipv4.inSecondaryDNS
The Secondary DNS server address.
- ipv4.inDefaultGateway
The default gateway address.
- ipv4.inSubnetMask
The subnet mask.
ipv6.dwFlags
Specifies valid values for the ipv6 structure members. Must be one of the following RILNDISIPCONFIG Parameter Constants.- RIL_PARAM_NDISIPCONFIG_IPV6_IPADDR
- RIL_PARAM_NDISIPCONFIG_IPV6_PRIMARYDNS
- RIL_PARAM_NDISIPCONFIG_IPV6_SECONDARYDNS
- RIL_PARAM_NDISIPCONFIG_IPV6_DEFAULTGATEWAY
- RIL_PARAM_NDISIPCONFIG_IPV6_SUBNETMASK
- RIL_PARAM_NDISIPCONFIG_IPV6_FLOWINFO
- RIL_PARAM_NDISIPCONFIG_IPV6_SCOPEID
- ipv6.inIPAddress
RILNDISIPV6ADDR structure that contains the IP address for the device.
- ipv6.inPrimaryDNS
RILNDISIPV6ADDR structure that contains the primary DNS server address.
- ipv6.inSecondaryDNS
RILNDISIPV6ADDR structure that contains the secondary DNS server address.
- ipv6.inDefaultGateway
RILNDISIPV6ADDR structure that contains the default gateway address.
- ipv6.inSubnetMask
RILNDISIPV6ADDR structure that contains the subnet mask.
- ipv6.dwFlowInfo
Flow information.
- ipv6.dwScopeId
The scope identifier.
Requirements
Header |
ril.h |
See Also
Reference
RIL Structures
RILNDISIPV6ADDR