Home
last modified time | relevance | path

Searched refs:iff (Results 1 – 25 of 268) sorted by relevance

1234567891011

/external/libpcap/
Dpcap-sita.c82 pcap_if_t *iff; in dump_interface_list() local
88 iff = acn_if_list; in dump_interface_list()
89 while (iff) { in dump_interface_list()
90 if (iff->name && (strlen(iff->name) > longest_name_len)) longest_name_len = strlen(iff->name); in dump_interface_list()
91 iff = iff->next; in dump_interface_list()
93 iff = acn_if_list; in dump_interface_list()
95 while (iff) { in dump_interface_list()
96 n = (iff->name) ? iff->name : ""; in dump_interface_list()
97 d = (iff->description) ? iff->description : ""; in dump_interface_list()
98 f = (iff->flags == PCAP_IF_LOOPBACK) ? "L" : ""; in dump_interface_list()
[all …]
/external/scapy/scapy/arch/
D__init__.py28 def get_if_addr(iff): argument
29 return socket.inet_ntoa(get_if_raw_addr(iff))
31 def get_if_hwaddr(iff): argument
32 addrfamily, mac = get_if_raw_hwaddr(iff)
36 … raise Scapy_Exception("Unsupported address family (%i) for interface [%s]" % (addrfamily,iff))
76 def get_if_addr6(iff): argument
83 if x[2] == iff and x[1] == IPV6_ADDR_GLOBAL:
88 def get_if_raw_addr6(iff): argument
94 ip6= get_if_addr6(iff)
Dlinux.py104 def get_if_raw_hwaddr(iff): argument
105 return struct.unpack("16xh6s8x",get_if(iff,SIOCGIFHWADDR))
107 def get_if_raw_addr(iff): argument
109 return get_if(iff, SIOCGIFADDR)[20:24]
167 def set_promisc(s,iff,val=1): argument
168 mreq = struct.pack("IHH8s", get_if_index(iff), PACKET_MR_PROMISC, 0, b"")
248 iff,dst,gw,flags,x,x,metric,msk,x,x,x = l.split()
255 ifreq = ioctl(s, SIOCGIFADDR,struct.pack("16s16x", iff.encode("utf8")))
263 warning("Interface %s: unkown address family (%i)", iff, addrfamily)
274 tmp_route = get_alias_address(iff, dst_int, gw_str, metric)
[all …]
Dpcapdnet.py71 def get_if_raw_addr(iff): argument
74 return conf.cache_ipaddrs.get(iff.pcap_name, None)
93 return conf.cache_ipaddrs.get(iff.pcap_name, None)
509 def get_if_raw_hwaddr(iff): argument
512 def get_if_raw_addr(iff): argument
521 def get_if_raw_hwaddr(iff): argument
525 if iff == scapy.arch.LOOPBACK_NAME:
530 l = dnet.intf().get(iff)
534 " for interface [%s]" % iff)
612 iff,a,gw = x.route()
[all …]
Dcommon.py18 def get_if(iff, cmd): argument
22 ifreq = ioctl(sck, cmd, struct.pack("16s16x", iff.encode("utf8")))
/external/scapy/scapy/
Droute.py90 def ifchange(self, iff, addr): argument
101 if iff.guid != iface.guid:
103 elif iff != iface:
113 def ifdel(self, iff): argument
118 if iff.guid == rt[3].guid:
120 elif iff == rt[3]:
125 def ifadd(self, iff, addr): argument
131 self.routes.append((the_net,the_msk,'0.0.0.0',iff,the_addr,1))
180 def get_if_bcast(self, iff): argument
185 if iff.guid != iface.guid:
[all …]
Droute6.py118 def ifchange(self, iff, addr): argument
128 if iface != iff:
137 def ifdel(self, iff): argument
141 if rt[3] != iff:
147 def ifadd(self, iff, addr): argument
167 self.routes.append((prefix,plen,'::',iff,[addr],1))
/external/scapy/scapy/layers/
Dl2.py68 iff,a,gw = conf.route.route(ip)
69 if ( (iff == scapy.consts.LOOPBACK_INTERFACE) or (ip == conf.route.get_if_bcast(iff)) ):
80 iface = iff,
120 iff = self.getif(pkt)
121 if iff is None:
122 iff = conf.iface
123 if iff:
125 x = get_if_hwaddr(iff)
566 iff = self.optsend.get('iface')
568 iff,a,gw = conf.route.route(arp.psrc)
[all …]
/external/scapy/scapy/arch/bpf/
Dsupersocket.py320 iff = pkt.route()[0]
321 if iff is None:
322 iff = conf.iface
325 if self.assigned_interface != iff:
327 fcntl.ioctl(self.outs, BIOCSETIF, struct.pack("16s16x", iff.encode()))
329 raise Scapy_Exception("BIOCSETIF failed on %s" % iff)
330 self.assigned_interface = iff
/external/mesa3d/src/compiler/nir/
Dnir_opt_move_comparisons.c131 nir_if *iff = nir_block_get_following_if(block); in move_comparisons() local
132 if (iff) { in move_comparisons()
133 progress |= move_comparison_source(&iff->condition, block, NULL); in move_comparisons()
Dnir_sweep.c75 sweep_if(nir_shader *nir, nir_if *iff) in sweep_if() argument
77 ralloc_steal(nir, iff); in sweep_if()
79 foreach_list_typed(nir_cf_node, cf_node, node, &iff->then_list) { in sweep_if()
83 foreach_list_typed(nir_cf_node, cf_node, node, &iff->else_list) { in sweep_if()
/external/llvm/test/Transforms/InstCombine/
Dapint-xor1.ll8 ;; (A & C1)^(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0
46 ;; (A | C1) ^ C2 -> (A | C1) & ~C2 iff (C1&C2) == C2
Dapint-xor2.ll9 ;; (A & C1)^(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0
47 ;; (A | C1) ^ C2 -> (A | C1) & ~C2 iff (C1&C2) == C2
/external/swiftshader/third_party/LLVM/test/Transforms/InstCombine/
Dapint-xor2.ll9 ;; (A & C1)^(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0
47 ;; (A | C1) ^ C2 -> (A | C1) & ~C2 iff (C1&C2) == C2
Dapint-xor1.ll8 ;; (A & C1)^(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0
46 ;; (A | C1) ^ C2 -> (A | C1) & ~C2 iff (C1&C2) == C2
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
Dgtest-port.cc.orig152 // Returns true iff regular expression re matches the entire str.
160 // Returns true iff regular expression re matches a substring of str
201 // Returns true iff ch appears anywhere in str (excluding the
207 // Returns true iff ch belongs to the given classification. Unlike
221 // Returns true iff "\\c" is a supported escape sequence.
226 // Returns true iff the given atom (specified by escaped and pattern)
268 // True iff ?, *, or + can follow the previous atom.
344 // Returns true iff regex matches a prefix of str. regex must be a
375 // Returns true iff regex matches any substring of str. regex must be
405 // Returns true iff regular expression re matches the entire str.
[all …]
/external/mesa3d/src/compiler/glsl/
Dlower_blend_equation_advanced.cpp333 ir_if *iff = new(mem_ctx) ir_if(is_mode(mode, choice)); in calc_blend_result() local
334 casefactory.emit(iff); in calc_blend_result()
335 casefactory.instructions = &iff->then_instructions; in calc_blend_result()
393 casefactory.instructions = &iff->else_instructions; in calc_blend_result()
Dir_reader.cpp488 ir_if *iff = new(mem_ctx) ir_if(condition); in read_if() local
490 read_instructions(&iff->then_instructions, s_then, loop_ctx); in read_if()
491 read_instructions(&iff->else_instructions, s_else, loop_ctx); in read_if()
493 delete iff; in read_if()
494 iff = NULL; in read_if()
496 return iff; in read_if()
/external/dhcpcd-6.8.2/
Ddhcpcd.c945 struct interface *ifp, *iff, *ifn; in dhcpcd_handleinterface() local
982 iff = if_find(ctx->ifaces, ifp->name); in dhcpcd_handleinterface()
983 if (iff) { in dhcpcd_handleinterface()
984 logger(ctx, LOG_DEBUG, "%s: interface updated", iff->name); in dhcpcd_handleinterface()
986 iff->flags = ifp->flags; in dhcpcd_handleinterface()
987 iff->hwlen = ifp->hwlen; in dhcpcd_handleinterface()
989 memcpy(iff->hwaddr, ifp->hwaddr, iff->hwlen); in dhcpcd_handleinterface()
996 iff = ifp; in dhcpcd_handleinterface()
999 dhcpcd_prestartinterface(iff); in dhcpcd_handleinterface()
/external/autotest/client/site_tests/policy_URLWhitelist/
Dcontrol.notset_blocked19 The test case shall pass iff the browser blocks every test page. It shall fail
/external/autotest/client/site_tests/policy_URLBlacklist/
Dcontrol.notset_allowed19 The test case shall pass iff the browser allows every test page. It shall fail
Dcontrol.multiplepages_blocked19 A test case shall pass iff URLs that are in the URLBlacklist policy value
/external/autotest/client/site_tests/policy_CookiesAllowedForUrls/
Dcontrol.notset_block20 The test case shall pass iff the browser blocks cookies for every test page.
/external/autotest/client/site_tests/policy_ImagesAllowedForUrls/
Dcontrol.notset_block20 The test case shall pass iff the browser blocks images for every test page.
/external/autotest/client/site_tests/policy_PopupsAllowedForUrls/
Dcontrol.notset_block20 The test case shall pass iff the browser blocks popups for every test page.

1234567891011