Home
last modified time | relevance | path

Searched full:router (Results 1 – 25 of 1346) sorted by relevance

12345678910>>...54

/external/tcpdump/tests/
Dospf3_nbma-vv.out2 Router-ID 3.3.3.3, Backbone Area
3 Options [V6, External, Router]
5 Designated Router 3.3.3.3
8 Router-ID 3.3.3.3, Backbone Area
9 Options [V6, External, Router]
11 Designated Router 3.3.3.3
14 Router-ID 1.1.1.1, Backbone Area
15 Options [V6, External, Router]
17 Designated Router 1.1.1.1
21 Router-ID 3.3.3.3, Backbone Area
[all …]
Dospf3_mp-vv.out2 Router-ID 3.3.3.3, Backbone Area
3 Options [V6, External, Router]
7 Router-ID 3.3.3.3, Backbone Area
8 Options [V6, External, Router]
12 Router-ID 3.3.3.3, Backbone Area
13 Options [V6, External, Router]
17 Router-ID 3.3.3.3, Backbone Area
18 Options [V6, External, Router]
22 Router-ID 1.1.1.1, Backbone Area
23 Options [V6, External, Router]
[all …]
Dospf3_ah-vv.out2 Router-ID 1.1.1.1, Area 0.0.0.1
3 Options [V6, External, Router]
7 Router-ID 2.2.2.2, Area 0.0.0.1
8 Options [V6, External, Router]
12 Router-ID 1.1.1.1, Area 0.0.0.1
13 Options [V6, External, Router]
18 Router-ID 2.2.2.2, Area 0.0.0.1
19 Options [V6, External, Router]
24 Router-ID 1.1.1.1, Area 0.0.0.1
25 Options [V6, External, Router]
[all …]
Dospf3_bc-vv.out2 Router-ID 1.1.1.1, Area 0.0.0.1
3 Options [V6, External, Router]
7 Router-ID 1.1.1.1, Area 0.0.0.1
8 Options [V6, External, Router]
12 Router-ID 1.1.1.1, Area 0.0.0.1
13 Options [V6, External, Router]
17 Router-ID 1.1.1.1, Area 0.0.0.1
18 Options [V6, External, Router]
22 Router-ID 2.2.2.2, Area 0.0.0.1
23 Options [V6, External, Router]
[all …]
Dospf6_print_lshdr-oobr.out2 Router-ID 1.1.1.1, Area 0.0.0.1
3 Options [V6, External, Router]
7 Router-ID 1.1.1.1, Area 0.0.0.1
8 Options [V6, External, Router]
12 Router-ID 1.1.1.1, Area 0.0.0.1
13 Options [V6, External, Router]
17 Router-ID 1.1.1.1, Area 0.0.0.1
18 Options [V6, External, Router]
22 Router-ID 2.2.2.2, Area 0.0.0.1
23 Options [V6, External, Router]
[all …]
/external/openthread/src/core/thread/
Drouter_table.hpp47 #include "thread/router.hpp"
66 * Clears the router table.
78 * Allocates a router with a random Router ID.
80 * @returns A pointer to the allocated router or `nullptr` if a Router ID is not available.
83 Router *Allocate(void);
86 * Allocates a router with a specified Router ID.
88 * @param[in] aRouterId The Router ID to try to allocate.
90 …* @returns A pointer to the allocated router or `nullptr` if the ID @p aRouterId could not be allo…
93 Router *Allocate(uint8_t aRouterId);
96 * Releases a Router ID.
[all …]
Drouter_table.cpp77 for (Router &router : mRouters) in ClearNeighbors()
79 if (router.IsStateValid()) in ClearNeighbors()
81 Get<NeighborTable>().Signal(NeighborTable::kRouterRemoved, router); in ClearNeighbors()
85 router.SetState(Neighbor::kStateInvalid); in ClearNeighbors()
89 Router *RouterTable::AddRouter(uint8_t aRouterId) in AddRouter()
91 // Add a new `Router` entry to `mRouters` array with given in AddRouter()
94 Router *router = mRouters.PushBack(); in AddRouter() local
96 VerifyOrExit(router != nullptr); in AddRouter()
98 router->Clear(); in AddRouter()
99 router->SetRloc16(Mle::Rloc16FromRouterId(aRouterId)); in AddRouter()
[all …]
Drouter.hpp31 * This file includes definitions Thread `Router` and `Parent`.
46 * Represents a Thread Router
49 class Router : public Neighbor class
53 * Represents diagnostic information for a Thread Router.
60 * Sets the `Info` instance from a given `Router`.
62 * @param[in] aRouter A router.
65 void SetFrom(const Router &aRouter);
77 * Initializes the `Router` object.
85 * Clears the router entry.
91 * Sets the `Router` entry from a `Parent`
[all …]
/external/rust/crates/axum/src/docs/routing/
Dwith_state.md1 Provide the state for the router.
4 use axum::{Router, routing::get, extract::State};
9 let routes = Router::new()
24 When returning `Router`s from functions it is generally recommend not set the
28 use axum::{Router, routing::get, extract::State};
33 // Don't call `Router::with_state` here
34 fn routes() -> Router<AppState> {
35 Router::new()
49 If you do need to provide the state, and you're _not_ nesting/merging the router
50 into another router, then return `Router` without any type parameters:
[all …]
Dnest.md1 Nest a [`Router`] at some path.
11 Router,
14 let user_routes = Router::new().route("/:id", get(|| async {}));
16 let team_routes = Router::new().route("/", post(|| async {}));
18 let api_routes = Router::new()
22 let app = Router::new().nest("/api", api_routes);
48 Router,
59 let users_api = Router::new().route("/users/:id", get(users_get));
61 let app = Router::new().nest("/:version/api", users_api);
74 use axum::{routing::get, http::Uri, Router};
[all …]
/external/openthread/tests/scripts/thread-cert/border_router/
Dtest_single_border_router.py45 # ROUTER
49 ROUTER = 2 variable
64 'allowlist': [ROUTER],
68 ROUTER: {
69 'name': 'Router',
81 router = self.nodes[ROUTER]
91 router.start()
93 self.assertEqual('router', router.get_state())
103 logging.info("ROUTER addrs: %r", router.get_addrs())
107 self.assertEqual(len(router.get_netdata_omr_prefixes()), 1)
[all …]
Dtest_radvd_coexist.py38 # This test verifies that the Border Router will use the same RA parameters
46 # ROUTER
50 ROUTER = 2 variable
62 'allowlist': [ROUTER],
66 ROUTER: {
67 'name': 'Router',
79 router = self.nodes[ROUTER]
92 router.start()
94 self.assertEqual('router', router.get_state())
100 logging.info("ROUTER addrs: %r", router.get_addrs())
[all …]
/external/google-cloud-java/java-compute/google-cloud-compute/src/test/java/com/google/cloud/compute/v1/
DRoutersClientTest.java169 String router = "router-8641"; in deleteTest() local
171 Operation actualResponse = client.deleteAsync(project, region, router).get(); in deleteTest()
199 String router = "router-8641"; in deleteExceptionTest() local
200 client.deleteAsync(project, region, router).get(); in deleteExceptionTest()
208 Router expectedResponse = in getTest()
209 Router.newBuilder() in getTest()
229 String router = "router-8641"; in getTest() local
231 Router actualResponse = client.get(project, region, router); in getTest()
259 String router = "router-8641"; in getExceptionTest() local
260 client.get(project, region, router); in getExceptionTest()
[all …]
/external/perfetto/ui/src/frontend/
Drouter_unittest.ts15 import {Router} from './router';
21 describe('Router#resolve', () => {
27 expect(() => new Router({'/a': mockComponent})).toThrow();
31 const router = new Router({'/': mockComponent}); constant
33 expect(router.resolve().tag).toBe(mockComponent);
38 const router = new Router({ constant
43 expect(router.resolve().tag).toBe(nonDefaultComponent);
44 expect(router.resolve().attrs.subpage).toBe('/subpage');
49 const router = new Router({ constant
54 expect(router.resolve().tag).toBe(nonDefaultComponent);
[all …]
/external/rust/crates/matchit/src/
Drouter.rs4 /// A URL router.
9 pub struct Router<T> { struct
13 impl<T> Default for Router<T> { implementation
21 impl<T> Router<T> { implementation
22 /// Construct a new router.
32 /// # use matchit::Router;
34 /// let mut router = Router::new();
35 /// router.insert("/home", "Welcome!")?;
36 /// router.insert("/users/:id", "A User")?;
44 /// Tries to find a value in the router matching the given path.
[all …]
/external/openthread/tests/scripts/thread-cert/
Dtest_ipv6_source_selection.py37 ROUTER = 2 variable
47 'allowlist': [ROUTER]
49 ROUTER: {
61 self.nodes[ROUTER].start()
63 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
72 router_rloc = self.nodes[ROUTER].get_rloc()
73 router_linklocal = self.nodes[ROUTER].get_linklocal()
74 router_mleid = self.nodes[ROUTER].get_mleid()
77 self.assertTrue(self.nodes[ROUTER].ping(leader_rloc))
78 router_msgs = self.simulator.get_messages_sent_by(ROUTER)
[all …]
DCert_5_1_05_RouterAddressTimeout.py44 # The purpose of this test case is to verify that after deallocating a Router ID,
45 # Leader as a DUT doesn't reassign the Router ID for at least ID_REUSE_DELAY
52 # Router
69 'name': 'ROUTER',
87 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router')
94 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router')
101 self.assertEqual(self.nodes[ROUTER1].get_state(), 'router')
108 ROUTER = pv.vars['ROUTER']
113 pv.verify_attached('ROUTER')
126 # Step 3: Router automatically sends a link request, reattaches and
[all …]
Dv1_2_LowPower_test_link_metrics_manager.py42 ROUTER = 2 variable
49 1. Initiate a leader and a router at the beginning.
52 - At this moment, leader should have configured EAP successfully at router.
53 4. Instruct the leader ping the router.
54 - Enhanced ACK sent by router should have Thread IE containing Link Metrics data.
58 7. Instruct both the router and the child ping the leader.
59 - Enhanced ACK sent by router and child should have Thread IE containing Link Metrics data.
63 - The leader should have sent a Link Management Request to the router and get a response.
65 - The leader shonld send a Link Management Request to the router to unregister EAP.
75 'allowlist': [ROUTER, CHILD],
[all …]
DCert_9_2_07_DelayTimer.py41 ROUTER = 3 variable
71 ROUTER: {
72 'name': 'ROUTER',
85 self.assertEqual(self.nodes[COMMISSIONER].get_state(), 'router')
92 self.nodes[ROUTER].start()
94 self.assertEqual(self.nodes[ROUTER].get_state(), 'leader')
96 self.nodes[LEADER].add_allowlist(self.nodes[ROUTER].get_addr64())
97 self.nodes[ROUTER].add_allowlist(self.nodes[LEADER].get_addr64())
99 self.assertEqual(self.nodes[COMMISSIONER].get_state(), 'router')
101 self.assertEqual(self.nodes[ROUTER].get_state(), 'router')
[all …]
/external/rust/crates/axum/src/routing/tests/
Dfallback.rs8 let app = Router::new() in basic()
23 let app = Router::new() in nest()
24 .nest("/foo", Router::new().route("/bar", get(|| async {}))) in nest()
38 let one = Router::new().route("/one", get(|| async {})); in or()
39 let two = Router::new().route("/two", get(|| async {})); in or()
55 let app = Router::new() in fallback_accessing_state()
76 let inner = Router::new(); in nested_router_inherits_fallback()
77 let app = Router::new().nest("/foo", inner).fallback(outer_fallback); in nested_router_inherits_fallback()
88 let inner = Router::new().fallback(inner_fallback); in doesnt_inherit_fallback_if_overriden()
89 let app = Router::new().nest("/foo", inner).fallback(outer_fallback); in doesnt_inherit_fallback_if_overriden()
[all …]
Dmerge.rs8 let one = Router::new() in basic()
11 let two = Router::new().route("/baz", get(|| async {})); in basic()
31 let one = Router::new().route("/one", get(|| async { "one" })); in multiple_ors_balanced_differently()
32 let two = Router::new().route("/two", get(|| async { "two" })); in multiple_ors_balanced_differently()
33 let three = Router::new().route("/three", get(|| async { "three" })); in multiple_ors_balanced_differently()
34 let four = Router::new().route("/four", get(|| async { "four" })); in multiple_ors_balanced_differently()
62 async fn test(name: &str, app: Router) { in multiple_ors_balanced_differently() argument
76 let bar = Router::new().route("/bar", get(|| async { "bar" })); in nested_or()
77 let baz = Router::new().route("/baz", get(|| async { "baz" })); in nested_or()
85 let client = TestClient::new(Router::new().nest("/foo", bar_or_baz)); in nested_or()
[all …]
/external/openthread/tests/scripts/thread-cert/backbone/
Dtest_mlr_multicast_routing_timeout.py38 ROUTER = 2 variable
57 # ROUTER
62 'allowlist': [ROUTER],
67 ROUTER: {
68 'name': 'ROUTER',
93 # Bring up Router
94 self.nodes[ROUTER].start()
96 self.assertEqual('router', self.nodes[ROUTER].get_state())
105 # Router subscribes MA
106 self.nodes[ROUTER].add_ipmaddr(MA1)
[all …]
/external/python/google-api-python-client/docs/dyn/
Dlogging_v2.v2.html82Router can be configured for Google Cloud projects, folders, organizations and billing accounts. O…
85Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be co…
94Router can be configured for Google Cloud projects, folders, organizations and billing accounts. O…
97 …ample:&quot;organizations/12345/cmekSettings&quot;Note: CMEK for the Log Router can be configured …
106Router can currently only be configured for Google Cloud organizations. Once configured, it applie…
107Router, set this field to a valid kms_key_name for which the associated service account has the re…
109Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the…
115Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be co…
118 …ample:&quot;organizations/12345/cmekSettings&quot;Note: CMEK for the Log Router can currently only…
122Router can currently only be configured for Google Cloud organizations. Once configured, it applie…
[all …]
Dlogging_v2.organizations.html102Router can be configured for Google Cloud projects, folders, organizations and billing accounts. O…
105Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be co…
114Router can be configured for Google Cloud projects, folders, organizations and billing accounts. O…
117 …ample:&quot;organizations/12345/cmekSettings&quot;Note: CMEK for the Log Router can be configured …
126Router can currently only be configured for Google Cloud organizations. Once configured, it applie…
127Router, set this field to a valid kms_key_name for which the associated service account has the re…
129Router to access your Cloud KMS key.Before enabling CMEK for Log Router, you must first assign the…
135Router CMEK settings for the given resource.Note: CMEK for the Log Router can currently only be co…
138 …ample:&quot;organizations/12345/cmekSettings&quot;Note: CMEK for the Log Router can currently only…
142Router can currently only be configured for Google Cloud organizations. Once configured, it applie…
[all …]
/external/rust/crates/matchit/examples/
Dhyper.rs32 // We use a `HashMap` to hold a `Router` for each HTTP method. This allows us
34 type Router = HashMap<Method, matchit::Router<Service>>; typedef
36 async fn route(router: Arc<Router>, req: Request<Body>) -> hyper::Result<Response<Body>> { in route() argument
38 let router = match router.get(req.method()) { in route() localVariable
39 Some(router) => router, in route()
45 match router.at(req.uri().path()) { in route()
58 // Create a router and register our routes. in main()
59 let mut router = Router::new(); in main() localVariable
62 router in main()
69 router in main()
[all …]

12345678910>>...54