|
Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
|
Extension for TSoInetInterfaceInfo. More...
#include <in_sock.h>
Public Attributes | |
| TUint | iDelete:1 |
| Add or delete modifier. | |
| TUint | iAlias:1 |
| Primary or alias modifier. | |
| TUint | iDoPrefix:1 |
| Prefix action (only for IPv6 addresses). | |
| TUint | iDoId:1 |
| Address action. | |
| TUint | iDoState:1 |
| Interface state action. | |
| TUint | iDoAnycast:1 |
| Configure address as Anycast. | |
| TUint | iDoProxy:1 |
| Confiture address as Proxy. | |
Public Attributes inherited from TSoInetInterfaceInfo | |
| TName | iTag |
| Ignored since 7.0. | |
| TName | iName |
| Interface name. | |
| TIfStatus | iState |
| Interface state. | |
| TInt | iMtu |
| Maximum transmission unit (bytes) | |
| TInt | iSpeedMetric |
| An approximation of the interface speed in Kbps. | |
| TUint | iFeatures |
| Feature flags. | |
| TSockAddr | iHwAddr |
| Hardware address. | |
| TInetAddr | iAddress |
| Interface IP address. | |
| TInetAddr | iNetMask |
| IP netmask. | |
| TInetAddr | iBrdAddr |
| IP broadcast address. | |
| TInetAddr | iDefGate |
| IP default gateway or peer address (if known). | |
| TInetAddr | iNameSer1 |
| IP primary name server (if any). | |
| TInetAddr | iNameSer2 |
| IP secondary name server (if any). | |
Extension for TSoInetInterfaceInfo.
Available in Symbian OS v7.0 and later.
Used with the following interface level KSolInetIfCtrl options:
The following configuration changes are only activated with KSoInetConfigInterface and KSoInetChangeInterface options. For these two, the extension specifies the details of actions to be performed. The extension is a collection of control bits, which can be grouped as
The effect of the modifiers depend on the chosen action (in some actions modifiers are ignored). The iDoState can be combined with any other actions, but for the remaining only the following combinations are valid:
fe80::id) and iNetMask defined (for 64 bits, use ffff:ffff:ffff:ffff::). ffff:ffff:ffff:ffff::). ffff:ffff:ffff:ffff::).The default route is processed if iDefGate is specified. If the gateway address is an IPv4 address, then it defines IPv4 default route. Additionally, if the iDefGate is same as iAddress, then this is interpreted as a request to treat the default route as "onlink route" instead of the normal gateway route. iDelete modifier controls whether default route is added or deleted.
The MTU is updated, if iMtu has non-zero value.
Available in Symbian OS v9.2 and later.
Used with the following interface level KSolInetIfCtrl option:
This configuration acts as a notification from a config daemon to the IP stack which controls link local behaviour if the llv4linklocal=ELLV4ConfigDeamonControlled TCPIP.ini option is specified for the interface:
| TUint TSoInet6InterfaceInfo::iAlias |
| TUint TSoInet6InterfaceInfo::iDelete |
| TUint TSoInet6InterfaceInfo::iDoAnycast |
Configure address as Anycast.
The anycast address is defined by iAddress.
Anycast address is recognized as own address for incoming packets, but it cannot be used as a source address for outgoing packets. IPv6 DAD (or IPv4 ARP duplicate address) test is not done for anycast addresses. Anycast address is advertised on the link as an address of this host.
1 = configure anycast (iDoId must also be set, iDoPrefix is ignored)
| TUint TSoInet6InterfaceInfo::iDoId |
Address action.
0 = don't do address, 1= do the address.
iAddress must be specified.
If iNetMask is unspecified, then iAddress defines a single address (either IPv4 or IPv6) which is to be added or removed, depending on the state of the iDelete modifier. iAlias is ignored.
If iNetMask is specified, then the following applies:
| TUint TSoInet6InterfaceInfo::iDoPrefix |
Prefix action (only for IPv6 addresses).
0 = don't do prefix, 1 = do the prefix.
iAddress must be specified.
If set and iNetMask is defined, then iNetMask and iAddress define a prefix for the interface (link). If iNetMask is unspecified, then the iDoPrefix is ignored.
| TUint TSoInet6InterfaceInfo::iDoProxy |
Confiture address as Proxy.
The proxy address is defined by iAddress.
Proxy address is not recognized as own address for incoming packets (nor can it be used as own address for outgoing packets). IPv6 DAD (or IPv4 ARP duplicate address) test is performed for proxy address. Proxy address is advertised on the link as an address of this host.
1 = configure proxy (iDoId must also be set, iDoPrefix is ignored)
| TUint TSoInet6InterfaceInfo::iDoState |
Interface state action.
0 = ignore TSoInetInterfaceInfo::iState,
1 = set interface state based on TSoInetInterfaceInfo::iState as follows: