Home
last modified time | relevance | path

Searched refs:inner_version (Results 1 – 2 of 2) sorted by relevance

/kernel/tests/net/test/
Dxfrm_tunnel_test.py88 def _GetNullAuthCryptTunnelModePkt(inner_version, src_inner, src_outer, argument
97 IpType = {4: scapy.IP, 6: scapy.IPv6}[inner_version]
149 def _CheckTunnelOutput(self, inner_version, outer_version, underlying_netid, argument
157 def _CheckTunnelInput(self, inner_version, outer_version, underlying_netid, argument
166 inner_version, remote_inner, remote_outer, _TEST_REMOTE_PORT,
175 def _TestTunnel(self, inner_version, outer_version, func, direction, argument
185 local_inner = self.MyAddress(inner_version, netid)
186 remote_inner = _GetRemoteInnerAddress(inner_version)
208 write_sock = socket(net_test.GetAddressFamily(inner_version), SOCK_DGRAM, 0)
210 read_sock, _ = _CreateReceiveSock(inner_version)
[all …]
Dmultinetwork_test.py117 inner_version = {4: 6, 6: 4}[version]
118 inner_src = self.MyAddress(inner_version, netid)
119 inner_dst = self.GetRemoteAddress(inner_version)
120 inner = str(packets.UDP(inner_version, inner_src, inner_dst, sport=None)[1])
122 ethertype = {4: net_test.ETH_P_IP, 6: net_test.ETH_P_IPV6}[inner_version]
131 version, inner_version, desc, self.GetInterfaceName(netid))