Home
last modified time | relevance | path

Searched refs:LOOPBACK_NAME (Results 1 – 9 of 9) sorted by relevance

/external/scapy/scapy/
Dconsts.py66 LOOPBACK_NAME = "Microsoft KM-TEST Loopback Adapter" variable
68 LOOPBACK_NAME = "Microsoft Loopback Adapter" variable
70 LOOPBACK_NAME = "Microsoft Loopback Adapter" variable
75 LOOPBACK_NAME = "lo" if LINUX else "lo0" variable
76 LOOPBACK_INTERFACE = LOOPBACK_NAME
/external/scapy/scapy/arch/bpf/
Dcore.py12 from scapy.consts import LOOPBACK_NAME
63 if ifname == LOOPBACK_NAME:
155 if ifname == LOOPBACK_NAME:
196 return LOOPBACK_NAME
/external/scapy/test/
Dbpf.uts19 = Get the packed MAC address of LOOPBACK_NAME
21 get_if_raw_hwaddr(LOOPBACK_NAME) == (ARPHDR_LOOPBACK, b'\x00'*6)
157 s.assigned_interface = LOOPBACK_NAME
Dregression.uts99 if iflist == [LOOPBACK_NAME]:
107 conf.route6.routes.append(("::1", 128, "::", LOOPBACK_NAME, ["::1"], 1))
121 conf.route6.ifchange(LOOPBACK_NAME, "::1/128")
3348 conf.route6.routes.append(("::1", 128, "::", LOOPBACK_NAME, ["::1"], 1))
3354 r6.make_route("2001:db8::1", dev=LOOPBACK_NAME) == ("2001:db8::1", 128, "::", LOOPBACK_NAME, [], 1)
/external/scapy/scapy/arch/windows/
D__init__.py417 if 'netid' in data and data['netid'] == scapy.consts.LOOPBACK_NAME:
419 self.name = scapy.consts.LOOPBACK_NAME
432 if self.name == scapy.consts.LOOPBACK_NAME and conf.use_npcap:
450 if not self.ip and self.name == scapy.consts.LOOPBACK_NAME:
683 scapy.consts.LOOPBACK_NAME,
916 if iface.name == scapy.consts.LOOPBACK_NAME:
1042 'name': scapy.consts.LOOPBACK_NAME,
1058 if iface.name == scapy.consts.LOOPBACK_NAME:
1062 if iface.name == scapy.consts.LOOPBACK_NAME:
1068 if conf.iface.name == LOOPBACK_NAME:
[all …]
/external/scapy/scapy/arch/
Dlinux.py25 from scapy.consts import LOOPBACK_NAME, IS_64BITS
129 if i == LOOPBACK_NAME:
134 return LOOPBACK_NAME
235 ifreq = ioctl(s, SIOCGIFADDR,struct.pack("16s16x", LOOPBACK_NAME.encode("utf8")))
238 ifreq2 = ioctl(s, SIOCGIFNETMASK,struct.pack("16s16x", LOOPBACK_NAME.encode("utf8")))
242 routes.append((dst, msk, "0.0.0.0", LOOPBACK_NAME, ifaddr, 1))
354 if dev == LOOPBACK_NAME:
Dunix.py19 from scapy.consts import FREEBSD, NETBSD, OPENBSD, SOLARIS, LOOPBACK_NAME
323 if LOOPBACK_NAME in dev:
Dpcapdnet.py56 LOOPBACK_NAME = scapy.consts.LOOPBACK_NAME = "Npcap Loopback Adapter" variable
525 if iff == scapy.arch.LOOPBACK_NAME:
571 return scapy.consts.LOOPBACK_NAME
573 return intf.get("name", scapy.consts.LOOPBACK_NAME)
D__init__.py14 SOLARIS, WINDOWS, BSD, IS_64BITS, LOOPBACK_NAME, plt, MATPLOTLIB_INLINED, \