41 _LIT(KTestAddDelRouteNegative2, "TestAddDelRouteNegative2"); |
41 _LIT(KTestAddDelRouteNegative2, "TestAddDelRouteNegative2"); |
42 _LIT(KTestMacAddress, "TestMacAddress"); |
42 _LIT(KTestMacAddress, "TestMacAddress"); |
43 _LIT(KTestMacAddressNegative1, "TestMacAddressNegative1"); |
43 _LIT(KTestMacAddressNegative1, "TestMacAddressNegative1"); |
44 _LIT(KTestioctlfile, "Testioctlfile"); |
44 _LIT(KTestioctlfile, "Testioctlfile"); |
45 _LIT(KTestioctl1, "Testioctl1"); |
45 _LIT(KTestioctl1, "Testioctl1"); |
46 _LIT(KTestioctlGetIfIpAddr, "TestGetIfIPAddr"); |
|
47 _LIT(KTestioctlGetIfAttributes, "TestGetIfAttributes"); |
|
48 _LIT(KTestioctlSetIfAttributes, "TestSetIfAttributes"); |
|
49 _LIT(KTestioctlSetIfDNSSuffix, "TestSetIfDNSSuffix"); |
|
50 _LIT(KTestioctlGetIfDNSSuffix, "TestGetIfDNSSuffix"); |
|
51 _LIT(KTestRouteIoctl, "TestRouteIoctl"); |
|
52 _LIT(KTestNumberOfRoutesIoctl, "TestNumberOfRoutesIoctl"); |
|
53 _LIT(KTestSetNameServers, "TestSetNameServers"); |
|
54 _LIT(KTestGetNameServers, "TestGetNameServers"); |
|
55 |
46 |
56 |
47 |
57 class CTestIfioctls : public CTestStep |
48 class CTestIfioctls : public CTestStep |
58 { |
49 { |
59 public: |
50 public: |
82 TInt TestAddDelRouteNegative2(); |
73 TInt TestAddDelRouteNegative2(); |
83 TInt TestMacAddress(); |
74 TInt TestMacAddress(); |
84 TInt TestMacAddressNegative1(); |
75 TInt TestMacAddressNegative1(); |
85 TInt Testioctlfile(); |
76 TInt Testioctlfile(); |
86 TInt Testioctl1(); |
77 TInt Testioctl1(); |
87 TInt TestGetIfIPAddr(); |
78 |
88 TInt GetIapName(char * aIapName,int len); |
|
89 TInt StartIap(const char *aIapName, int &fd); |
|
90 TInt TestGetIfAttributes(); |
|
91 void printFlags(TInt flags); |
|
92 TInt TestSetIfAttributes(); |
|
93 void FreeDnsSuffixes(char ** suffixes); |
|
94 TInt TestSetIfDNSSuffix(); |
|
95 TInt TestGetIfDNSSuffix(); |
|
96 TInt TestRouteIoctl(); |
|
97 TInt TestNumberOfRoutesIoctl(); |
|
98 TInt TestSetNameServers(); |
|
99 TInt TestGetNameServers(); |
|
100 |
|
101 // util function |
79 // util function |
102 void ReadStringParam(char* aString); |
80 void ReadStringParam(char* aString); |
103 public: |
81 public: |
104 TInt iParamCount; |
82 TInt iParamCount; |
105 |
83 |