Home
last modified time | relevance | path

Searched defs:self (Results 1 – 25 of 40) sorted by relevance

12

/kernel/tests/net/test/
Dmultinetwork_test.py57 def CheckPingPacket(self, version, netid, routing_mode, packet): argument
76 def CheckTCPSYNPacket(self, version, netid, routing_mode): argument
93 def CheckUDPPacket(self, version, netid, routing_mode): argument
114 def CheckRawGrePacket(self, version, netid, routing_mode): argument
134 def CheckOutgoingPackets(self, routing_mode): argument
160 def testMarkRouting(self): argument
164 def testUidRouting(self): argument
168 def testOifRouting(self): argument
173 def testUcastOifRouting(self): argument
177 def CheckRemarking(self, version, use_connect): argument
[all …]
Dxfrm_test.py55 def assertIsUdpEncapEsp(self, packet, spi, seq, length): argument
65 def CreateNewSa(self, localAddr, remoteAddr, spi, reqId, encap_tmpl, argument
73 def testAddSa(self): argument
95 def testFlush(self): argument
103 def _TestSocketPolicy(self, version): argument
201 def testSocketPolicyIPv4(self): argument
204 def testSocketPolicyIPv6(self): argument
207 def testSocketPolicyMapped(self): argument
211 def _SetupUdpEncapSockets(self): argument
233 def _SetupUdpEncapSaPair(self, myaddr, remoteaddr, in_spi, out_spi, argument
[all …]
Dping6_test.py56 def __init__(self, tun, mymac, routermac, routeraddr): argument
65 def IsStarted(self): argument
68 def Stop(self): argument
71 def ChecksumValid(self, packet): argument
105 def SendTimeExceeded(self, version, packet): argument
119 def SendPacketTooBig(self, packet): argument
127 def IPv4Packet(self, ip): argument
148 def IPv6Packet(self, ipv6): argument
179 def SwapAddresses(self, packet): argument
184 def SendPacket(self, packet): argument
[all …]
Dsock_diag_test.py119 def assertSocketClosed(self, sock): argument
122 def assertSocketConnected(self, sock): argument
125 def assertSocketsClosed(self, socketpair): argument
129 def assertMarkIs(self, mark, attrs): argument
132 def assertSockInfoMatchesSocket(self, s, info): argument
151 def PackAndCheckBytecode(self, instructions): argument
158 def _EventDuringBlockingCall(self, sock, call, expected_errno, event): argument
184 def CloseDuringBlockingCall(self, sock, call, expected_errno): argument
189 def setUp(self): argument
194 def tearDown(self): argument
[all …]
Dsrcaddr_selection_test.py59 def SetIPv6Sysctl(self, ifname, sysctl, value): argument
62 def SetDAD(self, ifname, value): argument
66 def SetOptimisticDAD(self, ifname, value): argument
69 def SetUseTempaddrs(self, ifname, value): argument
72 def SetUseOptimistic(self, ifname, value): argument
75 def GetSourceIP(self, netid, mode="mark"): argument
85 def assertAddressNotPresent(self, address): argument
89 self, address, expected_ifindex, expected_flags): argument
97 def AddressIsTentative(self, address): argument
101 def BindToAddress(self, address): argument
[all …]
Dbpf_test.py155 def setUp(self): argument
160 def tearDown(self): argument
168 def testCreateMap(self): argument
177 def CheckAllMapEntry(self, nonexistent_key, totalEntries, value): argument
191 def testIterateMap(self): argument
203 def testFindFirstMapKey(self): argument
214 def testRdOnlyMap(self): argument
224 def testWrOnlyMap(self): argument
232 def testProgLoad(self): argument
242 def testPacketBlock(self): argument
[all …]
Dqtaguid_test.py36 def RunIptablesCommand(self, args): argument
40 def setUp(self): argument
44 def tearDown(self): argument
49 def WriteToCtrl(self, command): argument
54 def CheckTag(self, tag, uid): argument
60 def SetIptablesRule(self, version, is_add, is_gid, my_id, inverted): argument
69 def AddIptablesRule(self, version, is_gid, myId): argument
72 def AddIptablesInvertedRule(self, version, is_gid, myId): argument
75 def DelIptablesRule(self, version, is_gid, myId): argument
78 def DelIptablesInvertedRule(self, version, is_gid, myId): argument
[all …]
Dtcp_repair_test.py65 def assertSocketNotConnected(self, sock): argument
68 def assertSocketConnected(self, sock): argument
71 def createConnectedSocket(self, version, netid): argument
99 def receiveFin(self, netid, version, sock): argument
107 def sendData(self, netid, version, sock, payload): argument
116 def receiveData(self, netid, version, payload): argument
131 def testTcpRepairInNoQueue(self): argument
135 def tcpRepairInNoQueueTest(self, version): argument
157 def testGetSequenceNumber(self): argument
161 def GetSequenceNumberTest(self, version): argument
[all …]
Dcstruct_test.py29 def CheckEquals(self, a, b): argument
37 def CheckNotEquals(self, a, b): argument
45 def testEqAndNe(self): argument
58 def testNestedStructs(self): argument
97 def testNullTerminatedStrings(self): argument
113 def testZeroInitialization(self): argument
124 def testKeywordInitialization(self): argument
140 def testCstructOffset(self): argument
167 def testDefinitionFieldMismatch(self): argument
Dnf_test.py36 def setUp(self): argument
41 def tearDown(self): argument
48 def CheckRejectedTcp(self, version, addr): argument
59 def testRejectTcp4(self): argument
62 def testRejectTcp6(self): argument
67 def CheckRejectedUdp(self, version, addr): argument
78 def testRejectUdp4(self): argument
81 def testRejectUdp6(self): argument
Dnetlink.py68 def _Debug(self, s): argument
72 def _NlAttr(self, nla_type, data): argument
79 def _NlAttrIPAddress(self, nla_type, family, address): argument
82 def _NlAttrStr(self, nla_type, value): argument
86 def _NlAttrU32(self, nla_type, value): argument
89 def _GetConstantName(self, module, value, prefix): argument
100 def _Decode(self, command, msg, nla_type, nla_data): argument
104 def _ReadNlAttr(self, data): argument
115 def _ParseAttributes(self, command, msg, data, nested=0): argument
149 def _OpenNetlinkSocket(self, family, groups=None): argument
[all …]
Dxfrm_tunnel_test.py149 def _CheckTunnelOutput(self, inner_version, outer_version, underlying_netid, argument
157 def _CheckTunnelInput(self, inner_version, outer_version, underlying_netid, argument
175 def _TestTunnel(self, inner_version, outer_version, func, direction, argument
219 def ParamTestTunnelInput(self, inner_version, outer_version): argument
223 def ParamTestTunnelOutput(self, inner_version, outer_version): argument
227 def ParamTestTunnelOutputNoSetMark(self, inner_version, outer_version): argument
234 def _VerifyVtiInfoData(self, vti_info_data, version, local_addr, remote_addr, argument
245 def testAddVti(self): argument
283 def _QuietDeleteLink(self, ifname): argument
290 def tearDown(self): argument
[all …]
Dneighbour_test.py68 def setUp(self): argument
90 def GetNeighbour(self, addr, ifindex): argument
96 def GetNdEntry(self, addr): argument
99 def CheckNoNdEvents(self): argument
102 def assertNeighbourState(self, state, addr): argument
105 def assertNeighbourAttr(self, addr, name, value): argument
108 def ExpectNeighbourNotification(self, addr, state, attrs=None): argument
117 def ExpectProbe(self, is_unicast, addr): argument
139 def ExpectUnicastProbe(self, addr): argument
142 def ExpectMulticastNS(self, addr): argument
[all …]
Dforwarding_test.py30 def ForwardBetweenInterfaces(self, enabled, iface1, iface2): argument
35 def setUp(self): argument
38 def tearDown(self): argument
49 def CheckForwardingUdp(self, netid, iface1, iface2): argument
97 def CheckForwardingCrashTcp(self, netid, iface1, iface2): argument
146 def CheckForwardingHandlerByProto(self, protocol, netid, iif, oif): argument
154 def CheckForwardingByProto(self, proto): argument
165 def testForwardingUdp(self): argument
168 def testForwardingCrashTcp(self): argument
Dtcp_fastopen_test.py40 def TFOClientSocket(self, version, netid): argument
47 def assertSocketNotConnected(self, sock): argument
50 def assertSocketConnected(self, sock): argument
53 def clearTcpMetrics(self, version, netid): argument
60 def assertNoTcpMetrics(self, version, netid): argument
66 def CheckConnectOption(self, version): argument
123 def testConnectOptionIPv4(self): argument
127 def testConnectOptionIPv6(self): argument
Dtun_twister.py73 def __init__(self, fd=None, validator=None): argument
92 def __enter__(self): argument
95 def __exit__(self, *args): argument
107 def _RunLoop(self): argument
121 def _Flush(self): argument
128 def _ProcessPacket(self): argument
143 def _DropPacket(self, packet): argument
186 def __init__(self, fd=None, validator=None, drop_multicast=True): argument
200 def _DropPacket(self, packet): argument
Dtcp_metrics.py58 def __init__(self): argument
64 def _Decode(self, command, msg, nla_type, nla_data): argument
86 def MaybeDebugCommand(self, command, unused_flags, data): argument
91 def _NlAttrSaddr(self, address): argument
100 def _NlAttrTcpMetricsAddr(self, address, is_source): argument
110 def _NlAttrAddr(self, address): argument
113 def _NlAttrSaddr(self, address): argument
116 def DumpMetrics(self): argument
120 def GetMetrics(self, saddr, daddr): argument
128 def DelMetrics(self, saddr, daddr): argument
Dcstruct.py156 def _SetValues(self, values): argument
161 def _Parse(self, data): argument
169 def __init__(self, tuple_or_bytes=None, **kwargs): argument
201 def _FieldIndex(self, attr): argument
208 def __getattr__(self, name): argument
211 def __setattr__(self, name, value): argument
216 def offset(self, name): argument
225 def __ne__(self, other): argument
228 def __eq__(self, other): argument
241 def Pack(self): argument
[all …]
Dtcp_test.py43 def tearDown(self): argument
48 def OpenListenSocket(self, version, netid): argument
57 def _ReceiveAndExpectResponse(self, netid, packet, reply, msg): argument
63 def ReceivePacketOn(self, netid, packet): argument
67 def ReceiveRstPacketOn(self, netid): argument
75 def RstPacket(self): argument
79 def FinPacket(self): argument
84 def IncomingConnection(self, version, end_state, netid): argument
Dcsocket_test.py31 def _BuildSocket(self, family, addr): argument
36 def CheckRecvfrom(self, family, addr): argument
47 def testRecvfrom(self): argument
51 def CheckRecvmsg(self, family, addr): argument
80 def testRecvmsg(self): argument
Diproute.py249 def _NlAttrInterfaceName(self, nla_type, interface): argument
252 def _GetConstantName(self, value, prefix): argument
255 def _Decode(self, command, msg, nla_type, nla_data, nested=0): argument
351 def __init__(self): argument
354 def _AddressFamily(self, version): argument
357 def _SendNlRequest(self, command, data, flags=0): argument
369 def _Rule(self, version, is_add, rule_type, table, match_nlattr, priority): argument
399 def DeleteRulesAtPriority(self, version, priority): argument
413 def FwmarkRule(self, version, is_add, fwmark, fwmask, table, priority): argument
418 def IifRule(self, version, is_add, iif, table, priority): argument
[all …]
Dleak_test.py29 def testRecvfromLeak(self): argument
55 def CheckForceSocketBufferOption(self, option, force_option): argument
76 def testRcvBufForce(self): argument
79 def testRcvBufForce(self): argument
Dresilient_rs_test.py68 def setUp(self): argument
75 def tearDown(self): argument
87 def makeTunInterface(self, netid): argument
95 def testFeatureExists(self): argument
98 def testRouterSolicitationBackoff(self): argument
/kernel/tests/devicetree/early_mount/
Ddt_early_mount_test.py55 def setUp(self): argument
59 def GetEarlyMountedPartitions(self): argument
64 def VerifyFstabEntry(self, partition): argument
72 def testFstabCompatible(self): argument
77 def testFstabEntries(self): argument
/kernel/build/abi/
Dabitool.py25 def dump_kernel_abi(self, linux_tree, dump_path): argument
28 def diff_abi(self, old_dump, new_dump, diff_report): argument
31 def name(self): argument
36 def dump_kernel_abi(self, linux_tree, dump_path): argument
44 def diff_abi(self, old_dump, new_dump, diff_report): argument

12