Home
last modified time | relevance | path

Searched refs:netdev_idx (Results 1 – 10 of 10) sorted by relevance

/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/internet/test/
H A Dipv4-forwarding-test.cc132 uint32_t netdev_idx = ipv4->AddInterface (rxDev); in DoRun() local
134 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
135 ipv4->SetUp (netdev_idx); in DoRun()
148 uint32_t netdev_idx = ipv4->AddInterface (fwDev1); in DoRun() local
150 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
151 ipv4->SetUp (netdev_idx); in DoRun()
161 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
162 ipv4->SetUp (netdev_idx); in DoRun()
175 uint32_t netdev_idx = ipv4->AddInterface (txDev); in DoRun() local
177 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
[all …]
H A Dipv4-raw-test.cc227 uint32_t netdev_idx; in DoRun() local
232 netdev_idx = ipv4->AddInterface (net1.Get (0)); in DoRun()
234 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
235 ipv4->SetUp (netdev_idx); in DoRun()
237 netdev_idx = ipv4->AddInterface (net2.Get (0)); in DoRun()
239 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
240 ipv4->SetUp (netdev_idx); in DoRun()
246 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
247 ipv4->SetUp (netdev_idx); in DoRun()
251 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
[all …]
H A Dudp-test.cc339 uint32_t netdev_idx; in DoRun() local
344 netdev_idx = ipv4->AddInterface (net1.Get (0)); in DoRun()
346 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
347 ipv4->SetUp (netdev_idx); in DoRun()
349 netdev_idx = ipv4->AddInterface (net2.Get (0)); in DoRun()
351 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
352 ipv4->SetUp (netdev_idx); in DoRun()
358 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
359 ipv4->SetUp (netdev_idx); in DoRun()
363 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
[all …]
H A Dipv4-header-test.cc170 uint32_t netdev_idx = ipv4->AddInterface (rxDev1); in DoRun() local
172 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
173 ipv4->SetUp (netdev_idx); in DoRun()
185 uint32_t netdev_idx = ipv4->AddInterface (txDev1); in DoRun() local
187 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
188 ipv4->SetUp (netdev_idx); in DoRun()
H A Dipv4-fragmentation-test.cc360 uint32_t netdev_idx; in DoRun() local
365 netdev_idx = ipv4->AddInterface (net.Get (0)); in DoRun()
367 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
368 ipv4->SetUp (netdev_idx); in DoRun()
378 netdev_idx = ipv4->AddInterface (net.Get (1)); in DoRun()
380 ipv4->AddAddress (netdev_idx, ipv4Addr); in DoRun()
381 ipv4->SetUp (netdev_idx); in DoRun()
H A Dipv6-fragmentation-test.cc344 uint32_t netdev_idx = ipv6->AddInterface (serverDev); in DoRun() local
346 ipv6->AddAddress (netdev_idx, ipv6Addr); in DoRun()
347 ipv6->SetUp (netdev_idx); in DoRun()
364 uint32_t netdev_idx = ipv6->AddInterface (clientDev); in DoRun() local
366 ipv6->AddAddress (netdev_idx, ipv6Addr); in DoRun()
367 ipv6->SetUp (netdev_idx); in DoRun()
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/sixlowpan/test/
H A Dsixlowpan-iphc-test.cc158 uint32_t netdev_idx = ipv6->AddInterface (rxSix); in DoRun() local
160 ipv6->AddAddress (netdev_idx, ipv6Addr); in DoRun()
161 ipv6->SetUp (netdev_idx); in DoRun()
180 uint32_t netdev_idx = ipv6->AddInterface (txSix); in DoRun() local
182 ipv6->AddAddress (netdev_idx, ipv6Addr); in DoRun()
183 ipv6->SetUp (netdev_idx); in DoRun()
H A Dsixlowpan-hc1-test.cc153 uint32_t netdev_idx = ipv6->AddInterface (rxSix); in DoRun() local
155 ipv6->AddAddress (netdev_idx, ipv6Addr); in DoRun()
156 ipv6->SetUp (netdev_idx); in DoRun()
176 uint32_t netdev_idx = ipv6->AddInterface (txSix); in DoRun() local
178 ipv6->AddAddress (netdev_idx, ipv6Addr); in DoRun()
179 ipv6->SetUp (netdev_idx); in DoRun()
H A Dsixlowpan-fragmentation-test.cc293 uint32_t netdev_idx = ipv6->AddInterface (serverSix); in DoRun() local
295 ipv6->AddAddress (netdev_idx, ipv6Addr); in DoRun()
296 ipv6->SetUp (netdev_idx); in DoRun()
324 uint32_t netdev_idx = ipv6->AddInterface (clientSix); in DoRun() local
326 ipv6->AddAddress (netdev_idx, ipv6Addr); in DoRun()
327 ipv6->SetUp (netdev_idx); in DoRun()
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/click/test/
H A Dipv4-click-routing-test.cc53 uint32_t netdev_idx = ipv4->AddInterface (rxDev1); in AddNetworkDevice() local
55 ipv4->AddAddress (netdev_idx, ipv4Addr); in AddNetworkDevice()
56 ipv4->SetUp (netdev_idx); in AddNetworkDevice()