/kernel/tests/net/test/ |
D | multinetwork_test.py | 59 def CheckPingPacket(self, version, netid, routing_mode, packet): argument 78 def CheckTCPSYNPacket(self, version, netid, routing_mode): argument 95 def CheckUDPPacket(self, version, netid, routing_mode): argument 116 def CheckRawGrePacket(self, version, netid, routing_mode): argument 136 def CheckOutgoingPackets(self, routing_mode): argument 162 def testMarkRouting(self): argument 166 def testUidRouting(self): argument 170 def testOifRouting(self): argument 175 def testUcastOifRouting(self): argument 179 def CheckRemarking(self, version, use_connect): argument [all …]
|
D | xfrm_test.py | 55 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 …]
|
D | ping6_test.py | 56 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 …]
|
D | sock_diag_test.py | 119 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 …]
|
D | bpf_test.py | 224 def setUp(self): argument 230 def tearDown(self): argument 239 def testCreateMap(self): argument 248 def CheckAllMapEntry(self, nonexistent_key, total_entries, value): argument 262 def testIterateMap(self): argument 274 def testFindFirstMapKey(self): argument 284 def testRdOnlyMap(self): argument 292 def testWrOnlyMap(self): argument 300 def testProgLoad(self): argument 310 def testPacketBlock(self): argument [all …]
|
D | srcaddr_selection_test.py | 59 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 SetForwarding(self, value): argument 78 def GetSourceIP(self, netid, mode="mark"): argument 88 def assertAddressNotPresent(self, address): argument 92 self, address, expected_ifindex, expected_flags): argument 100 def AddressIsTentative(self, address): argument [all …]
|
D | qtaguid_test.py | 36 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 …]
|
D | tcp_repair_test.py | 65 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 …]
|
D | neighbour_test.py | 77 def setUp(self): argument 111 def SetUnicastSolicit(self, proto, iface, value): argument 115 def tearDown(self): argument 127 def ChangeRouterNudState(self, version, state): argument 134 def GetNeighbour(self, addr, ifindex): argument 140 def GetNdEntry(self, addr): argument 143 def CheckNoNdEvents(self): argument 146 def assertNeighbourState(self, state, addr): argument 149 def assertNeighbourAttr(self, addr, name, value): argument 152 def ExpectNeighbourNotification(self, addr, state, attrs=None): argument [all …]
|
D | cstruct_test.py | 29 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
|
D | netlink.py | 68 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): argument [all …]
|
D | xfrm_tunnel_test.py | 186 def _CheckTunnelOutput(self, inner_version, outer_version, underlying_netid, argument 194 def _CheckTunnelInput(self, inner_version, outer_version, underlying_netid, argument 212 def _TestTunnel(self, inner_version, outer_version, func, direction, argument 256 def ParamTestTunnelInput(self, inner_version, outer_version): argument 260 def ParamTestTunnelOutput(self, inner_version, outer_version): argument 264 def ParamTestTunnelOutputNoSetMark(self, inner_version, outer_version): argument 271 def _VerifyVtiInfoData(self, vti_info_data, version, local_addr, remote_addr, argument 282 def testAddVti(self): argument 320 def _QuietDeleteLink(self, ifname): argument 327 def tearDown(self): argument [all …]
|
D | nf_test.py | 36 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
|
D | forwarding_test.py | 30 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
|
D | tcp_fastopen_test.py | 40 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
|
D | removed_feature_test.py | 44 def assertFeatureEnabled(self, featureName): argument 47 def assertFeatureAbsent(self, featureName): argument 50 def testNetfilterRejectWithSocketError(self): argument 72 def testRemovedAndroidParanoidNetwork(self): argument 80 def testRemovedQtaguid(self): argument 84 def testRemovedTcpMemSysctls(self): argument
|
D | cstruct.py | 159 def _SetValues(self, values): argument 164 def _Parse(self, data): argument 172 def __init__(self, tuple_or_bytes=None, **kwargs): argument 204 def _FieldIndex(self, attr): argument 211 def __getattr__(self, name): argument 214 def __setattr__(self, name, value): argument 219 def offset(self, name): argument 228 def __ne__(self, other): argument 231 def __eq__(self, other): argument 244 def Pack(self): argument [all …]
|
D | tcp_metrics.py | 58 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
|
D | tun_twister.py | 73 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
|
D | tcp_test.py | 43 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
|
D | sysctls_test.py | 24 def check(self, f): argument 32 def testAllowedCongestionControl(self): argument 35 def testAvailableCongestionControl(self): argument 38 def testCongestionControl(self): argument
|
D | csocket_test.py | 39 def _BuildSocket(self, family, addr): argument 44 def CheckRecvfrom(self, family, addr): argument 55 def testRecvfrom(self): argument 59 def CheckRecvmsg(self, family, addr): argument 88 def testRecvmsg(self): argument
|
D | iproute.py | 253 def _NlAttrInterfaceName(self, nla_type, interface): argument 256 def _GetConstantName(self, value, prefix): argument 259 def _Decode(self, command, msg, nla_type, nla_data, nested=0): argument 355 def __init__(self): argument 358 def _AddressFamily(self, version): argument 361 def _SendNlRequest(self, command, data, flags=0): argument 373 def _Rule(self, version, is_add, rule_type, table, match_nlattr, priority): argument 403 def DeleteRulesAtPriority(self, version, priority): argument 417 def FwmarkRule(self, version, is_add, fwmark, fwmask, table, priority): argument 422 def IifRule(self, version, is_add, iif, table, priority): argument [all …]
|
/kernel/configs/tools/ |
D | freeze.py | 38 def __init__(self, cmdline_args): argument 47 def run(self): argument 53 def move_configs(self): argument 70 def freeze_configs_in_matrices(self): argument 78 def create_current(self): argument 83 def print_summary(self): argument
|
/kernel/tests/devicetree/early_mount/ |
D | dt_early_mount_test.py | 55 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
|