Home
last modified time | relevance | path

Searched refs:routes (Results 1 – 25 of 51) sorted by relevance

123

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/vpc/
Dtest_routetable.py93 self.assertEquals(len(api_response[0].routes), 1)
94 self.assertEquals(api_response[0].routes[0].destination_cidr_block, '10.0.0.0/22')
95 self.assertEquals(api_response[0].routes[0].gateway_id, 'local')
96 self.assertEquals(api_response[0].routes[0].state, 'active')
103 self.assertEquals(len(api_response[1].routes), 4)
104 self.assertEquals(api_response[1].routes[0].destination_cidr_block, '10.0.0.0/22')
105 self.assertEquals(api_response[1].routes[0].gateway_id, 'local')
106 self.assertEquals(api_response[1].routes[0].state, 'active')
107 self.assertEquals(api_response[1].routes[1].destination_cidr_block, '0.0.0.0/0')
108 self.assertEquals(api_response[1].routes[1].gateway_id, 'igw-eaad4883')
[all …]
/external/chromium-trace/catapult/third_party/webapp2/docs/guide/
Drouting.rst7 the :class:`WSGIApplication` defining a list of `routes`: each `route`
15 Simple routes
22 This is how it works: a list of routes is registered in the
26 register three routes that point to those handlers::
62 Simple routes are easy to use and enough for a lot of cases but don't support
68 Extended routes
73 - **URI building:** the registered routes can be built when needed, avoiding
81 - **Nested routes:** routes can be extended to match more than the request
87 The concept is similar to the simple routes we saw before, but instead of a
89 :class:`webapp2.Route`. Let's remake our previous routes using it::
[all …]
Dapp.rst6 returning a response to the client. It stores the URI routes that the app will
27 - ``routes``: a list of route definitions as described in :ref:`guide.routing`.
39 routes = [
48 app = webapp2.WSGIApplication(routes=routes, debug=True, config=config)
62 - Stores registered "routes", which map URIs to the application handlers
64 - Matches the current request against the registered routes and returns the
69 - Builds URIs for the registered routes.
71 Using the ``router`` attribute you can, for example, add new routes to the
104 app = webapp2.WSGIApplication(routes=[
203 app = webapp2.WSGIApplication(routes=[
/external/chromium-trace/catapult/third_party/webapp2/webapp2_extras/
Droutes.py22 routes = None variable in MultiRoute
27 def __init__(self, routes): argument
28 self.routes = routes
33 for route in self.routes:
84 def __init__(self, template, routes): argument
93 super(DomainRoute, self).__init__(routes)
145 def __init__(self, prefix, routes): argument
153 super(NamePrefixRoute, self).__init__(routes)
196 def __init__(self, prefix, routes): argument
207 super(PathPrefixRoute, self).__init__(prefix, routes)
/external/chromium-trace/catapult/third_party/webapp2/docs/api/webapp2_extras/
Droutes.rst1 .. _api.webapp2_extras.routes:
3 Extra routes
5 .. module:: webapp2_extras.routes
8 domain and subdomain routing, prefixed routes or routes for automatic
/external/tcpdump/tests/
Dripv2_auth.out3 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 …]
Dripv1v2.out3 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
Deigrp1-v.out105 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 …]
Deigrp3-v.out61 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
Deigrp4-v.out29 IP Internal routes TLV (0x0102), length: 28
36 IP Internal routes TLV (0x0102), length: 28
59 IP Internal routes TLV (0x0102), length: 28
/external/nist-sip/java/gov/nist/javax/sip/stack/
DDefaultRouter.java173 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/chromium-trace/catapult/catapult_build/
Ddev_server.py189 routes = [
196 routes += pd.GetRoutes(args)
197 routes += [
208 routes.append(Route('%s__file_list__' % mapped_path,
214 routes.append(Route('%s<rest_of_path:.+>' % mapped_path,
224 routes.append(
228 for route in routes:
/external/chromium-trace/catapult/third_party/webapp2/docs/api/
Dextras.routes.rst1 Extra routes
3 This page moved to :ref:`api.webapp2_extras.routes`.
/external/chromium-trace/catapult/third_party/webapp2/
DCHANGES121 - Like DomainRoute, PathPrefixRoute now only tests the nested routes if the
136 will allow routes with nested routes to act as a proxy to build URIs.
140 - Variables names in routes must now look like python identifiers -
248 - Fixed: multiple routes that define methods are tried before MethodNotAllowed
333 - Renamed webapp2_extras.routes.ImprovedRoute to RedirectRoute, as it
353 - Routes now return the route on match() or routes with nested routes cannot
387 - webapp2_extras.routes: Extended route classes.
496 routes can access app's config.
532 get_build_routes(). This simplifies multi-routes quite a bit.
543 - Added BaseRoute, an interface for custom routes. Several improvements make
[all …]
Dwebapp2.py1117 def __init__(self, routes=None): argument
1127 if routes:
1128 for route in routes:
1309 routes = self.match_routes + [v for k, v in \
1312 return '<Router(%r)>' % routes
1463 def __init__(self, routes=None, debug=False, config=None): argument
1479 self.router = self.router_class(routes)
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/vpc/
Droutetable.py35 self.routes = []
49 self.routes = ResultSet([('item', Route)])
50 return self.routes
/external/dhcpcd-6.8.2/
Dipv6.c138 ctx->routes = malloc(sizeof(*ctx->routes)); in ipv6_init()
139 if (ctx->routes == NULL) { in ipv6_init()
143 TAILQ_INIT(ctx->routes); in ipv6_init()
147 free(ctx->routes); in ipv6_init()
1293 ipv6_freerts(ctx->ipv6->routes); in ipv6_ctxfree()
1294 free(ctx->ipv6->routes); in ipv6_ctxfree()
1783 ipv6_freerts(struct rt6_head *routes) in ipv6_freerts() argument
1787 while ((rt = TAILQ_FIRST(routes))) { in ipv6_freerts()
1788 TAILQ_REMOVE(routes, rt, next); in ipv6_freerts()
1819 if ((f = find_route6(ctx->ipv6->routes, rt))) { in ipv6_handlert()
[all …]
Dipv4.c318 ipv4_freerts(struct rt_head *routes) in ipv4_freerts() argument
322 while ((rt = TAILQ_FIRST(routes))) { in ipv4_freerts()
323 TAILQ_REMOVE(routes, rt, next); in ipv4_freerts()
506 if (ifp->options->routes && TAILQ_FIRST(ifp->options->routes)) { in get_routes()
509 TAILQ_FOREACH(rt, ifp->options->routes, next) { in get_routes()
813 TAILQ_INIT(&state->routes); in ipv4_getstate()
1096 ipv4_freerts(&state->routes); in ipv4_free()
Dif-options.c1085 if (ifo->routes == NULL) { in parse_option()
1086 ifo->routes = malloc(sizeof(*ifo->routes)); in parse_option()
1087 if (ifo->routes == NULL) { in parse_option()
1092 TAILQ_INIT(ifo->routes); in parse_option()
1107 TAILQ_INSERT_TAIL(ifo->routes, rt, next); in parse_option()
1110 if (ifo->routes == NULL) { in parse_option()
1111 ifo->routes = malloc(sizeof(*ifo->routes)); in parse_option()
1112 if (ifo->routes == NULL) { in parse_option()
1117 TAILQ_INIT(ifo->routes); in parse_option()
1130 TAILQ_INSERT_TAIL(ifo->routes, rt, next); in parse_option()
[all …]
Ddhcp.c360 struct rt_head *routes; in decode_rfc3442_rt() local
367 routes = malloc(sizeof(*routes)); in decode_rfc3442_rt()
368 TAILQ_INIT(routes); in decode_rfc3442_rt()
373 ipv4_freeroutes(routes); in decode_rfc3442_rt()
380 ipv4_freeroutes(routes); in decode_rfc3442_rt()
388 ipv4_freeroutes(routes); in decode_rfc3442_rt()
391 TAILQ_INSERT_TAIL(routes, rt, next); in decode_rfc3442_rt()
404 return routes; in decode_rfc3442_rt()
587 struct rt_head *routes = NULL; in get_option_routes() local
604 routes = decode_rfc3442_rt(ifp->ctx, p, len); in get_option_routes()
[all …]
Dipv4.h64 struct rt_head routes; member
/external/iproute2/doc/
Dip-cref.tex1122 If several routes match the packet, the following pruning rules
1129 of the packet, the routes with different TOS are dropped.
1131 If no exact TOS match was found and routes with TOS=0 exist,
1132 the rest of routes are pruned.
1136 \item If several routes remain after the previous steps, then
1137 the routes with the best preference values are selected.
1139 \item If we still have several routes, then the {\em first\/} of them
1146 impossible to maintain a bundle of such routes in this order.
1150 is impossible and routes are uniquely identified by the triplet
1152 non-unique routes with \verb|ip| commands described in this section.
[all …]
/external/chromium-trace/catapult/third_party/webapp2/webapp2.egg-info/
DSOURCES.txt34 docs/api/extras.routes.rst
51 docs/api/webapp2_extras/routes.rst
134 webapp2_extras/routes.py
/external/autotest/client/cros/
Dnetwork.py208 routes = routing.NetworkRoutes()
210 interface = routes.getRouteFor(address).interface
/external/chromium-trace/catapult/third_party/webapp2/docs/
Dfeatures.rst108 `here <http://code.google.com/p/webapp-improved/source/browse/webapp2_extras/routes.py>`_)::
202 routes.DomainRoute('www.mydomain.com', [
209 webapp2 routing system allows routes to be restricted to the
211 :ref:`URI scheme <guide.routing.restricting-uri-schemes>`. You can set routes

123