in_iface.h File Reference

const TUint KIfIsLoopback

const TUint KIfIsLoopback

Is a loopback interface

const TUint KIfIsPointToPoint

const TUint KIfIsPointToPoint

Is single point to point

const TUint KIfCanBroadcast

const TUint KIfCanBroadcast

Supports broadcasting

const TUint KIfCanMulticast

const TUint KIfCanMulticast

Supports multicasting

const TUint KIfCanSetMTU

const TUint KIfCanSetMTU

Can have its MTU set

const TUint KIfHasHardwareAddr

const TUint KIfHasHardwareAddr

Has a hardware address (ie needs ARP)

const TUint KIfCanSetHardwareAddr

const TUint KIfCanSetHardwareAddr

Can have its hardware address changed

const TUint KIfIsDialup

const TUint KIfIsDialup

Dialup interface

const TUint KSOLInterface

const TUint KSOLInterface

Option level for network interface driver options.

const TUint KSoIfInfo

const TUint KSoIfInfo

The current network interface driver operation parameters are written to the passed TSoIfInfo structure.

An interface that supports only this is assumed IPv4 only.

anOption should be a TPckgBuf<TSoIfInfo>.

const TUint KSoIfHardwareAddr

const TUint KSoIfHardwareAddr

Gets the interface's local hardware address, if the link layer is using addresses.

anOption should be a TPckgBuf<TSoIfInfo>.

The option is not supported until v7.0.

const TUint KSoIfConfig

const TUint KSoIfConfig

Gets the current network interface driver configuration options.

There may be three kind of interfaces: IPv4 only, IPv6 only and hybrid IPv4/IPv6. The last one is passing traffic for both protocols and thus accepts either family in a single KSoIfConfig call. Hybrid interfaces must be queried twice, once for IPv4 and once for IPv6, to get both the IPv4 and the IPv6 settings.

For IPv4, anOption should be a TPckgBuf<TSoInetIfConfig>, for IPv6 TPckgBuf<TSoInet6IfConfig>.

The iFamily field in either TSoInetIfConfig or TSoInet6IfConfig must be set to either KAfInet for IPv4 or KAfInet6 for IPv6) before the call. If the family is not supported by the interface, it returns KErrNotSupported.

const TUint KSoIfCompareAddr

const TUint KSoIfCompareAddr

For the IPv4 only stack, compares the passed address with the current local address, and returns KErrBadName if not equal.

anOption should be a TPckgBuf< TInetAddr >.

This is not used for the IPv4/v6 stack.

const TUint KSoIfGetConnectionInfo

const TUint KSoIfGetConnectionInfo

Retrieve IAP and NID information

const TInt KErrIfAuthenticationFailure

const TInt KErrIfAuthenticationFailure

const TInt KErrIfAuthNotSecure

const TInt KErrIfAuthNotSecure

const TInt KErrIfAccountDisabled

const TInt KErrIfAccountDisabled

const TInt KErrIfRestrictedLogonHours

const TInt KErrIfRestrictedLogonHours

const TInt KErrIfPasswdExpired

const TInt KErrIfPasswdExpired

const TInt KErrIfNoDialInPermission

const TInt KErrIfNoDialInPermission

const TInt KErrIfChangingPassword

const TInt KErrIfChangingPassword

const TInt KErrIfCallbackNotAcceptable

const TInt KErrIfCallbackNotAcceptable

const TInt KErrIfDNSNotFound

const TInt KErrIfDNSNotFound

const TInt KErrIfLRDBadLine

const TInt KErrIfLRDBadLine