Home
last modified time | relevance | path

Searched refs:myaddr (Results 1 – 6 of 6) sorted by relevance

/system/extras/tests/net_test/
Dtcp_test.py71 return packets.RST(self.version, self.myaddr, self.remoteaddr,
79 myaddr = self.myaddr = self.MyAddress(version, netid)
87 desc, syn = packets.SYN(self.port, version, remoteaddr, myaddr)
88 synack_desc, synack = packets.SYNACK(version, myaddr, remoteaddr, syn)
94 establishing_ack = packets.ACK(version, remoteaddr, myaddr, reply)[1]
106 desc, data = packets.ACK(version, myaddr, remoteaddr, establishing_ack,
111 desc, fin = packets.FIN(version, remoteaddr, myaddr, data)
113 ack_desc, ack = packets.ACK(version, myaddr, remoteaddr, fin)
Dforwarding_test.py54 myaddr = self.MyAddress(version, netid)
56 desc, syn = packets.SYN(listenport, version, remoteaddr, myaddr)
57 synack_desc, synack = packets.SYNACK(version, myaddr, remoteaddr, syn)
61 establishing_ack = packets.ACK(version, remoteaddr, myaddr, reply)[1]
67 desc, fin = packets.FIN(version, myaddr, remoteaddr, establishing_ack)
70 desc, finack = packets.FIN(version, remoteaddr, myaddr, fin)
75 mysrc = "%s:%04X" % (net_test.FormatSockStatAddress(myaddr), listenport)
84 self.iproute.DelAddress(myaddr, 64, self.ifindices[netid])
Dmultinetwork_test.py97 myaddr = self.MyAddress(version, netid)
99 s.bind((myaddr, packets.PING_IDENT))
102 desc, expected = packets.ICMPEcho(version, myaddr, dstaddr)
115 myaddr = self.MyAddress(version, netid)
116 desc, expected = packets.SYN(53, version, myaddr, dstaddr,
131 myaddr = self.MyAddress(version, netid)
132 desc, expected = packets.UDP(version, myaddr, dstaddr, sport=None)
157 myaddr = self.MyAddress(version, netid)
160 desc, expected = packets.GRE(version, myaddr, dstaddr, ethertype, inner)
367 for netid, iif, ip_if, myaddr, remoteaddr in self.Combinations(version):
[all …]
Dmultinetwork_base.py618 myaddr = self.MyAddress(version, dest_ip_netid)
624 combinations.append((netid, iif, ip_if, myaddr, remoteaddr))
Dsock_diag_test.py374 self.assertEqual(self.sock_diag.PaddedAddress(self.myaddr),
/system/core/libnetutils/
Difc_utils.c629 in_addr_t myaddr = 0; in ifc_reset_connections() local
637 ifc_get_info(ifname, &myaddr, NULL, NULL); in ifc_reset_connections()
640 init_sockaddr_in(&ifr.ifr_addr, myaddr); in ifc_reset_connections()