/external/apache-http/src/org/apache/http/conn/params/ |
H A D | ConnPerRoute.java | 37 * allowed for for a given route. This class can be used by pooling 39 * a fine-grained control of connections on a per route basis. 49 int getMaxForRoute(HttpRoute route); argument
|
H A D | ConnRouteParamBean.java | 63 public void setForcedRoute (final HttpRoute route) { argument 64 params.setParameter(ConnRoutePNames.FORCED_ROUTE, route);
|
H A D | ConnPerRouteBean.java | 42 * a fine-grained control of connections on a per route basis. 81 public void setMaxForRoute(final HttpRoute route, int max) { argument 82 if (route == null) { 84 ("HTTP route may not be null."); 90 this.maxPerHostMap.put(route, Integer.valueOf(max)); 93 public int getMaxForRoute(final HttpRoute route) { argument 94 if (route == null) { 96 ("HTTP route may not be null."); 98 Integer max = this.maxPerHostMap.get(route);
|
H A D | ConnRouteParams.java | 43 * An adaptor for accessing route related parameters in {@link HttpParams}. 64 * A special value indicating "no route". 65 * This is a route with {@link #NO_HOST} as the target. 128 * @return the forced route set in the argument parameters, or 135 HttpRoute route = (HttpRoute) 137 if ((route != null) && NO_ROUTE.equals(route)) { 139 route = null; 141 return route; 150 * @param route th 155 setForcedRoute(HttpParams params, HttpRoute route) argument [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
H A D | RoutedRequest.java | 38 * A request with the route along which it should be sent. 51 protected final HttpRoute route; field in class:RoutedRequest 57 * @param route the route 59 public RoutedRequest(final RequestWrapper req, final HttpRoute route) { argument 62 this.route = route; 70 return route;
|
H A D | DefaultRequestDirector.java | 116 /** The route planner. */ 258 final HttpRoute route) throws ProtocolException { 262 if (route.getProxyHost() != null && !route.isTunnelled()) { 265 HttpHost target = route.getTargetHost(); 306 // followup request and route. The request and route passed 311 HttpRoute route = roureq.getRoute(); 319 route, userToken); 348 managedConn.open(route, contex 256 rewriteRequestURI( final RequestWrapper request, final HttpRoute route) argument 578 establishRoute(HttpRoute route, HttpContext context) argument 665 createTunnelToTarget(HttpRoute route, HttpContext context) argument 802 createTunnelToProxy(HttpRoute route, int hop, HttpContext context) argument 830 createConnectRequest(HttpRoute route, HttpContext context) argument [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
H A D | BasicPoolEntry.java | 59 * @param route the planned route for the connection 64 HttpRoute route, 66 super(op, route); 67 if (route == null) { 68 throw new IllegalArgumentException("HTTP route may not be null"); 78 return super.route; 63 BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, ReferenceQueue<Object> queue) argument
|
H A D | BasicPoolEntryRef.java | 43 * This reference explicitly keeps the planned route, so the connection 48 /** The planned route of the entry. */ 49 private final HttpRoute route; field in class:BasicPoolEntryRef 65 route = entry.getPlannedRoute(); 70 * Obtain the planned route for the referenced entry. 71 * The planned route is still available, even if the entry is gone. 73 * @return the planned route 76 return this.route;
|
H A D | AbstractConnPool.java | 147 * @param route the route for which to get the connection 152 * @return pool entry holding a connection for the route 161 HttpRoute route, 166 return requestPoolEntry(route, state).getPoolEntry(timeout, tunit); 173 public abstract PoolEntryRequest requestPoolEntry(HttpRoute route, Object state); argument 206 final HttpRoute route = 209 log.debug("Connection garbage collected. " + route); 211 handleLostEntry(route); 222 * Handles cleaning up for a lost pool entry with the given route 160 getEntry( HttpRoute route, Object state, long timeout, TimeUnit tunit) argument 228 handleLostEntry(HttpRoute route) argument [all...] |
H A D | RouteSpecificPool.java | 46 * A connection sub-pool for a specific route, used by {@link ConnPoolByRoute}. 54 /** The route this pool is for. */ 55 protected final HttpRoute route; field in class:RouteSpecificPool 75 * Creates a new route-specific pool. 77 * @param route the route for which to pool 80 public RouteSpecificPool(HttpRoute route, int maxEntries) { argument 81 this.route = route; 90 * Obtains the route fo [all...] |
H A D | ThreadSafeClientConnManager.java | 151 final HttpRoute route, 155 route, state); 166 if (route == null) { 172 + route + ", timeout = " + timeout); 212 // Shutdown of the adapter also clears the tracked route. 238 * Gets the total number of pooled connections for the given route. 240 * are still in use by this connection manager for the route. 243 * @param route the route in question 245 * @return the total number of pooled connections for that route 150 requestConnection( final HttpRoute route, final Object state) argument 247 getConnectionsInPool(HttpRoute route) argument [all...] |
H A D | ConnPoolByRoute.java | 53 * A connection pool that maintains connections by route. 58 * <li>connections are re-used only for the exact same route</li> 59 * <li>connection limits are enforced per route rather than per host</li> 83 * A map of route-specific pools. 94 * Creates a new connection pool, managed by route. 145 * Creates a new route-specific pool. 148 * @param route the route 152 protected RouteSpecificPool newRouteSpecificPool(HttpRoute route) { argument 153 return new RouteSpecificPool(route, connPerRout 181 getRoutePool(HttpRoute route, boolean create) argument 203 getConnectionsInPool(HttpRoute route) argument 217 requestPoolEntry( final HttpRoute route, final Object state) argument 262 getEntryBlocking( HttpRoute route, Object state, long timeout, TimeUnit tunit, WaitingThreadAborter aborter) argument 574 handleLostEntry(HttpRoute route) argument [all...] |
/external/ppp/android/ |
H A D | ip-up-vpn.c | 26 #include <linux/route.h> 38 struct rtentry route = { local 48 if (argc > 5 && inet_aton(argv[5], in_addr(&route.rt_gateway)) && 49 (f = fopen("/proc/net/route", "r")) != NULL && 51 uint32_t *address = &in_addr(&route.rt_dst)->s_addr; 52 uint32_t *netmask = &in_addr(&route.rt_genmask)->s_addr; 63 if (ioctl(s, SIOCADDRT, &route) == -1 && errno != EEXIST) { 67 if (ioctl(s, SIOCADDRT, &route) == -1 && errno != EEXIST) {
|
/external/apache-http/src/org/apache/http/conn/ |
H A D | ClientConnectionManager.java | 70 ClientConnectionRequest requestConnection(HttpRoute route, Object state) argument
|
H A D | ManagedClientConnection.java | 78 * Obtains the current route of this connection. 80 * @return the route established so far, or 108 * Opens this connection according to the given route. 110 * @param route the route along which to open. It will be opened to 117 void open(HttpRoute route, HttpContext context, HttpParams params) argument 124 * The route is the one previously passed to {@link #open open}. 173 * The route is the one previously passed to {@link #open open}. 198 * A {@link #getRoute route} mismatch, the connection being closed,
|
/external/apache-http/src/org/apache/http/impl/conn/ |
H A D | AbstractPoolEntry.java | 52 * {@link HttpRoute route} established. 53 * The adapter delegates methods for establishing the route to 58 * underlying connection and the established route. 77 /** The route for which this entry gets allocated. */ 81 protected volatile HttpRoute route; field in class:AbstractPoolEntry 86 /** The tracked route, or <code>null</code> before tracking starts. */ 94 * @param route the planned route for the connection, 98 HttpRoute route) { 105 this.route 97 AbstractPoolEntry(ClientConnectionOperator connOperator, HttpRoute route) argument 136 open(HttpRoute route, HttpContext context, HttpParams params) argument [all...] |
H A D | AbstractPooledConnAdapter.java | 50 * In addition, methods to establish a route are delegated to the 52 * will clear the tracked route in the pool entry and call the 114 public void open(HttpRoute route, argument 119 poolEntry.open(route, context, params);
|
H A D | SingleClientConnManager.java | 178 final HttpRoute route, 190 route, state); 201 * @param route where the connection should point to 204 * along the given route 206 public ManagedClientConnection getConnection(HttpRoute route, Object state) { argument 208 if (route == null) { 214 log.debug("Get connection for route " + route); 230 !tracker.toRoute().equals(route)); 252 managedConn = new ConnAdapter(uniquePoolEntry, route); 177 requestConnection( final HttpRoute route, final Object state) argument 435 ConnAdapter(PoolEntry entry, HttpRoute route) argument [all...] |
/external/apache-http/src/org/apache/http/conn/routing/ |
H A D | RouteTracker.java | 40 * Helps tracking the steps in establishing a route. 62 // now follow attributes that indicate the established route 64 /** Whether the first hop of the route is established. */ 70 /** Whether the the route is tunnelled end-to-end through proxies. */ 73 /** Whether the route is layered over a tunnel. */ 76 /** Whether the route is secure. */ 81 * Creates a new route tracker. 84 * @param target the host to which to route 85 * @param local the local address to route from, or 100 * Creates a new tracker for the given route 106 RouteTracker(HttpRoute route) argument [all...] |
/external/iproute2/doc/ |
H A D | ip-cref.tex | 115 \item \verb|route| --- routing table entry 1072 \section{{\tt ip route} --- routing table management} 1075 \paragraph{Abbreviations:} \verb|route|, \verb|ro|, \verb|r|. 1077 \paragraph{Object:} \verb|route| entries in the kernel routing tables keep 1080 Each route entry has a {\em key\/} consisting of a {\em prefix\/} 1082 optionally, the TOS value. An IP packet matches the route if the highest 1083 bits of its destination address are equal to the route prefix at least 1084 up to the prefix length and if the TOS of the route is zero or equal to 1093 \item If the TOS of some route with the longest prefix is equal to the TOS 1099 Otherwise, the route looku [all...] |
/external/wpa_supplicant/ |
H A D | driver_bsd.c | 34 int route; /* routing socket for events */ member in struct:wpa_driver_bsd_data 453 #include <net/route.h> 706 drv->route = socket(PF_ROUTE, SOCK_RAW, 0); 707 if (drv->route < 0) 709 eloop_register_read_sock(drv->route, 757 eloop_unregister_read_sock(drv->route); 768 (void) close(drv->route); /* ioctl socket */
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
H A D | driver_bsd.c | 38 int route; /* routing socket for events */ member in struct:wpa_driver_bsd_data 451 #include <net/route.h> 709 drv->route = socket(PF_ROUTE, SOCK_RAW, 0); 710 if (drv->route < 0) 712 eloop_register_read_sock(drv->route, 760 eloop_unregister_read_sock(drv->route); 771 (void) close(drv->route); /* ioctl socket */
|
/external/dhcpcd/ |
H A D | dhcp.c | 672 struct rt *route = NULL; local 691 if (route) { 692 route->next = xmalloc(sizeof(*route)); 693 route = route->next; 695 routes = route = xmalloc(sizeof(*routes)); 696 route->next = NULL; 697 memcpy(&route->dest.s_addr, p, 4); 699 memcpy(&route [all...] |
/external/ping/ |
H A D | ping.c | 927 #define NROUTES 9 /* number of record route slots */ 933 static __u32 route[10]; variable 1469 printf("\t(same route)"); 1679 char rspace[3 + 4 * NROUTES + 1]; /* record route space */ 1811 route[nroute++] = whereto.sin_addr.s_addr; 1852 dst.sin_addr.s_addr = route[0]; 1949 /* record route option */ 1958 perror("ping: record route"); 1972 *(__u32*)&rspace[4+i*8] = route[i]; 1992 *(__u32*)&rspace[4+i*4] = route[ [all...] |
/external/opencore/protocols/systems/3g-324m_pvterminal/h245/cmn/include/ |
H A D | h245def.h | 2873 PS_OCTETSTRING route; member in struct:_IPSourceRouteAddress
|