Searched refs:route (Results 1 - 25 of 216) sorted by relevance

123456789

/external/apache-http/src/org/apache/http/impl/client/
H A DRoutedRequest.java38 * 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) { argument
67 this.route = route;
75 return route;
/external/libnl/src/
H A Dnl-route-add.c2 * src/nl-route-add.c Route addition utility
13 #include <netlink/cli/route.h>
22 "Usage: nl-route-add [OPTION]... [ROUTE]\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();
108 case 'd': nl_cli_route_parse_dst(route, optarg); break;
109 case 'n': nl_cli_route_parse_nexthop(route, optarg, link_cache); break;
110 case 't': nl_cli_route_parse_table(route, optar
[all...]
H A Dnl-route-list.c2 * 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"
30 " dev=DEV route via device\n"
33 " via=GATEWAY route via other node\n"
54 struct rtnl_route *route; local
64 route = nl_cli_route_alloc();
108 case 'd': nl_cli_route_parse_dst(route, optar
[all...]
H A Dnl-route-delete.c2 * src/nl-route-delete.c Delete Routes
13 #include <netlink/cli/route.h>
29 "Usage: nl-route-delete [OPTION]... [ROUTE]\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
94 route
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DRouteDatabase.java37 public synchronized void connected(Route route) { argument
38 failedRoutes.remove(route);
41 /** Returns true if {@code route} has failed recently and should be avoided. */
42 public synchronized boolean shouldPostpone(Route route) { argument
43 return failedRoutes.contains(route);
H A DConnection.java68 private final Route route; field in class:Connection
86 public Connection(ConnectionPool pool, Route route) { argument
88 this.route = route;
145 if (route.proxy.type() == Proxy.Type.DIRECT || route.proxy.type() == Proxy.Type.HTTP) {
146 socket = route.address.socketFactory.createSocket();
148 socket = new Socket(route.proxy);
152 Platform.get().connectSocket(socket, route.inetSocketAddress, connectTimeout);
154 if (route
[all...]
/external/libnl/lib/route/
H A Droute_obj.c2 * lib/route/route_obj.c Route Object
13 * @ingroup route
38 #include <netlink/route/rtnl.h>
39 #include <netlink/route/route.h>
40 #include <netlink/route/link.h>
41 #include <netlink/route/nexthop.h>
132 link_cache = nl_cache_mngt_require("route/link");
212 link_cache = nl_cache_mngt_require("route/link");
277 struct rtnl_route *route local
294 struct rtnl_route *route = (struct rtnl_route *) obj; local
495 rtnl_route_get(struct rtnl_route *route) argument
500 rtnl_route_put(struct rtnl_route *route) argument
512 rtnl_route_set_table(struct rtnl_route *route, uint32_t table) argument
518 rtnl_route_get_table(struct rtnl_route *route) argument
523 rtnl_route_set_scope(struct rtnl_route *route, uint8_t scope) argument
529 rtnl_route_get_scope(struct rtnl_route *route) argument
534 rtnl_route_set_tos(struct rtnl_route *route, uint8_t tos) argument
540 rtnl_route_get_tos(struct rtnl_route *route) argument
545 rtnl_route_set_protocol(struct rtnl_route *route, uint8_t protocol) argument
551 rtnl_route_get_protocol(struct rtnl_route *route) argument
556 rtnl_route_set_priority(struct rtnl_route *route, uint32_t prio) argument
562 rtnl_route_get_priority(struct rtnl_route *route) argument
567 rtnl_route_set_family(struct rtnl_route *route, uint8_t family) argument
578 rtnl_route_get_family(struct rtnl_route *route) argument
583 rtnl_route_set_dst(struct rtnl_route *route, struct nl_addr *addr) argument
602 rtnl_route_get_dst(struct rtnl_route *route) argument
607 rtnl_route_set_src(struct rtnl_route *route, struct nl_addr *addr) argument
628 rtnl_route_get_src(struct rtnl_route *route) argument
633 rtnl_route_set_type(struct rtnl_route *route, uint8_t type) argument
644 rtnl_route_get_type(struct rtnl_route *route) argument
649 rtnl_route_set_flags(struct rtnl_route *route, uint32_t flags) argument
656 rtnl_route_unset_flags(struct rtnl_route *route, uint32_t flags) argument
663 rtnl_route_get_flags(struct rtnl_route *route) argument
668 rtnl_route_set_metric(struct rtnl_route *route, int metric, uint32_t value) argument
685 rtnl_route_unset_metric(struct rtnl_route *route, int metric) argument
698 rtnl_route_get_metric(struct rtnl_route *route, int metric, uint32_t *value) argument
712 rtnl_route_set_pref_src(struct rtnl_route *route, struct nl_addr *addr) argument
730 rtnl_route_get_pref_src(struct rtnl_route *route) argument
735 rtnl_route_set_iif(struct rtnl_route *route, int ifindex) argument
741 rtnl_route_get_iif(struct rtnl_route *route) argument
746 rtnl_route_add_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh) argument
753 rtnl_route_remove_nexthop(struct rtnl_route *route, struct rtnl_nexthop *nh) argument
759 rtnl_route_get_nexthops(struct rtnl_route *route) argument
764 rtnl_route_get_nnexthops(struct rtnl_route *route) argument
817 rtnl_route_guess_scope(struct rtnl_route *route) argument
850 parse_multipath(struct rtnl_route *route, struct nlattr *attr) argument
914 struct rtnl_route *route; local
1079 rtnl_route_build_msg(struct nl_msg *msg, struct rtnl_route *route) argument
[all...]
H A Dqdisc_api.c2 * lib/route/qdisc_api.c Queueing Discipline Module API
22 #include <netlink/route/link.h>
23 #include <netlink/route/tc.h>
24 #include <netlink/route/qdisc.h>
25 #include <netlink/route/class.h>
26 #include <netlink/route/classifier.h>
27 #include <netlink/route/qdisc-modules.h>
/external/libnl/include/netlink/cli/
H A Dutils.h33 #include <netlink/route/rtnl.h>
34 #include <netlink/route/link.h>
35 #include <netlink/route/addr.h>
36 #include <netlink/route/neighbour.h>
37 #include <netlink/route/neightbl.h>
38 #include <netlink/route/route.h>
39 #include <netlink/route/rule.h>
40 #include <netlink/route/qdisc.h>
41 #include <netlink/route/clas
[all...]
H A Drule.h15 #include <netlink/route/rule.h>
H A Droute.h2 * netlink/cli//route.h CLI Route Helpers
15 #include <netlink/route/route.h>
/external/libnl/src/lib/
H A Droute.c2 * 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) argument
52 rtnl_route_set_family(route, famil
55 nl_cli_route_parse_dst(struct rtnl_route *route, char *arg) argument
68 nl_cli_route_parse_src(struct rtnl_route *route, char *arg) argument
81 nl_cli_route_parse_pref_src(struct rtnl_route *route, char *arg) argument
94 nl_cli_route_parse_metric(struct rtnl_route *route, char *subopts) argument
137 nl_cli_route_parse_nexthop(struct rtnl_route *route, char *subopts, struct nl_cache *link_cache) argument
197 nl_cli_route_parse_table(struct rtnl_route *route, char *arg) argument
211 nl_cli_route_parse_prio(struct rtnl_route *route, char *arg) argument
222 nl_cli_route_parse_scope(struct rtnl_route *route, char *arg) argument
232 nl_cli_route_parse_protocol(struct rtnl_route *route, char *arg) argument
248 nl_cli_route_parse_type(struct rtnl_route *route, char *arg) argument
260 nl_cli_route_parse_iif(struct rtnl_route *route, char *arg, struct nl_cache *link_cache) argument
[all...]
/external/libnl/lib/route/sch/
H A Dblackhole.c2 * lib/route/sch/blackhole.c Blackhole Qdisc
21 #include <netlink/route/qdisc.h>
22 #include <netlink/route/qdisc-modules.h>
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DRouteParser.java31 * Parser for a list of route headers.
45 * @param route message to parse to set
47 public RouteParser(String route) { argument
48 super(route);
70 Route route = new Route();
71 super.parse(route);
72 routeList.add(route);
/external/apache-http/src/org/apache/http/conn/params/
H A DConnRouteParams.java43 * 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)
142 if ((route != null) && NO_ROUTE.equals(route)) {
144 route = null;
146 return route;
155 * @param route th
160 setForcedRoute(HttpParams params, HttpRoute route) argument
[all...]
H A DConnPerRoute.java37 * 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.
54 int getMaxForRoute(HttpRoute route); argument
H A DConnPerRouteBean.java42 * a fine-grained control of connections on a per route basis.
86 public void setMaxForRoute(final HttpRoute route, int max) { argument
87 if (route == null) {
89 ("HTTP route may not be null.");
95 this.maxPerHostMap.put(route, Integer.valueOf(max));
98 public int getMaxForRoute(final HttpRoute route) { argument
99 if (route == null) {
101 ("HTTP route may not be null.");
103 Integer max = this.maxPerHostMap.get(route);
/external/apache-http/src/org/apache/http/impl/conn/tsccm/
H A DBasicPoolEntryRef.java43 * 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;
H A DBasicPoolEntry.java64 * @param route the planned route for the connection
69 HttpRoute route,
71 super(op, route);
72 if (route == null) {
73 throw new IllegalArgumentException("HTTP route may not be null");
83 return super.route;
68 BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, ReferenceQueue<Object> queue) argument
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/
H A Dphase1-down.sh36 route delete default
37 route delete ${REMOTE_ADDR}
38 route add default ${DEFAULT_GW} -ifa ${LOCAL_ADDR}
42 route delete default
43 route delete ${REMOTE_ADDR}
45 route add default gw ${DEFAULT_GW}
/external/libnl/include/netlink/route/cls/ematch/
H A Dcmp.h2 * netlink/route/cls/ematch/cmp.h Simple Comparison
16 #include <netlink/route/cls/ematch.h>
/external/libnl/include/netlink/route/sch/
H A Dcbq.h2 * netlink/route/sch/cbq.h Class Based Queueing
17 #include <netlink/route/qdisc.h>
/external/libnl/lib/route/cls/
H A Dpolice.c2 * lib/route/cls/police.c Policer
16 #include <netlink/route/tc.h>
17 #include <netlink/route/classifier.h>
18 #include <netlink/route/classifier-modules.h>
19 #include <netlink/route/cls/police.h>
/external/apache-http/src/org/apache/http/impl/conn/
H A DDefaultHttpRoutePlanner.java69 * Creates a new default route planner.
93 // If we have a forced route, we can do without a target.
94 HttpRoute route =
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...]
H A DAbstractPoolEntry.java52 * {@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
102 AbstractPoolEntry(ClientConnectionOperator connOperator, HttpRoute route) argument
141 open(HttpRoute route, HttpContext context, HttpParams params) argument
[all...]

Completed in 279 milliseconds

123456789