Searched refs:nexthop (Results 1 – 25 of 69) sorted by relevance
123
22 struct nexthop;53 struct nexthop *nh_parent;67 struct nexthop *nh;72 struct nexthop *nh_parent; /* nexthop of group with this entry */84 struct nexthop { struct115 struct nexthop *nexthop_find_by_id(struct net *net, u32 id);118 static inline bool nexthop_get(struct nexthop *nh) in nexthop_get()123 static inline void nexthop_put(struct nexthop *nh) in nexthop_put()129 static inline bool nexthop_cmp(const struct nexthop *nh1, in nexthop_cmp()130 const struct nexthop *nh2) in nexthop_cmp()[all …]
19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.120 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::146 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.147 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::198 ip nexthop del id 10399 ip nexthop del id 101100 ip nexthop del id 102101 ip nexthop del id 106102 ip nexthop del id 104103 ip nexthop del id 105[all …]
19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.120 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::146 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.147 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::184 nexthop via 169.254.2.22 dev $rp12 \85 nexthop via 169.254.3.23 dev $rp1387 nexthop via fe80:2::22 dev $rp12 \88 nexthop via fe80:3::23 dev $rp13134 nexthop via 169.254.2.12 dev $rp22 \135 nexthop via 169.254.3.13 dev $rp23[all …]
491 nexthop via 2001:db8:1::2 dev dummy1 \492 nexthop via 2001:db8:2::2 dev dummy2497 nexthop via 2001:db8:1::2 dev dummy1 \498 nexthop via 2001:db8:2::2 dev dummy2503 nexthop via 2001:db8:1::2 dev dummy1 \504 nexthop via 2001:db8:2::2 dev dummy2531 nexthop via 2001:db8:1::2 dev dummy1536 nexthop via 2001:db8:2::2 dev dummy2 \537 nexthop via 2001:db8:3::2 dev dummy3542 nexthop via 2001:db8:1::2 dev dummy1[all …]
103 ip route add vrf v$ol1 192.0.4.0/24 nexthop dev g1127 nexthop via 192.0.2.146 \128 nexthop via 192.0.2.162151 nexthop via 192.0.2.145 \152 nexthop via 192.0.2.161183 ip route add vrf v$ol4 192.0.3.0/24 nexthop dev g2262 nexthop via 192.0.2.146 weight $weight1 \263 nexthop via 192.0.2.162 weight $weight2281 nexthop via 192.0.2.146 \282 nexthop via 192.0.2.162
102 ip route add vrf v$ol1 192.0.4.0/24 nexthop dev g1126 nexthop via 2001:db8:81::2 \127 nexthop via 2001:db8:82::2150 nexthop via 2001:db8:81::1 \151 nexthop via 2001:db8:82::1182 ip route add vrf v$ol4 192.0.3.0/24 nexthop dev g2261 nexthop via 2001:db8:81::2 weight $weight1 \262 nexthop via 2001:db8:82::2 weight $weight2280 nexthop via 2001:db8:81::2 \281 nexthop via 2001:db8:82::2
94 nexthop dev g1a \95 nexthop dev g1b132 nexthop dev g2a \133 nexthop dev g2b215 nexthop dev g1a weight $weight1 \216 nexthop dev g1b weight $weight2233 nexthop dev g1a \234 nexthop dev g1b
127 nexthop via 192.0.2.146 \128 nexthop via 192.0.2.162151 nexthop via 192.0.2.145 \152 nexthop via 192.0.2.161262 nexthop via 192.0.2.146 weight $weight1 \263 nexthop via 192.0.2.162 weight $weight2282 nexthop via 192.0.2.146 \283 nexthop via 192.0.2.162
126 nexthop via 2001:db8:81::2 \127 nexthop via 2001:db8:82::2150 nexthop via 2001:db8:81::1 \151 nexthop via 2001:db8:82::1261 nexthop via 2001:db8:81::2 weight $weight1 \262 nexthop via 2001:db8:82::2 weight $weight2281 nexthop via 2001:db8:81::2 \282 nexthop via 2001:db8:82::2
13 ip route add 192.0.2.0/24 vrf v$h1 nexthop via 192.0.1.214 ip route add 192.0.3.0/24 vrf v$h1 nexthop via 192.0.1.229 ip route add 192.0.1.0/24 vrf v$h2 nexthop via 192.0.2.230 ip route add 192.0.3.0/24 vrf v$h2 nexthop via 192.0.2.245 ip route add 192.0.1.0/24 vrf v$h3 nexthop via 192.0.3.246 ip route add 192.0.2.0/24 vrf v$h3 nexthop via 192.0.3.2
44 ip route add 198.51.100.16/28 vrf v$h1 nexthop via 198.51.100.145 ip route add 198.51.100.32/28 vrf v$h1 nexthop via 198.51.100.147 ip route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::148 ip route add 2001:db8:3::/64 vrf v$h1 nexthop via 2001:db8:1::170 ip route add 198.51.100.0/28 vrf v$h2 nexthop via 198.51.100.1771 ip route add 198.51.100.32/28 vrf v$h2 nexthop via 198.51.100.1773 ip route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::174 ip route add 2001:db8:3::/64 vrf v$h2 nexthop via 2001:db8:2::196 ip route add 198.51.100.0/28 vrf v$h3 nexthop via 198.51.100.3397 ip route add 198.51.100.16/28 vrf v$h3 nexthop via 198.51.100.33[all …]
14 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.215 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::228 ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.12929 ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1
16 ip -4 route add 192.0.2.128/28 vrf v$h1 nexthop via 192.0.2.217 ip -6 route add 2001:db8:2::/64 vrf v$h1 nexthop via 2001:db8:1::231 ip -4 route add 192.0.2.0/28 vrf v$h2 nexthop via 192.0.2.12932 ip -6 route add 2001:db8:1::/64 vrf v$h2 nexthop via 2001:db8:2::1
18 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.119 ip route add 198.51.200.0/24 vrf vrf-h1 nexthop via 192.0.2.143 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.144 ip route add 198.51.200.0/24 vrf vrf-h2 nexthop via 198.51.100.168 ip route add 192.0.2.0/24 vrf vrf-h3 nexthop via 198.51.200.169 ip route add 198.51.100.0/24 vrf vrf-h3 nexthop via 198.51.200.1
16 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.117 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::140 ip route add 192.0.2.0/24 vrf vrf-h2 nexthop via 198.51.100.141 ip route add 2001:db8:1::/64 vrf vrf-h2 nexthop via 2001:db8:2::1
129 ip route add default vrf $vrf_name nexthop via $gw_ip140 ip route del default vrf $vrf_name nexthop via $gw_ip179 ip route add 10.0.0.2/32 nexthop via 192.0.2.2293 ip route del 10.0.0.2/32 nexthop via 192.0.2.2313 ip route add 10.0.0.1/32 vrf vrf-spine nexthop via 192.0.2.1314 ip route add 10.0.0.2/32 vrf vrf-spine nexthop via 192.0.3.1319 ip route del 10.0.0.2/32 vrf vrf-spine nexthop via 192.0.3.1320 ip route del 10.0.0.1/32 vrf vrf-spine nexthop via 192.0.2.1350 ip route add 10.0.0.1/32 nexthop via 192.0.3.2487 ip route add $host1_ip/32 vrf vrf-green nexthop via $vtep_ip \[all …]
118 nexthop via 2001:db8:1::2 dev $spine_p1 \119 nexthop via 2001:db8:2::2 dev $spine_p2125 nexthop via 2001:db8:1::3 dev $spine_p1133 nexthop via 2001:db8:1::2 dev $spine_p1 \134 nexthop via 2001:db8:2::2 dev $spine_p2141 nexthop via 2001:db8:1::3 dev $spine_p1150 nexthop via 2001:db8:1::3 dev $spine_p1183 nexthop via 2001:db8:1::2 dev $spine_p1 \184 nexthop via 2001:db8:2::2 dev $spine_p2198 nexthop via 2001:db8:1::3 dev $spine_p1 \[all …]
56 ip -4 route add default vrf v$h1 nexthop via 192.0.2.257 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::262 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::263 ip -4 route del default vrf v$h1 nexthop via 192.0.2.272 ip -4 route add default vrf v$h2 nexthop via 198.51.100.273 ip -6 route add default vrf v$h2 nexthop via 2001:db8:2::278 ip -6 route del default vrf v$h2 nexthop via 2001:db8:2::279 ip -4 route del default vrf v$h2 nexthop via 198.51.100.2
65 ip -4 route add default vrf v$h1 nexthop via 192.0.2.266 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::275 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::276 ip -4 route del default vrf v$h1 nexthop via 192.0.2.285 ip -4 route add default vrf v$h2 nexthop via 198.51.100.286 ip -6 route add default vrf v$h2 nexthop via 2001:db8:2::291 ip -6 route del default vrf v$h2 nexthop via 2001:db8:2::292 ip -4 route del default vrf v$h2 nexthop via 198.51.100.2
66 ip -4 route add default vrf v$h1 nexthop via 192.0.2.267 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::272 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::273 ip -4 route del default vrf v$h1 nexthop via 192.0.2.282 ip -4 route add default vrf v$h2 nexthop via 198.51.100.283 ip -6 route add default vrf v$h2 nexthop via 2001:db8:2::288 ip -6 route del default vrf v$h2 nexthop via 2001:db8:2::289 ip -4 route del default vrf v$h2 nexthop via 198.51.100.2
95 ip -4 route add default vrf v$h1 nexthop via 192.0.2.296 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2101 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2102 ip -4 route del default vrf v$h1 nexthop via 192.0.2.2111 ip -4 route add default vrf v$h2 nexthop via 198.51.100.2112 ip -6 route add default vrf v$h2 nexthop via 2001:db8:2::2117 ip -6 route del default vrf v$h2 nexthop via 2001:db8:2::2118 ip -4 route del default vrf v$h2 nexthop via 198.51.100.2
19 static void remove_nexthop(struct net *net, struct nexthop *nh,41 struct nexthop *nh) in call_nexthop_notifiers()45 err = blocking_notifier_call_chain(&net->nexthop.notifier_chain, in call_nexthop_notifiers()68 head = &net->nexthop.devhash[hash]; in nexthop_devhash_add()72 static void nexthop_free_mpath(struct nexthop *nh) in nexthop_free_mpath()91 static void nexthop_free_single(struct nexthop *nh) in nexthop_free_single()109 struct nexthop *nh = container_of(head, struct nexthop, rcu); in nexthop_free_rcu()120 static struct nexthop *nexthop_alloc(void) in nexthop_alloc()122 struct nexthop *nh; in nexthop_alloc()124 nh = kzalloc(sizeof(struct nexthop), GFP_KERNEL); in nexthop_alloc()[all …]
230 out=$($IP nexthop ls ${nharg} 2>/dev/null)340 $IP nexthop help 2>&1 | grep -q fdb585 $IP nexthop flush >/dev/null 2>&1625 $IP nexthop flush >/dev/null 2>&1786 $IP nexthop flush >/dev/null 2>&1795 $IP nexthop flush >/dev/null 2>&1824 $IP nexthop flush >/dev/null 2>&1830 $IP nexthop del id 100831 $IP nexthop add id 100 via 2001:db8:91::2 dev veth1838 $IP nexthop replace id 102 group 100/101[all …]
340 run_cmd ip -netns r1 nexthop replace id 1 via ${R2_N1_IP} dev eth0341 run_cmd ip -netns r1 nexthop replace id 2 via ${R2_LLADDR} dev eth0346 run_cmd ip -netns r1 nexthop flush347 run_cmd ip -netns h1 nexthop flush355 run_cmd ip -netns r1 nexthop add id 1 via ${R2_R1_N1_IP} dev eth1358 run_cmd ip -netns r1 nexthop add id 2 via ${R2_R1_N1_IP6} dev eth1362 run_cmd ip -netns h1 nexthop add id 1 via ${R1_N1_IP} dev br0365 run_cmd ip -netns h1 nexthop add id 2 via ${R1_LLADDR} dev br0519 ip nexthop ls >/dev/null 2>&1