Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 13 of 13) sorted by relevance

/kernel/tests/net/test/
Dneighbour_test.py69 for proto in ["ipv4", "ipv6"]:
71 "/proc/sys/net/%s/neigh/%s/delay_first_probe_time" % (proto, iface),
74 "/proc/sys/net/%s/neigh/%s/retrans_time_ms" % (proto, iface),
111 def SetUnicastSolicit(self, proto, iface, value): argument
113 "/proc/sys/net/%s/neigh/%s/ucast_solicit" % (proto, iface), value)
120 for proto in ["ipv4", "ipv6"]:
121 self.SetUnicastSolicit(proto, iface, self.UCAST_SOLICIT_DEFAULT)
353 proto = "ipv6"
356 proto = "ipv4"
363 self.SetUnicastSolicit(proto, iface, self.UCAST_SOLICIT_LARGE)
[all …]
Dxfrm.py315 xfrmid = XfrmId(daddr=daddr, spi=spi, proto=IPPROTO_ESP)
515 proto = IPPROTO_ESP
516 xfrm_id = XfrmId((PaddedAddress(dst), spi, proto))
572 def DeleteSaInfo(self, dst, spi, proto, mark=None, xfrm_if_id=None): argument
584 usersa_id = XfrmUsersaId((PaddedAddress(dst), spi, family, proto))
592 def AllocSpi(self, dst, proto, min_spi, max_spi): argument
609 spi.info.id.proto = proto
Dxfrm_algorithm_test.py180 def TestNameGenerator(version, proto, authCase, cryptCase, aeadCase): argument
199 "UDP" if proto == SOCK_DGRAM else "TCP")
202 def ParamTestSocketPolicySimple(self, version, proto, authCase, cryptCase, aeadCase): argument
305 sock_left = socket(family, proto, 0)
309 sock_right = socket(family, proto, 0)
316 if proto == SOCK_STREAM:
372 target = TcpServer if proto == SOCK_STREAM else UdpServer
Dpackets.py135 def GRE(version, srcaddr, dstaddr, proto, packet): argument
137 ip = scapy.IP(src=srcaddr, dst=dstaddr, proto=net_test.IPPROTO_GRE)
140 packet = ip / scapy.GRE(proto=proto) / packet
148 scapy.IP(src=srcaddr, dst=dstaddr, proto=1, tos=0xc0) /
158 pkt = (scapy.IP(src=srcaddr, dst=dstaddr, proto=1) /
Dsock_diag_test.py213 def CheckFindsAllMySockets(self, socktype, proto): argument
216 sockets = self.sock_diag.DumpAllInetSockets(proto, NO_BYTECODE)
246 if proto == IPPROTO_UDP:
Dpf_key_test.py61 self.assertEqual(xfrm.IPPROTO_ESP, state4.id.proto)
62 self.assertEqual(xfrm.IPPROTO_ESP, state6.id.proto)
Dforwarding_test.py154 def CheckForwardingByProto(self, proto): argument
161 self.CheckForwardingHandlerByProto(proto, netid, iface1, iface2)
Dxfrm_base.py215 packet.proto = IPPROTO_ESP
261 packet.proto = IPPROTO_UDP
Dnet_test.py136 proto = {AF_INET: IPPROTO_ICMP, AF_INET6: IPPROTO_ICMPV6}[family]
137 return Socket(family, SOCK_DGRAM, proto)
Diproute.py564 def _Route(self, version, proto, command, table, dest, prefixlen, nexthop, argument
570 proto, scope, route_type, 0)).Pack()
Dxfrm_test.py56 self.assertEqual(IPPROTO_UDP, packet.proto)
177 protocol = packet.nh if version == 6 else packet.proto
Dping6_test.py131 if (ip.proto != IPPROTO_ICMP or
/kernel/prebuilts/5.10/x86_64/
Dmodules.builtin.modinfo11proto-16-family-wireguard�wireguard.author=Jason A. Donenfeld <Jason@zx2c4.com>�wireguard.descript…