HomeSort by relevance Sort by last modified time
    Searched defs:route (Results 1 - 25 of 66) sorted by null

1 2 3

  /external/apache-http/src/org/apache/http/impl/conn/tsccm/
BasicPoolEntryRef.java 43 * This reference explicitly keeps the planned route, so the connection
53 /** The planned route of the entry. */
54 private final HttpRoute route; field in class:BasicPoolEntryRef
70 route = entry.getPlannedRoute();
75 * Obtain the planned route for the referenced entry.
76 * The planned route is still available, even if the entry is gone.
78 * @return the planned route
81 return this.route;
RouteSpecificPool.java 46 * A connection sub-pool for a specific route, used by {@link ConnPoolByRoute}.
59 /** The route this pool is for. */
60 protected final HttpRoute route; field in class:RouteSpecificPool
80 * Creates a new route-specific pool.
82 * @param route the route for which to pool
85 public RouteSpecificPool(HttpRoute route, int maxEntries) {
86 this.route = route;
95 * Obtains the route for which this pool is specific
    [all...]
  /external/apache-http/src/org/apache/http/impl/client/
RoutedRequest.java 38 * A request with the route along which it should be sent.
56 protected final HttpRoute route; field in class:RoutedRequest
62 * @param route the route
64 public RoutedRequest(final RequestWrapper req, final HttpRoute route) {
67 this.route = route;
75 return route;
  /external/apache-http/src/org/apache/http/impl/conn/
DefaultHttpRoutePlanner.java 69 * Creates a new default route planner.
93 // If we have a forced route, we can do without a target.
94 HttpRoute route = local
96 if (route != null)
97 return route;
99 // If we get here, there is no forced route.
100 // So we need a target to compute a route.
118 route = new HttpRoute(target, local, secure);
120 route = new HttpRoute(target, local, proxy, secure);
122 return route;
    [all...]
ProxySelectorRoutePlanner.java 82 * Creates a new proxy selector route planner.
133 // If we have a forced route, we can do without a target.
134 HttpRoute route = local
136 if (route != null)
137 return route;
139 // If we get here, there is no forced route.
140 // So we need a target to compute a route.
169 route = new HttpRoute(target, local, secure);
171 route = new HttpRoute(target, local, proxy, secure);
173 return route;
    [all...]
AbstractPoolEntry.java 52 * {@link HttpRoute route} established.
53 * The adapter delegates methods for establishing the route to
58 * underlying connection and the established route.
82 /** The route for which this entry gets allocated. */
86 protected volatile HttpRoute route; field in class:AbstractPoolEntry
91 /** The tracked route, or <code>null</code> before tracking starts. */
99 * @param route the planned route for the connection,
103 HttpRoute route) {
110 this.route = route
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/header/
RouteList.java 35 * A list of Route Headers.
44 public class RouteList extends SIPHeaderList<Route> {
52 super(Route.class, RouteHeader.NAME);
69 * Order is important when comparing route lists.
77 ListIterator<Route> it = this.listIterator();
78 ListIterator<Route> it1 = that.listIterator();
80 Route route = (Route) it.next(); local
81 Route route1 = (Route) it1.next()
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/
RouteParser.java 31 * Parser for a list of route headers.
45 * @param route message to parse to set
47 public RouteParser(String route) {
48 super(route);
55 /** parse the String message and generate the Route List Object
56 * @return SIPHeader the Route List object
65 this.lexer.match(TokenTypes.ROUTE);
70 Route route = new Route(); local
    [all...]
  /external/scapy/scapy/
route.py 25 class Route:
67 dev, ifaddr, _ = self.route(nhop)
83 route = self.make_route(*args,**kargs)
85 i=self.routes.index(route)
88 warning("no matching route found")
98 for i, route in enumerate(self.routes):
99 net, msk, gw, iface, addr, metric = route
134 def route(self,dest,verbose=None): member in class:Route
166 warning("No route found (no default route?)"
    [all...]
route6.py 61 # Unlike Scapy's Route.make_route() function, we do not have 'host' and 'net'
66 """Internal function : create a route for 'dst' via 'gw'.
74 dev, ifaddr, x = self.route(gw)
110 warning("No matching route found")
126 for i, route in enumerate(self.routes):
127 net, plen, gw, iface, addr, metric = route
138 """ removes all route entries that uses 'iff' interface. """
169 def route(self, dst, dev=None): member in class:Route6
171 Provide best route to IPv6 destination address, based on Scapy6
182 is performed to limit search to route associated to that interface
    [all...]
  /external/apache-http/src/org/apache/http/conn/params/
ConnRouteParams.java 43 * An adaptor for accessing route related parameters in {@link HttpParams}.
69 * A special value indicating "no route".
70 * This is a route with {@link #NO_HOST} as the target.
133 * @return the forced route set in the argument parameters, or
140 HttpRoute route = (HttpRoute) local
142 if ((route != null) && NO_ROUTE.equals(route)) {
144 route = null;
146 return route;
155 * @param route the value to set, may be <code>null</code>
    [all...]
  /external/libnl/lib/route/
route.c 2 * lib/route/route.c Routes
14 * @defgroup route Routing
24 #include <netlink/route/rtnl.h>
25 #include <netlink/route/route.h>
26 #include <netlink/route/link.h>
33 struct rtnl_route *route; local
36 if ((err = rtnl_route_parse(nlh, &route)) < 0)
39 err = pp->pp_cb((struct nl_object *) route, pp)
    [all...]
  /external/libnl/src/
nl-route-list.c 2 * src/nl-route-list.c List route attributes
13 #include <netlink/cli/route.h>
19 "Usage: nl-route-list [OPTION]... [ROUTE]\n"
22 " -c, --cache List the contents of the route cache\n"
27 "Route Options\n"
30 " dev=DEV route via device\n"
33 " via=GATEWAY route via other node\n"
54 struct rtnl_route *route; local
    [all...]
nl-route-add.c 2 * src/nl-route-add.c Route addition utility
13 #include <netlink/cli/route.h>
22 "Usage: nl-route-add [OPTION]... [ROUTE]\n"
29 "Route Options\n"
32 " dev=DEV route via device\n"
35 " via=GATEWAY route via other node\n"
55 struct rtnl_route *route; local
66 route = nl_cli_route_alloc()
    [all...]
nl-route-delete.c 2 * src/nl-route-delete.c Delete Routes
13 #include <netlink/cli/route.h>
29 "Usage: nl-route-delete [OPTION]... [ROUTE]\n"
38 "Route Options\n"
41 " dev=DEV route via device\n"
44 " via=GATEWAY route via other node\n"
63 struct rtnl_route *route = (struct rtnl_route *) obj; local
73 if ((err = rtnl_route_delete(sock, route, 0)) < 0)
74 nl_cli_fatal(err, "Unable to delete route: %s", nl_geterror(err))
87 struct rtnl_route *route; local
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
MediaRouterTest.java 107 assertTrue("By default, a media router has at least one route.", count > 0);
140 * Test {@link MediaRouter.UserRouteInfo} with the default route.
143 RouteInfo route = mMediaRouter.getDefaultRoute(); local
145 assertNotNull(route.getCategory());
146 assertNotNull(route.getName());
147 assertNotNull(route.getName(mContext));
148 assertTrue(route.isEnabled());
149 assertFalse(route.isConnecting());
150 assertEquals(RouteInfo.DEVICE_TYPE_UNKNOWN, route.getDeviceType());
151 assertEquals(RouteInfo.PLAYBACK_TYPE_LOCAL, route.getPlaybackType())
340 RouteInfo route = routesInCategory.get(0); local
    [all...]
  /external/webrtc/webrtc/base/
natserver.h 96 SocketAddressPair route; member in struct:rtc::NATServer::TransEntry
105 /* Creates a new entry that translates the given route. */
106 void Translate(const SocketAddressPair& route);
  /external/apache-http/src/org/apache/http/conn/routing/
RouteTracker.java 40 * Helps tracking the steps in establishing a route.
67 // now follow attributes that indicate the established route
69 /** Whether the first hop of the route is established. */
75 /** Whether the the route is tunnelled end-to-end through proxies. */
78 /** Whether the route is layered over a tunnel. */
81 /** Whether the route is secure. */
86 * Creates a new route tracker.
89 * @param target the host to which to route
90 * @param local the local address to route from, or
105 * Creates a new tracker for the given route
    [all...]
  /external/libnl/src/lib/
route.c 2 * src/lib/route.c CLI Route Helpers
20 #include <netlink/cli/route.h>
24 struct rtnl_route *route; local
26 route = rtnl_route_alloc();
27 if (!route)
28 nl_cli_fatal(ENOMEM, "Unable to allocate route object");
30 return route;
39 nl_cli_fatal(err, "Unable to allocate route cache: %s\n",
47 void nl_cli_route_parse_family(struct rtnl_route *route, char *arg
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/stack/
DefaultRouter.java 51 * URI Jiang He - use address in route header. Significant changes to conform to
53 * strict route post processing code.
69 * <li> If the request contains one or more Route headers, use the URI of the
70 * topmost Route header as next hop, possibly modifying the request in the
71 * process if the topmost Route header contains no lr parameter(*)
80 * (*)Note that in case the topmost Route header contains no 'lr' parameter
82 * perform 'Route Information Postprocessing' as described in RFC3261 section
83 * 16.6 step 6 (also known as "Route header popping"). That is, the following
86 * <li>The implementation places the Request-URI into the Route header field as
88 * <li>The implementation then places the first Route header field value int
196 Route route = (Route) routes.getFirst(); local
272 Route route = new Route(addr); local
    [all...]
SIPClientTransaction.java 36 import gov.nist.javax.sip.header.Route;
529 * add the route before you process the response. dialog.setLastResponse(this,
1166 Route route = new Route(); local
1181 Route route = null; local
    [all...]
  /developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/
SimpleWebServer.java 123 String route = null; local
125 // Read HTTP headers and parse out the route.
132 route = line.substring(start, end);
141 if (null == route) {
145 byte[] bytes = loadContent(route);
153 output.println("Content-Type: " + detectMimeType(route));
  /developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/com/example/android/permissionrequest/
SimpleWebServer.java 123 String route = null; local
125 // Read HTTP headers and parse out the route.
132 route = line.substring(start, end);
141 if (null == route) {
145 byte[] bytes = loadContent(route);
153 output.println("Content-Type: " + detectMimeType(route));
  /development/samples/ApiDemos/src/com/example/android/apis/app/
PresentationWithMediaRouterActivity.java 110 // Update the presentation based on the currently selected route.
159 // Get the current route and its presentation display.
160 MediaRouter.RouteInfo route = mMediaRouter.getSelectedRoute( local
162 Display presentationDisplay = route != null ? route.getPresentationDisplay() : null;
166 Log.i(TAG, "Dismissing presentation because the current route no longer "
  /development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
SimpleWebServer.java 123 String route = null; local
125 // Read HTTP headers and parse out the route.
132 route = line.substring(start, end);
141 if (null == route) {
145 byte[] bytes = loadContent(route);
153 output.println("Content-Type: " + detectMimeType(route));

Completed in 1221 milliseconds

1 2 3