Home
last modified time | relevance | path

Searched refs:inet_aton (Results 1 – 25 of 91) sorted by relevance

1234

/external/autotest/client/deps/lansim/src/py/
Dhost.py15 socket.inet_aton('255.255.255.255'): tools.inet_hwton('FF:FF:FF:FF:FF:FF'),
40 self._bin_ip_addr = socket.inet_aton(ip_addr)
174 self._tcp_fwd_ports[port] = socket.inet_aton(dest_addr), dest_port
302 "ip.dst": socket.inet_aton(ip_addr),
325 dst = socket.inet_aton(ip_addr),
/external/autotest/client/cros/netprotos/
Dinterface_host.py116 ip_addr_prefix = ord(socket.inet_aton(ip_addr)[0])
125 socket.inet_aton(ip_addr) +
126 socket.inet_aton(self._interface_ip))
/external/openssh/openbsd-compat/
Dinet_aton.c74 if (inet_aton(cp, &val))
88 inet_aton(const char *cp, struct in_addr *addr) in inet_aton() function
Dfake-rfc2553.c183 if (hostname && inet_aton(hostname, &in) != 0) in getaddrinfo()
198 if (inet_aton(hostname, &in)) { in getaddrinfo()
DMakefile.in37 inet_aton.o \
Dopenbsd-compat.h157 int inet_aton(const char *cp, struct in_addr *addr);
/external/scapy/scapy/contrib/
Dcarp.py23 from scapy.utils import checksum, inet_aton
68 sl.append(inet_aton(i))
Dldp.py94 fec += inet_aton(o[0])
147 s += inet_aton(o)
253 s += inet_aton(x[5])
/external/scapy/scapy/
Dpton_ntop.py54 result += socket.inet_aton(part)
75 socket.AF_INET: socket.inet_aton,
Dutils.py397 socket.inet_aton("255.255.255.255")
399 def inet_aton(x): function
403 return socket.inet_aton(x)
405 inet_aton = socket.inet_aton variable
413 ip = inet_aton(x)
415 ip = inet_aton(socket.gethostbyname(x))
/external/ltp/testcases/kernel/syscalls/accept/
Daccept02.c116 inet_aton(MULTICASTIP, &mc_group_addr->sin_addr); in setup()
119 inet_aton(LOCALHOSTIP, &server_addr->sin_addr); in setup()
/external/python/httplib2/python2/httplib2/
Dsocks.py307 ipaddr = socket.inet_aton(destaddr)
322 ipaddr = socket.inet_aton(socket.gethostbyname(destaddr))
380 ipaddr = socket.inet_aton(destaddr)
387 ipaddr = socket.inet_aton(socket.gethostbyname(destaddr))
/external/python/httplib2/python3/httplib2/
Dsocks.py307 ipaddr = socket.inet_aton(destaddr)
322 ipaddr = socket.inet_aton(socket.gethostbyname(destaddr))
380 ipaddr = socket.inet_aton(destaddr)
387 ipaddr = socket.inet_aton(socket.gethostbyname(destaddr))
/external/autotest/client/cros/
Ddhcp_test_base.py76 mask = struct.unpack('!I', socket.inet_aton(subnet_mask))[0]
77 subnet = mask & struct.unpack('!I', socket.inet_aton(ip_in_subnet))[0]
78 suffix = ~mask & struct.unpack('!I', socket.inet_aton(ip_suffix))[0]
Ddhcp_packet.py81 return socket.inet_aton(value)
91 return "".join([socket.inet_aton(addr) for addr in value])
135 destination_address = socket.inet_aton(destination)
137 byte_string += socket.inet_aton(router)
286 return socket.inet_aton(value)
/external/wpa_supplicant_8/src/utils/
Dip_addr.c39 if (inet_aton(txt, &addr->u.v4)) { in hostapd_parse_ip_addr()
/external/autotest/server/cros/
Ddnsname_mangler.py31 socket.inet_aton(hostname)
/external/toybox/toys/pending/
Darping.c224 if (!inet_aton(*toys.optargs, &dest_addr)) { in arping_main()
230 if ((toys.optflags & FLAG_s) && !(inet_aton(TT.src_ip, &src_addr))) in arping_main()
/external/scapy/scapy/arch/windows/
D__init__.py21 from scapy.utils import atol, itom, inet_aton, inet_ntoa, PcapReader, pretty_list
436 conf.cache_ipaddrs[self.pcap_name] = socket.inet_aton(self.ip)
452 conf.cache_ipaddrs[self.pcap_name] = socket.inet_aton(self.ip)
1074 loop_net = struct.unpack("!I", socket.inet_aton("127.0.0.0"))[0]
1075 loop_mask = struct.unpack("!I", socket.inet_aton("255.0.0.0"))[0]
/external/ltp/testcases/kernel/syscalls/sendfile/
Dsendfile05.c214 inet_aton("127.0.0.1", &sin1.sin_addr); in create_server()
Dsendfile06.c194 inet_aton("127.0.0.1", &sin1.sin_addr); in create_server()
Dsendfile02.c252 inet_aton("127.0.0.1", &sin1.sin_addr); in create_server()
Dsendfile04.c249 inet_aton("127.0.0.1", &sin1.sin_addr); in create_server()
/external/scapy/scapy/layers/
Dl2.py25 from scapy.utils import inet_ntoa, inet_aton
64 ip = inet_ntoa(inet_aton(ip))
65 tmp = [orb(e) for e in inet_aton(ip)]
/external/iw/
Dwowlan.c54 if (inet_aton(addr, &in_addr) == 0) in wowlan_parse_tcp_file()
77 if (inet_aton(addr, &in_addr) == 0) in wowlan_parse_tcp_file()

1234