/external/scapy/scapy/ |
D | route6.py | 41 self.routes = [] 47 self.routes = read_routes6() 48 if self.routes == []: 54 for net, msk, gw, iface, cset, metric in self.routes: 92 self.routes.append(self.make_route(*args, **kargs)) 105 l = [x for x in self.routes if in6_ptop(x[0]) == dst and x[1] == plen] 108 l = [x for x in self.routes if in6_ptop(x[2]) == gw] 114 i=self.routes.index(l[0]) 116 del(self.routes[i]) 126 for i, route in enumerate(self.routes): [all …]
|
D | route.py | 36 self.routes = read_routes() 40 for net, msk, gw, iface, addr, metric in self.routes: 77 self.routes.append(self.make_route(*args,**kargs)) 85 i=self.routes.index(route) 86 del(self.routes[i]) 98 for i, route in enumerate(self.routes): 106 self.routes[i] = (the_net,the_msk,gw,iface,the_addr,metric) 108 self.routes[i] = (net,msk,gw,iface,the_addr,metric) 116 for rt in self.routes: 123 self.routes=new_routes [all …]
|
/external/perfetto/ui/src/frontend/ |
D | router.ts | 28 private defaultRoute: string, private routes: RouteMap, property in Router 31 if (!(defaultRoute in routes)) { 60 if (!(route in this.routes)) { 73 const newRoute = hashRoute in this.routes ? hashRoute : this.defaultRoute; 83 if (!route || !(route in this.routes)) { 84 return this.routes[this.defaultRoute]; 86 return this.routes[route];
|
/external/pigweed/pw_router/ |
D | static_router_test.cc | 61 constexpr StaticRouter::Route routes[] = {{1, GoodEgress}, {2, BadEgress}}; in TEST() local 62 StaticRouter router(parser, std::span(routes)); in TEST() 71 constexpr StaticRouter::Route routes[] = {{1, GoodEgress}, {2, BadEgress}}; in TEST() local 72 StaticRouter router(parser, std::span(routes)); in TEST() 81 constexpr StaticRouter::Route routes[] = {{1, GoodEgress}, {2, BadEgress}}; in TEST() local 82 StaticRouter router(parser, std::span(routes)); in TEST() 90 constexpr StaticRouter::Route routes[] = {{1, GoodEgress}, {2, BadEgress}}; in TEST() local 91 StaticRouter router(parser, std::span(routes)); in TEST()
|
D | docs.rst | 49 constexpr pw::router::StaticRouter::Route routes[] = {{1, uart_egress}, 51 pw::router::StaticRouter router(hdlc_parser, routes);
|
/external/crosvm/devices/src/irqchip/kvm/ |
D | x86_64.rs | 35 let mut routes: Vec<IrqRoute> = Vec::new(); in kvm_default_irq_routing_table() localVariable 38 routes.push(IrqRoute::pic_irq_route(IrqSourceChip::PicPrimary, i)); in kvm_default_irq_routing_table() 39 routes.push(IrqRoute::ioapic_irq_route(i)); in kvm_default_irq_routing_table() 42 routes.push(IrqRoute::pic_irq_route(IrqSourceChip::PicSecondary, i)); in kvm_default_irq_routing_table() 43 routes.push(IrqRoute::ioapic_irq_route(i)); in kvm_default_irq_routing_table() 46 routes.push(IrqRoute::ioapic_irq_route(i)); in kvm_default_irq_routing_table() 49 routes in kvm_default_irq_routing_table() 58 pub(super) routes: Arc<Mutex<Vec<IrqRoute>>>, field 70 routes: Arc::new(Mutex::new(kvm_default_irq_routing_table(NUM_IOAPIC_PINS))), in new() 78 routes: self.routes.clone(), in arch_try_clone() [all …]
|
D | aarch64.rs | 17 let mut routes: Vec<IrqRoute> = Vec::new(); in kvm_default_irq_routing_table() localVariable 20 routes.push(IrqRoute::gic_irq_route(i)); in kvm_default_irq_routing_table() 23 routes in kvm_default_irq_routing_table() 34 pub(super) routes: Arc<Mutex<Vec<IrqRoute>>>, field 147 routes: Arc::new(Mutex::new(kvm_default_irq_routing_table())), in new() 158 routes: self.routes.clone(), in arch_try_clone()
|
D | mod.rs | 57 let mut routes = self.routes.lock(); in route_irq() localVariable 58 routes.retain(|r| r.gsi != route.gsi); in route_irq() 60 routes.push(route); in route_irq() 62 self.vm.set_gsi_routing(&*routes) in route_irq() 66 fn set_irq_routes(&mut self, routes: &[IrqRoute]) -> Result<()> { in set_irq_routes() 67 let mut current_routes = self.routes.lock(); in set_irq_routes() 68 *current_routes = routes.to_vec(); in set_irq_routes()
|
/external/scapy/scapy/arch/windows/ |
D | __init__.py | 794 routes = [] 805 routes.append((atol(line[0]), atol(line[1]), "0.0.0.0", iface, 813 routes.append((dst, mask, gw, iface, iface.ip, metric)) 814 return routes 817 routes=[] 823 routes.append((atol(line[0]), atol(line[1]), line[2], iface, ip, int(line[4]))) 826 return routes 829 routes = [] 831 return routes 835 routes = _read_routes_post2008() [all …]
|
/external/tcpdump/tests/ |
D | ripv2_auth.out | 3 RIPv2, Request, length: 44, routes: 2 or less 8 RIPv2, Response, length: 44, routes: 2 or less 13 RIPv2, Request, length: 64, routes: 3 or less 20 RIPv2, Response, length: 64, routes: 3 or less 27 RIPv2, Request, length: 68, routes: 3 or less 35 RIPv2, Response, length: 68, routes: 3 or less 43 RIPv2, Request, length: 80, routes: 4 or less 51 RIPv2, Response, length: 80, routes: 4 or less 59 RIPv2, Request, length: 96, routes: 4 or less 68 RIPv2, Response, length: 96, routes: 4 or less [all …]
|
D | bgp-large-community.out | 9 Updated routes: 17 Updated routes: 25 Updated routes: 33 Updated routes: 41 Updated routes:
|
D | ripv1v2.out | 3 RIPv1, Request, length: 24, routes: 1 7 RIPv1, Response, length: 24, routes: 1 11 RIPv2, Request, length: 24, routes: 1 or less 15 RIPv2, Response, length: 24, routes: 1 or less
|
D | eigrp1-v.out | 105 IP Internal routes TLV (0x0102), length: 28 108 IP Internal routes TLV (0x0102), length: 29 111 IP Internal routes TLV (0x0102), length: 28 114 IP Internal routes TLV (0x0102), length: 29 117 IP Internal routes TLV (0x0102), length: 28 120 IP Internal routes TLV (0x0102), length: 29 123 IP Internal routes TLV (0x0102), length: 28 130 IP Internal routes TLV (0x0102), length: 28 133 IP Internal routes TLV (0x0102), length: 29 136 IP Internal routes TLV (0x0102), length: 28 [all …]
|
D | eigrp3-v.out | 61 IP Internal routes TLV (0x0102), length: 28 72 IP Internal routes TLV (0x0102), length: 28 83 IP Internal routes TLV (0x0102), length: 28 94 IP Internal routes TLV (0x0102), length: 28 105 IP Internal routes TLV (0x0102), length: 28
|
D | bgp_vpn_rt-oobr.out | 4 Withdrawn routes: 3 bytes 16 Withdrawn routes: 3 bytes
|
/external/scapy/scapy/arch/ |
D | unix.py | 54 routes = [] 104 routes.append((dest,netmask, gw, netif, ifaddr, metric)) 113 routes.append((dest, netmask, gw, guessed_netif, ifaddr, metric)) 128 for rtdst,rtmask,_,rtif,rtaddr in routes[:]: 137 routes.append((dest,netmask, gw, gw_if, gw_if_addr, metric)) 141 return routes 239 routes = [] 333 routes.append((destination, destination_plen, next_hop, dev, cset, metric)) 336 return routes
|
D | linux.py | 233 routes = [] 242 routes.append((dst, msk, "0.0.0.0", LOOPBACK_NAME, ifaddr, 1)) 276 routes.append(tmp_route) 278 routes.append((dst_int, msk_int, gw_str, iff, ifaddr, metric)) 281 routes.append((dst_int, msk_int, gw_str, iff, ifaddr, metric)) 284 return routes 331 routes = [] 363 routes.append((d, dp, nh, dev, cset, metric)) 365 return routes
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | DefaultRouter.java | 173 RouteList routes = sipRequest.getRouteHeaders(); in getNextHop() local 192 if (routes != null) { in getNextHop() 196 Route route = (Route) routes.getFirst(); in getNextHop() 264 RouteList routes = req.getRouteHeaders(); in fixStrictRouting() local 265 Route first = (Route) routes.getFirst(); in fixStrictRouting() 267 routes.removeFirst(); in fixStrictRouting() 274 routes.add(route); // as last one in fixStrictRouting()
|
/external/python/httplib2/tests/ |
D | test_http.py | 170 routes = { 176 with tests.server_route(routes, request_count=2) as uri: 184 with tests.server_route(routes, request_count=2) as uri: 224 routes = { 232 with tests.server_route(routes, request_count=3) as uri: 259 routes = { 267 with tests.server_route(routes, request_count=2) as uri: 305 routes = { 314 with tests.server_route(routes, request_count=7) as uri: 349 routes = { [all …]
|
/external/scapy/test/ |
D | mock_windows.uts | 29 """Ensure that mandatory IPv6 routes are present.""" 151 routes = _read_routes6_post2008() 152 for r in routes: 154 print(len(routes)) 155 assert(len(routes) == 9) 156 assert(check_mandatory_ipv6_routes(routes)) 186 routes = _read_routes_post2008() 187 for r in routes: 189 assert len(routes) == 2 191 assert routes[0][5] == 266 [all …]
|
D | linux.uts | 113 print(conf.route.routes) 116 assert(route_alias in conf.route.routes) 123 print(conf.route.routes) 126 assert(route_specific in conf.route.routes)
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_goto_ifs.c | 52 struct routes { struct 56 struct routes *loop_backup; argument 206 route_to(nir_builder *b, struct routes *routing, nir_block *target) in route_to() 237 route_to_cond(nir_builder *b, struct routes *routing, nir_src condition, in route_to_cond() 292 loop_routing_start(struct routes *routing, nir_builder *b, in loop_routing_start() 311 struct routes *routing_backup = rzalloc(mem_ctx, struct routes); in loop_routing_start() 379 loop_routing_end(struct routes *routing, nir_builder *b) in loop_routing_end() 381 struct routes *routing_backup = routing->loop_backup; in loop_routing_end() 661 struct set *reach, struct routes *routing, in organize_levels() 794 nir_structurize(struct routes *routing, nir_builder *b, [all …]
|
/external/rust/crates/paste/tests/ |
D | test_expr.rs | 16 macro_rules! routes { in test_repeat() macro 24 let routes = routes!(A, B); in test_repeat() localVariable 25 assert_eq!(routes, vec!["/a", "/b"]); in test_repeat()
|
/external/pigweed/pw_router/public/pw_router/ |
D | static_router.h | 43 StaticRouter(PacketParser& parser, std::span<const Route> routes) in StaticRouter() argument 44 : parser_(parser), routes_(routes) {} in StaticRouter()
|
/external/pigweed/pw_router/size_report/ |
D | static_router_with_one_route.cc | 61 constexpr pw::router::StaticRouter::Route routes[] = {{1, sys_io_egress}}; variable 62 pw::router::StaticRouter router(parser, routes);
|