Home
last modified time | relevance | path

Searched full:route (Results 1 – 25 of 1533) sorted by relevance

12345678910>>...62

/OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/
H A Dfib_offload_lib.sh9 local route=$1; shift
13 ip -n $ns -j -p -$family route show $route \
31 local route=$1; shift
34 busywait 5000 __fib_trap_check $ns $family "$route" $should_fail
40 local route=$1; shift
43 fib_trap_check $ns 4 "$route" $should_fail
49 local route=$1; shift
52 fib_trap_check $ns 6 "$route" $should_fail
67 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024
69 check_err $? "Route not in hardware when should"
[all …]
H A Dgre_inner_v4_multipath.sh8 # route would be used.
85 ip route add vrf v$h1 192.0.4.0/24 via 192.0.3.1
90 ip route del vrf v$h1 192.0.4.0/24 via 192.0.3.1
101 ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130
103 ip route add vrf v$ol1 192.0.4.0/24 nexthop dev g1
108 ip route del vrf v$ol1 192.0.4.0/24
110 ip route del vrf v$ol1 192.0.2.66/32
125 ip route add vrf v$ul21 192.0.2.65/32 via 192.0.2.129
126 ip route add vrf v$ul21 192.0.2.66/32 \
133 ip route del vrf v$ul21 192.0.2.66/32
[all …]
H A Dgre_inner_v6_multipath.sh8 # route would be used.
85 ip -6 route add vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1
90 ip -6 route del vrf v$h1 2001:db8:2::/64 via 2001:db8:1::1
101 ip route add vrf v$ol1 192.0.2.66/32 via 192.0.2.130
103 ip -6 route add vrf v$ol1 2001:db8:2::/64 dev g1
108 ip -6 route del vrf v$ol1 2001:db8:2::/64
110 ip route del vrf v$ol1 192.0.2.66/32
125 ip route add vrf v$ul21 192.0.2.65/32 via 192.0.2.129
126 ip route add vrf v$ul21 192.0.2.66/32 \
133 ip route del vrf v$ul21 192.0.2.66/32
[all …]
H A Drouter_multipath.sh19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
25 ip route del 2001:db8:2::/64 vrf vrf-h1
26 ip route del 198.51.100.0/24 vrf vrf-h1
46 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.1
47 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
52 ip route del 2001:db8:1::/64 vrf vrf-h2
53 ip route del 192.0.2.0/24 vrf vrf-h2
83 ip route add 198.51.100.0/24 vrf vrf-r1 \
86 ip route add 2001:db8:2::/64 vrf vrf-r1 \
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/
H A Dfib_offload.sh62 # Try to avoid races with route offload
65 num=$(ip -6 route show match ${pfx} | grep "offload" | wc -l)
78 # Add a prefix route and check that it is offloaded.
79 ip -6 route add 2001:db8:3::/64 dev $spine_p1 metric 100
81 check_err $? "prefix route not offloaded"
83 # Append an identical prefix route with an higher metric and check that
85 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 200
91 # Prepend an identical prefix route with lower metric and check that
93 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 10
101 # Delete the routes and add the same route with a different nexthop
[all …]
H A Dfib.sh103 ip -n $ns route add table local 192.0.2.1/32 dev dummy1
105 check_err $? "Local table route not in hardware when should"
107 ip -n $ns route add table main 192.0.2.1/32 dev dummy1
109 check_err $? "Main table route in hardware when should not"
112 check_err $? "Local table route was replaced when should not"
115 ip -n $ns route add table main 192.0.2.2/32 dev dummy1
117 check_err $? "Main table route not in hardware when should"
119 ip -n $ns route add table local 192.0.2.2/32 dev dummy1
121 check_err $? "Local table route did not replace route in main table when should"
124 check_err $? "Main table route was not replaced when should"
[all …]
H A Dblackhole_routes.sh56 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
57 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2
62 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2
63 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2
72 ip -4 route add default vrf v$h2 nexthop via 198.51.100.2
73 ip -6 route add default vrf v$h2 nexthop via 2001:db8:2::2
78 ip -6 route del default vrf v$h2 nexthop via 2001:db8:2::2
79 ip -4 route del default vrf v$h2 nexthop via 198.51.100.2
122 ip -4 route add blackhole 198.51.100.0/30
127 busywait "$TIMEOUT" wait_for_offload ip -4 route show 198.51.100.0/30
[all …]
/OK3568_Linux_fs/buildroot/dl/libnl/
HDlibnl-3.5.0.tar.gz
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_mr_tcam.c284 struct mlxsw_sp_mr_tcam_route *route = route_priv; in mlxsw_sp_mr_tcam_route_create() local
288 route->key = route_params->key; in mlxsw_sp_mr_tcam_route_create()
289 route->irif_index = route_params->value.irif_index; in mlxsw_sp_mr_tcam_route_create()
290 route->min_mtu = route_params->value.min_mtu; in mlxsw_sp_mr_tcam_route_create()
291 route->action = route_params->value.route_action; in mlxsw_sp_mr_tcam_route_create()
294 mlxsw_sp_mr_erif_list_init(&route->erif_list); in mlxsw_sp_mr_tcam_route_create()
295 err = mlxsw_sp_mr_tcam_erif_populate(mlxsw_sp, &route->erif_list, in mlxsw_sp_mr_tcam_route_create()
301 err = mlxsw_sp_flow_counter_alloc(mlxsw_sp, &route->counter_index); in mlxsw_sp_mr_tcam_route_create()
306 route->afa_block = mlxsw_sp_mr_tcam_afa_block_create(mlxsw_sp, in mlxsw_sp_mr_tcam_route_create()
307 route->action, in mlxsw_sp_mr_tcam_route_create()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dfib_tests.sh100 echo "Single path route test"
105 $IP route get fibmatch 198.51.100.2 &> /dev/null
107 $IP -6 route get fibmatch 2001:db8:1::2 &> /dev/null
115 $IP route get fibmatch 198.51.100.2 &> /dev/null
116 log_test $? 2 "IPv4 fibmatch - no route"
117 $IP -6 route get fibmatch 2001:db8:1::2 &> /dev/null
118 log_test $? 2 "IPv6 fibmatch - no route"
127 echo "Multipath route test"
137 $IP route add 203.0.113.0/24 \
140 $IP -6 route add 2001:db8:3::/64 \
[all …]
H A Dvrf_route_leaking.sh20 # Route from h1 to h2 and back goes through r1, incoming vrf blue has a route
21 # to the outgoing vrf red for the n2 network and red has a route back to n1.
38 # and VRF route leaking was initialy reported. The MTU test isn't done here
39 # because of the lack of a return route in the red VRF.
53 # Route from h1 to h2 goes through r1, incoming vrf blue has a route to the
54 # outgoing vrf red for the n2 network but red doesn't have a route back to n1.
55 # Route from h2 to h1 goes through r2.
199 ip -netns "${ns}" route add vrf "${vrf}" unreachable default metric 8192
200 ip -netns "${ns}" -6 route add vrf "${vrf}" unreachable default metric 8192
246 ip -netns h1 route add ${H2_N2} via ${R1_N1_IP} dev eth0
[all …]
H A Dfib_nexthops.sh217 echo " WARNING: Unexpected route entry"
241 out=$($IP route ls match ${pfx} 2>/dev/null)
252 out=$($IP -6 route ls match ${pfx} 2>/dev/null | sed -e 's/pref medium//')
409 log_test $? 2 "Route add with fdb nexthop"
412 log_test $? 2 "Route add with fdb nexthop group"
489 log_test $? 2 "Route add with fdb nexthop"
492 log_test $? 2 "Route add with fdb nexthop group"
682 log_test $? 0 "Route add"
685 log_test $? 0 "Route delete"
732 log_test $? 0 "IPv6 route with device only nexthop"
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/
H A Dtest_lwt_ip_encap.sh7 # veth1 <---> veth2 veth3 <---> veth4 (the top route)
8 # veth5 <---> veth6 veth7 <---> veth8 (the bottom route)
18 # IP*_1 <=> IP*_2 <=> IP*_3 <=> IP*_4 (the top route)
21 # NS1/NS2 are configured to route packets to IPv*_GRE via IP*_8
22 # (the bottom route)
30 # that encaps the packets with an IP/GRE header to route to IPv*_GRE
36 # that encaps the packets with an IP/GRE header to route to IPv*_GRE
151 ip -netns ${NS1} route add table 1001 unreachable default metric 8192
152 ip -netns ${NS1} -6 route add table 1001 unreachable default metric 8192
158 ip -netns ${NS2} route add table 1001 unreachable default metric 8192
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqdeclarativegeoroute.cpp53 \qmltype Route
59 \brief The Route type represents one geographical route.
61 A Route type contains high level information about a route, such
62 as the length the route, the estimated travel time for the route,
63 and enough information to render a basic image of the route on a map.
66 describe subsections of the route in greater detail.
68 The primary means of acquiring Route objects is \l RouteModel.
72 This example shows how to display a route's maneuvers in a ListView:
77 \snippet declarative/routing.qml Route Maneuver List1
78 \snippet declarative/routing.qml Route Maneuver List2
[all …]
H A Dqdeclarativeroutemapitem.cpp54 \brief The MapRoute type displays a Route on a Map.
56 The MapRoute type displays a Route obtained through a RouteModel or
57 other means, on the Map as a Polyline following the path of the Route.
60 \l route property instead of directly in \l {coordinate}{coordinates}.
62 By default, the route is displayed as a 1-pixel thick black line. This can
72 Here is how to draw a \l{Route}{route} on a \l{Map}{map}:
106 \qmlproperty Route MapRoute::route
108 This property holds the route to be drawn which can be used
109 to represent one geographical route.
111 QDeclarativeGeoRoute *QDeclarativeRouteMapItem::route() const in route() function in QDeclarativeRouteMapItem
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/maps/
H A Dqgeoroute.cpp60 \brief The QGeoRoute class represents a route between two points.
62 A QGeoRoute object contains high level information about a route, such
63 as the length the route, the estimated travel time for the route,
64 and enough information to render a basic image of the route on a map.
67 describe subsections of the route in greater detail.
78 Constructs a route object.
84 Constructs a route object using \a dd as private implementation.
104 Constructs a route object from the contents of \a other.
110 Destroys this route object.
117 Assigns the contents of \a other to this route and returns a reference to
[all …]
H A Dqgeorouterequest.cpp52 for basic route segment and navigation maneuvers describing the fastest
53 route by car which covers the given waypoints.
77 so you can route around various road restrictions and conditions which
95 Defines modes of travel to be used for a route.
98 The route will be optimized for someone who is driving a car.
100 The route will be optimized for someone who is walking.
102 The route will be optimized for someone who is riding a bicycle.
104 The route will be optimized for someone who is making use of public transit.
106 The route will be optimized for someone who is driving a truck.
112 Defines a feature which is important to the planning of a route.
[all …]
H A Dqgeoroutesegment.cpp57 \brief The QGeoRouteSegment class represents a segment of a route.
60 of the route segment, the length of the route and estimated time required
61 to traverse the route segment and an optional QGeoManeuver associated with
62 the beginning of the route segment.
70 Constructs an invalid route segment object.
72 The route segment will remain invalid until one of setNextRouteSegment(),
79 Constructs a route segment object from the contents of \a other.
99 Destroys this route segment object.
105 Assigns \a other to this route segment object and then returns a
106 reference to this route segment object.
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/
H A Daec_xml2json.cpp171 free(aec_json->LinearAeCtrl.Route.TimeDot); in CalibV2AecFree()
172 free(aec_json->LinearAeCtrl.Route.GainDot); in CalibV2AecFree()
173 free(aec_json->LinearAeCtrl.Route.IspDGainDot); in CalibV2AecFree()
174 free(aec_json->LinearAeCtrl.Route.PIrisDot); in CalibV2AecFree()
186 free(aec_json->HdrAeCtrl.Route.Frm0TimeDot); in CalibV2AecFree()
187 free(aec_json->HdrAeCtrl.Route.Frm0GainDot); in CalibV2AecFree()
188 free(aec_json->HdrAeCtrl.Route.Frm0IspDGainDot); in CalibV2AecFree()
189 free(aec_json->HdrAeCtrl.Route.Frm1TimeDot); in CalibV2AecFree()
190 free(aec_json->HdrAeCtrl.Route.Frm1GainDot); in CalibV2AecFree()
191 free(aec_json->HdrAeCtrl.Route.Frm1IspDGainDot); in CalibV2AecFree()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/comedi/drivers/
H A Dni_routes.h5 * Route information for NI boards.
35 * @dest: Destination of all sources in this route set.
36 * @n_src: Number of sources for this route set.
48 * @n_route_sets: Number of route sets that are valid for this device.
49 * @routes: List of route sets that are valid for this device.
59 * @valid_routes: Pointer to a all valid route sets for a single device.
83 * ni_find_route_set() - Finds the proper route set with the specified
85 * @destination: Destination of which to search for the route set.
104 * ni_route_to_register() - Validates and converts the specified signal route
107 * @src: global-identifier for route source
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/labs/
H A Dqmaprouteobject.cpp50 \brief The MapRouteObject displays a geographical route on a Map.
52 The MapRouteObject type displays a Route obtained through a RouteModel or
53 other means, on the Map as a Polyline following the path of the Route.
89 \qmlproperty Route Qt.labs.location::MapRouteObject::route
91 This property holds the route to be drawn.
93 QGeoRoute QMapRouteObjectPrivate::route() const in route() function in QMapRouteObjectPrivate
97 return r->route(); in route()
101 void QMapRouteObjectPrivate::setRoute(const QDeclarativeGeoRoute *route) in setRoute() argument
103 Q_UNUSED(route); in setRoute()
113 && route() == o.route()); // Could also be done shallow, comparing declarativeGeoRoute() in equals()
[all …]
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dxdp_router_ipv4_user.c119 /* Function to parse the route entry returned by netlink
120 * Updates the route entry related map entries
136 } route; in read_route() local
149 printf("DELETING Route entry\n"); in read_route()
151 printf("READING Route entry\n"); in read_route()
153 printf("NEW Route entry\n"); in read_route()
157 memset(&route, 0, sizeof(route)); in read_route()
190 route.dst = atoi(dsts); in read_route()
191 route.dst_len = atoi(dsts_len); in read_route()
192 route.gw = atoi(gws); in read_route()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ipa/
H A Dipa_table.c28 * DOC: IPA Filter and Route Tables
35 * Separate tables (both filter and route) used for IPv4 and IPv6. There
36 * are normally another set of "hashed" filter and route tables, which are
41 * an object (such as a route or filter table) in IPA-resident memory must
42 * 128-byte aligned. An object in system memory (such as a route or filter
44 * route or filter rules in system memory.
49 * filter or route table rules.
83 * The set of available route rules is divided about equally between the AP
84 * and modem. The AP initializes all entries in a route table to refer to
86 * updating their own entries. All entries in a route table are usable,
[all …]
/OK3568_Linux_fs/kernel/drivers/thunderbolt/
H A Dtest.c36 static struct tb_switch *alloc_switch(struct kunit *test, u64 route, in alloc_switch() argument
48 sw->config.depth = tb_route_length(route); in alloc_switch()
49 sw->config.route_hi = upper_32_bits(route); in alloc_switch()
50 sw->config.route_lo = lower_32_bits(route); in alloc_switch()
147 u64 route, bool bonded) in alloc_dev_default() argument
152 sw = alloc_switch(test, route, 1, 19); in alloc_dev_default()
256 port = tb_port_at(route, parent); in alloc_dev_default()
277 u64 route, bool bonded) in alloc_dev_with_dpin() argument
281 sw = alloc_dev_default(test, parent, route, bonded); in alloc_dev_with_dpin()
347 u64 route; member
[all …]
/OK3568_Linux_fs/kernel/net/ax25/
H A Dax25_route.c72 static int __must_check ax25_rt_add(struct ax25_routes_struct *route) in ax25_rt_add() argument
78 if (route->digi_count > AX25_MAX_DIGIS) in ax25_rt_add()
81 ax25_dev = ax25_addr_ax25dev(&route->port_addr); in ax25_rt_add()
89 if (ax25cmp(&ax25_rt->callsign, &route->dest_addr) == 0 && in ax25_rt_add()
93 if (route->digi_count != 0) { in ax25_rt_add()
100 ax25_rt->digipeat->ndigi = route->digi_count; in ax25_rt_add()
101 for (i = 0; i < route->digi_count; i++) { in ax25_rt_add()
103 ax25_rt->digipeat->calls[i] = route->digi_addr[i]; in ax25_rt_add()
120 ax25_rt->callsign = route->dest_addr; in ax25_rt_add()
124 if (route->digi_count != 0) { in ax25_rt_add()
[all …]

12345678910>>...62